All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.d5f85445-53.a49ba8ace624afae35ed.js.map Maven / Gradle / Ivy

There is a newer version: 6.0.6
Show newest version
{"version":3,"sources":["webpack:///./src/components/support/SmallSupportLink.jsx","webpack:///./src/components/support/index.jsx","webpack:///./src/components/indexers/IndexerClusterHealth.jsx","webpack:///./src/components/indexers/IndexerClusterHealthSummary.jsx","webpack:///./src/components/indexers/IndexerFailure.jsx","webpack:///./src/components/indexers/IndexerFailuresComponent.jsx","webpack:///./src/components/indexers/IndexerFailuresList.jsx","webpack:///./src/components/indexers/index.jsx","webpack:///./src/pages/IndexerFailuresPage.jsx"],"names":["IconStack","styled","span","SmallSupportLink","className","name","inverse","this","props","children","React","Component","PropTypes","node","isRequired","IndexerClusterStore","StoreProvider","getStore","IndexerClusterHealth","createReactClass","displayName","mixins","Reflux","connect","componentDidMount","update","render","content","health","state","md","page","DocsHelper","PAGES","CONFIGURING_ES","text","ESClusterStatus","Alert","IndexerClusterHealthSummary","status","bsStyle","_alertClassForHealth","_iconNameForHealth","_formatTextForHealth","shards","active","initializing","relocating","unassigned","CLUSTER_STATUS_EXPLAINED","object","IndexerFailure","failure","title","timestamp","dateTime","relative","index","letter_id","message","IndexerFailuresStore","IndexerFailuresComponent","total","_iconForFailureCount","_formatTextForFailureCount","to","Routes","SYSTEM","INDICES","FAILURES","bsSize","count","numeral","format","since","moment","subtract","then","response","setState","undefined","_formatFailuresSummary","INDEXER_FAILURES","IndexerFailuresList","failures","length","striped","hover","condensed","style","width","map","key","arrayOf","IndexerFailuresPage","size","list","loadData","defaultPageSize","totalItems","onChange","_onChangePaginatedList","pageSize"],"mappings":"snCAMA,I,MAAMA,EAAYC,UAAOC,KAAV,iFAAGD,CAAH,kDAMTE,E,owBAMF,OACE,uBAAGC,UAAU,wBACX,kBAACJ,EAAD,CAAWI,UAAU,YACnB,kBAAC,IAAD,CAAMC,KAAK,SAASD,UAAU,gBAC9B,kBAAC,IAAD,CAAMC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BW,MAAMI,MAASC,SAAS,GAAI,UAAUC,MAAK,SAACC,GAC/D,EAAKC,SAAS,CAAEjB,MAAOgB,EAASP,WAElChE,KAAK0F,SAAS,EAAG1F,KAAK2F,mB,+BAgBtB,YAAyBlB,IAArBzE,KAAKsB,MAAMiC,OAAwBvD,KAAKsB,MAAMuD,SAIhD,kBAAC,IAAD,CAAe/B,MAAM,oBACnB,8BACE,kBAAC,IAAD,CAAYA,MAAM,oBAChB,6IAC+G,IAD/G,gHAEgH,IAFhH,iGAMA,kEACoCmB,IAAQjE,KAAKsB,MAAMiC,OAAOW,OAAO,OADrE,wDAEoB,kBAAC,IAAD,CAAmB1C,KAAMC,IAAWC,MAAMiD,iBAAkB/C,KAAK,kBAFrF,MAKF,kBAAC,IAAD,CAAK/B,UAAU,WACb,kBAAC,IAAD,CAAK0B,GAAI,IACP,kBAAC,IAAD,CAAeqE,WAAY5F,KAAKsB,MAAMiC,MAAOsC,SAAU7F,KAAK8F,uBAAwBC,SAAU/F,KAAK2F,iBACjG,kBAAC,IAAD,CAAqBd,SAAU7E,KAAKsB,MAAMuD,gBApB7C,kBAAC,IAAD,W,8BAxBqB1E,IAAMC,WAsDzBmF","file":"d5f85445-53.a49ba8ace624afae35ed.js","sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\nimport styled from 'styled-components';\n\nimport { Icon } from 'components/common';\n\nconst IconStack = styled.span`\n  margin-right: 1px;\n  position: relative;\n  top: -1px;\n`;\n\nclass SmallSupportLink extends React.Component {\n  static propTypes = {\n    children: PropTypes.node.isRequired,\n  };\n\n  render() {\n    return (\n      

\n \n \n \n \n \n {this.props.children}\n \n

\n );\n }\n}\n\nexport default SmallSupportLink;\n","export { default as ContactUs } from './ContactUs';\nexport { default as DocumentationLink } from './DocumentationLink';\nexport { default as SmallSupportLink } from './SmallSupportLink';\nexport { default as SupportLink } from './SupportLink';\n","import React from 'react';\nimport createReactClass from 'create-react-class';\nimport Reflux from 'reflux';\nimport { Row, Col } from 'components/graylog';\n\nimport StoreProvider from 'injection/StoreProvider';\n\nimport { Spinner } from 'components/common';\nimport { DocumentationLink, SmallSupportLink } from 'components/support';\nimport DocsHelper from 'util/DocsHelper';\nimport { IndexerClusterHealthSummary } from 'components/indexers';\n\nconst IndexerClusterStore = StoreProvider.getStore('IndexerCluster');\n\nconst IndexerClusterHealth = createReactClass({\n displayName: 'IndexerClusterHealth',\n mixins: [Reflux.connect(IndexerClusterStore)],\n\n componentDidMount() {\n IndexerClusterStore.update();\n },\n\n render() {\n const { health } = this.state;\n\n let content;\n if (health) {\n content = ;\n } else {\n content = ;\n }\n\n return (\n \n \n

Elasticsearch cluster

\n\n \n The possible Elasticsearch cluster states and more related information is available in the{' '}\n .\n \n\n {content}\n \n
\n );\n },\n});\n\nexport default IndexerClusterHealth;\n","import PropTypes from 'prop-types';\nimport React from 'react';\nimport styled from 'styled-components';\n\nimport { Alert } from 'components/graylog';\nimport { Icon } from 'components/common';\nimport { DocumentationLink } from 'components/support';\nimport DocsHelper from 'util/DocsHelper';\n\nconst ESClusterStatus = styled(Alert)`\n margin-top: 10px;\n margin-bottom: 5px;\n`;\n\nclass IndexerClusterHealthSummary extends React.Component {\n static propTypes = {\n health: PropTypes.object.isRequired,\n };\n\n _alertClassForHealth = (health) => {\n switch (health.status) {\n case 'green': return 'success';\n case 'yellow': return 'warning';\n case 'red': return 'danger';\n default: return 'success';\n }\n };\n\n _formatTextForHealth = (health) => {\n const text = `Elasticsearch cluster is ${health.status}.`;\n switch (health.status) {\n case 'green': return text;\n case 'yellow':\n case 'red': return {text};\n default: return text;\n }\n };\n\n _iconNameForHealth = (health) => {\n switch (health.status) {\n case 'green': return 'check-circle';\n case 'yellow': return 'warning';\n case 'red': return 'ambulance';\n default: return 'check-circle';\n }\n };\n\n render() {\n const { health } = this.props;\n return (\n \n  {this._formatTextForHealth(health)}{' '}\n Shards:{' '}\n {health.shards.active} active,{' '}\n {health.shards.initializing} initializing,{' '}\n {health.shards.relocating} relocating,{' '}\n {health.shards.unassigned} unassigned,{' '}\n \n \n );\n }\n}\n\nexport default IndexerClusterHealthSummary;\n","import PropTypes from 'prop-types';\nimport React from 'react';\nimport { Timestamp } from 'components/common';\n\nclass IndexerFailure extends React.Component {\n static propTypes = {\n failure: PropTypes.object.isRequired,\n };\n\n render() {\n const { failure } = this.props;\n return (\n \n \n {failure.index}\n {failure.letter_id}\n {failure.message}\n \n );\n }\n}\n\nexport default IndexerFailure;\n","import React from 'react';\nimport { LinkContainer } from 'react-router-bootstrap';\nimport numeral from 'numeral';\nimport moment from 'moment';\n\nimport { Alert, Col, Row, Button } from 'components/graylog';\nimport { Icon, Spinner } from 'components/common';\nimport StoreProvider from 'injection/StoreProvider';\nimport DocsHelper from 'util/DocsHelper';\nimport Routes from 'routing/Routes';\n\nimport { SmallSupportLink, DocumentationLink } from 'components/support';\n\nconst IndexerFailuresStore = StoreProvider.getStore('IndexerFailures');\n\nclass IndexerFailuresComponent extends React.Component {\n state = {};\n\n componentDidMount() {\n const since = moment().subtract(24, 'hours');\n\n IndexerFailuresStore.count(since).then((response) => {\n this.setState({ total: response.count });\n });\n }\n\n _formatFailuresSummary = () => {\n return (\n \n {this._formatTextForFailureCount(this.state.total)}\n\n \n \n \n \n );\n };\n\n _formatTextForFailureCount = (count) => {\n if (count === 0) {\n return 'No failed indexing attempts in the last 24 hours.';\n }\n return There were {numeral(count).format('0,0')} failed indexing attempts in the last 24 hours.;\n };\n\n _iconForFailureCount = (count) => {\n if (count === 0) {\n return 'check-circle';\n }\n return 'ambulance';\n };\n\n render() {\n let content;\n if (this.state.total === undefined) {\n content = ;\n } else {\n content = this._formatFailuresSummary();\n }\n\n return (\n \n \n

Indexer failures

\n\n \n Every message that was not successfully indexed will be logged as an indexer failure. You can learn more about this feature in the{' '}\n .\n \n\n {content}\n \n
\n );\n }\n}\n\nexport default IndexerFailuresComponent;\n","import PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { Alert, Table } from 'components/graylog';\nimport { Icon } from 'components/common';\nimport { IndexerFailure } from 'components/indexers';\n\nclass IndexerFailuresList extends React.Component {\n static propTypes = {\n failures: PropTypes.arrayOf(PropTypes.object).isRequired,\n };\n\n render() {\n if (this.props.failures.length === 0) {\n return (\n Hurray! There are not any indexer failures.\n );\n }\n\n return (\n
\n \n \n \n \n \n \n \n \n \n \n {this.props.failures.map((failure) => )}\n \n
TimestampIndexLetter IDError message
\n
\n );\n }\n}\n\nexport default IndexerFailuresList;\n","export { default as IndexerClusterHealth } from './IndexerClusterHealth';\nexport { default as IndexerClusterHealthSummary } from './IndexerClusterHealthSummary';\nexport { default as IndexerFailure } from './IndexerFailure';\nexport { default as IndexerFailuresComponent } from './IndexerFailuresComponent';\nexport { default as IndexerFailuresList } from './IndexerFailuresList';\n","import React from 'react';\nimport { Col, Row } from 'components/graylog';\nimport numeral from 'numeral';\nimport moment from 'moment';\n\nimport StoreProvider from 'injection/StoreProvider';\n\nimport DocsHelper from 'util/DocsHelper';\n\nimport { DocumentTitle, Spinner, PageHeader, PaginatedList } from 'components/common';\nimport { DocumentationLink } from 'components/support';\nimport { IndexerFailuresList } from 'components/indexers';\n\nconst IndexerFailuresStore = StoreProvider.getStore('IndexerFailures');\n\nclass IndexerFailuresPage extends React.Component {\n state = {};\n\n componentDidMount() {\n IndexerFailuresStore.count(moment().subtract(10, 'years')).then((response) => {\n this.setState({ total: response.count });\n });\n this.loadData(1, this.defaultPageSize);\n }\n\n defaultPageSize = 50;\n\n loadData = (page, size) => {\n IndexerFailuresStore.list(size, (page - 1) * size).then((response) => {\n this.setState({ failures: response.failures });\n });\n };\n\n _onChangePaginatedList = (page, size) => {\n this.loadData(page, size);\n };\n\n render() {\n if (this.state.total === undefined || !this.state.failures) {\n return ;\n }\n return (\n \n \n \n \n This is a list of message index attempts that failed. A failure means that a message you sent to Graylog was{' '}\n properly processed but writing it to the Elasticsearch cluster failed. Note that the list is capped to a size{' '}\n of 50 MB so it will contain a lot of failure logs but not necessarily all that ever occurred.\n \n\n \n Collection containing a total of {numeral(this.state.total).format('0,0')} indexer failures. Read more about\n this topic in the .\n \n \n \n \n \n \n \n \n \n \n \n );\n }\n}\n\nexport default IndexerFailuresPage;\n"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy