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

web-interface.assets.325e2d4b-3668.4fc1dd8f5f86031848c8.js.map Maven / Gradle / Ivy

There is a newer version: 6.0.5
Show newest version
{"version":3,"file":"325e2d4b-3668.4fc1dd8f5f86031848c8.js","mappings":"0XA2BA,MAoEA,EApEuBA,IAAiB,CACtCC,YAAa,iBAEbC,UAAW,CACTC,OAAQC,IAAAA,OAAAA,WACRC,WAAYD,IAAAA,MAGdE,OAAQ,CAACC,IAAAA,QAAeC,EAAAA,IAExBC,gBAAe,KACN,CACLJ,YAAY,IAIhBK,4BACEC,KAAKC,YAAc,CACjBC,QAAS,2CACTC,SAAU,6CAGZC,OAAOC,KAAKL,KAAKC,aAAaK,SAASC,GAAoBC,EAAAA,EAAAA,IAAmBR,KAAKS,MAAMjB,OAAQQ,KAAKC,YAAYM,KACnH,EAEDG,uBACEN,OAAOC,KAAKL,KAAKC,aAAaK,SAASC,GAAoBC,EAAAA,EAAAA,OAAsBR,KAAKS,MAAMjB,OAAQQ,KAAKC,YAAYM,KACtH,EAEDI,aACE,OAAQX,KAAKY,MAAMC,OACpB,EAEDC,kBAAkBD,GAChB,OAAIb,KAAKS,MAAMf,WAEX,0CACa,8BAASqB,IAAQF,EAAQX,SAASc,OAAO,QADtD,iBACoF,8BAC/ED,IAAQF,EAAQV,UAAUa,OAAO,QAFtC,oBASF,kCACMD,IAAQF,EAAQX,SAASc,OAAO,OADtC,UACqDD,IAAQF,EAAQV,UAAUa,OAAO,OADtF,UAIH,EAEDC,SACE,GAAIjB,KAAKW,aACP,OAAO,gBAAC,KAAD,CAASO,KAAK,0BAGvB,MAAM,OAAE1B,GAAWQ,KAAKS,MAClBU,EAAcnB,KAAKY,MAAMC,QAAQrB,GACjCqB,EAAUO,EAAAA,EAAAA,iBAAkCD,EAAanB,KAAKC,aAEpE,OAAoC,IAAhCG,OAAOC,KAAKQ,GAASQ,OACf,0DAGHrB,KAAKc,kBAAkBD,EAC/B,I,qPC/DH,MAAMS,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UjK,cACxD+K,MACC,KACEvK,KAAKwQ,QAAQ,CAAC,GACdxG,EAAAA,EAAAA,QAA0B,+CAA8CxK,KAAxE,IAEDuK,IACCC,EAAAA,EAAAA,MAAwB,mCAAkCxK,cAAmBuK,IAC1E,gDAA+CvK,KADlD,GAIP,K","sources":["webpack://graylog-web-interface/./src/components/throughput/NodeThroughput.jsx","webpack://graylog-web-interface/./src/components/nodes/NodesActions.jsx","webpack://graylog-web-interface/./src/components/nodes/SystemOverviewSummary.jsx","webpack://graylog-web-interface/./src/components/nodes/JvmHeapUsage.jsx","webpack://graylog-web-interface/./src/components/nodes/JournalState.jsx","webpack://graylog-web-interface/./src/components/nodes/NodeListItem.jsx","webpack://graylog-web-interface/./src/components/nodes/NodesList.jsx","webpack://graylog-web-interface/./src/components/nodes/NodeMaintenanceDropdown.jsx","webpack://graylog-web-interface/./src/components/nodes/BufferUsage.tsx","webpack://graylog-web-interface/./src/components/nodes/SystemOverviewDetails.jsx","webpack://graylog-web-interface/./src/stores/journal/JournalStore.js","webpack://graylog-web-interface/./src/components/nodes/JournalDetails.jsx","webpack://graylog-web-interface/./src/components/nodes/SystemInformation.jsx","webpack://graylog-web-interface/./src/components/nodes/RestApiOverview.jsx","webpack://graylog-web-interface/./src/components/nodes/PluginsDataTable.jsx","webpack://graylog-web-interface/./src/components/nodes/InputTypesDataTable.jsx","webpack://graylog-web-interface/./src/components/nodes/NodeOverview.jsx","webpack://graylog-web-interface/./src/components/support/SupportLink.tsx","webpack://graylog-web-interface/./src/components/support/SmallSupportLink.tsx","webpack://graylog-web-interface/./src/logic/metrics/MetricsExtractor.ts","webpack://graylog-web-interface/./src/stores/cluster/ClusterOverviewStore.js","webpack://graylog-web-interface/./src/stores/load-balancer/SystemLoadBalancerStore.js","webpack://graylog-web-interface/./src/stores/system-processing/SystemProcessingStore.js"],"sourcesContent":["/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport createReactClass from 'create-react-class';\nimport Reflux from 'reflux';\nimport numeral from 'numeral';\n\nimport { Spinner } from 'components/common';\nimport MetricsExtractor from 'logic/metrics/MetricsExtractor';\nimport { MetricsActions, MetricsStore } from 'stores/metrics/MetricsStore';\n\n// TODO this is a copy of GlobalTroughput, it just renders differently and only targets a single node.\nconst NodeThroughput = createReactClass({\n  displayName: 'NodeThroughput',\n\n  propTypes: {\n    nodeId: PropTypes.string.isRequired,\n    longFormat: PropTypes.bool,\n  },\n\n  mixins: [Reflux.connect(MetricsStore)],\n\n  getDefaultProps() {\n    return {\n      longFormat: false,\n    };\n  },\n\n  UNSAFE_componentWillMount() {\n    this.metricNames = {\n      totalIn: 'org.graylog2.throughput.input.1-sec-rate',\n      totalOut: 'org.graylog2.throughput.output.1-sec-rate',\n    };\n\n    Object.keys(this.metricNames).forEach((metricShortName) => MetricsActions.add(this.props.nodeId, this.metricNames[metricShortName]));\n  },\n\n  componentWillUnmount() {\n    Object.keys(this.metricNames).forEach((metricShortName) => MetricsActions.remove(this.props.nodeId, this.metricNames[metricShortName]));\n  },\n\n  _isLoading() {\n    return !this.state.metrics;\n  },\n\n  _formatThroughput(metrics) {\n    if (this.props.longFormat) {\n      return (\n        \n          Processing {numeral(metrics.totalIn).format('0,0')} incoming and \n            {numeral(metrics.totalOut).format('0,0')}\n                                                                                             outgoing msg/s.\n        \n      );\n    }\n\n    return (\n      \n        In {numeral(metrics.totalIn).format('0,0')} / Out {numeral(metrics.totalOut).format('0,0')} msg/s.\n      \n    );\n  },\n\n  render() {\n    if (this._isLoading()) {\n      return ;\n    }\n\n    const { nodeId } = this.props;\n    const nodeMetrics = this.state.metrics[nodeId];\n    const metrics = MetricsExtractor.getValuesForNode(nodeMetrics, this.metricNames);\n\n    if (Object.keys(metrics).length === 0) {\n      return (Unable to load throughput.);\n    }\n\n    return this._formatThroughput(metrics);\n  },\n});\n\nexport default NodeThroughput;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport URI from 'urijs';\n\nimport ButtonToolbar from 'components/bootstrap/ButtonToolbar';\nimport { LinkContainer } from 'components/common/router';\nimport { DropdownSubmenu, ExternalLinkButton, IfPermitted } from 'components/common';\nimport { Button, DropdownButton, MenuItem } from 'components/bootstrap';\nimport Routes from 'routing/Routes';\nimport HideOnCloud from 'util/conditional/HideOnCloud';\nimport { SystemLoadBalancerStore } from 'stores/load-balancer/SystemLoadBalancerStore';\nimport { SystemProcessingStore } from 'stores/system-processing/SystemProcessingStore';\n\nclass NodesActions extends React.Component {\n  static propTypes = {\n    node: PropTypes.object.isRequired,\n    systemOverview: PropTypes.object.isRequired,\n  };\n\n  _toggleMessageProcessing = () => {\n    const { systemOverview, node } = this.props;\n\n    // eslint-disable-next-line no-alert\n    if (window.confirm(`You are about to ${systemOverview.is_processing ? 'pause' : 'resume'} message processing in this node. Are you sure?`)) {\n      if (systemOverview.is_processing) {\n        SystemProcessingStore.pause(node.node_id);\n      } else {\n        SystemProcessingStore.resume(node.node_id);\n      }\n    }\n  };\n\n  _changeLBStatus = (status) => {\n    return () => {\n      // eslint-disable-next-line no-alert\n      if (window.confirm(`You are about to change the load balancer status for this node to ${status}. Are you sure?`)) {\n        const { node } = this.props;\n        SystemLoadBalancerStore.override(node.node_id, status);\n      }\n    };\n  };\n\n  render() {\n    const { systemOverview, node } = this.props;\n    const apiBrowserURI = new URI(`${node.transport_address}/api-browser/`).normalizePathname().toString();\n\n    return (\n      \n        \n          \n        \n\n        \n          \n        \n\n        \n          API browser\n        \n\n        \n          \n            \n              {systemOverview.is_processing ? 'Pause' : 'Resume'} message processing\n            \n          \n\n          \n            \n              ALIVE\n              DEAD\n            \n          \n\n          \n            \n              \n            \n          \n\n          \n            \n              \n                Local message inputs\n              \n            \n          \n          \n            \n              Get thread dump\n            \n          \n          \n            \n              Get process-buffer dump\n            \n          \n        \n      \n    );\n  }\n}\n\nexport default NodesActions;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport styled from 'styled-components';\n\nimport StringUtils from 'util/StringUtils';\n\nconst NodeState = styled.dl`\n  margin-top: 0;\n  margin-bottom: 0;\n\n  dt {\n    float: left;\n  }\n\n  dd {\n    margin-left: 180px;\n  }\n`;\n\nexport const SystemOverviewSummary = ({ information }) => {\n  const lbStatus = information.lb_status.toUpperCase();\n\n  return (\n    \n      
Current lifecycle state:
\n
{StringUtils.capitalizeFirstLetter(information.lifecycle)}
\n
Message processing:
\n
{information.is_processing ? 'Enabled' : 'Disabled'}
\n
Load balancer indication:
\n
{lbStatus}
\n
\n );\n};\n\nSystemOverviewSummary.propTypes = {\n information: PropTypes.object.isRequired,\n};\n\nexport default SystemOverviewSummary;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\n// eslint-disable-next-line no-restricted-imports\nimport createReactClass from 'create-react-class';\nimport Reflux from 'reflux';\nimport styled, { css } from 'styled-components';\n\nimport ProgressBar from 'components/common/ProgressBar';\nimport { Spinner } from 'components/common';\nimport NumberUtils from 'util/NumberUtils';\nimport MetricsExtractor from 'logic/metrics/MetricsExtractor';\nimport { MetricsActions, MetricsStore } from 'stores/metrics/MetricsStore';\n\nconst NodeHeap = styled.div`\n margin-top: 10px;\n\n p {\n margin-bottom: 0;\n }\n`;\n\nconst Blob = styled.span(({ theme }) => css`\n display: inline-block;\n width: 9px;\n height: 9px;\n margin-left: 2px;\n border: 1px solid;\n\n &.used-memory {\n background-color: ${theme.colors.variant.primary};\n border-color: ${theme.colors.variant.dark.primary};\n }\n\n &.committed-memory {\n background-color: ${theme.colors.variant.warning};\n border-color: ${theme.colors.variant.dark.warning};\n }\n\n &.max-memory {\n background-color: ${theme.colors.global.background};\n border-color: ${theme.colors.gray[80]};\n }\n`);\n\nconst StyledProgressBar = styled(ProgressBar)`\n height: 25px;\n margin-bottom: 5px;\n`;\n\nconst JvmHeapUsage = createReactClass({\n // eslint-disable-next-line react/no-unused-class-component-methods\n displayName: 'JvmHeapUsage',\n\n // eslint-disable-next-line react/no-unused-class-component-methods\n propTypes: {\n nodeId: PropTypes.string.isRequired,\n },\n\n mixins: [Reflux.connect(MetricsStore)],\n\n UNSAFE_componentWillMount() {\n const { nodeId } = this.props;\n\n this.metricNames = {\n usedMemory: 'jvm.memory.heap.used',\n committedMemory: 'jvm.memory.heap.committed',\n maxMemory: 'jvm.memory.heap.max',\n };\n\n Object.keys(this.metricNames).forEach((metricShortName) => MetricsActions.add(nodeId, this.metricNames[metricShortName]));\n },\n\n componentWillUnmount() {\n const { nodeId } = this.props;\n\n Object.keys(this.metricNames).forEach((metricShortName) => MetricsActions.remove(nodeId, this.metricNames[metricShortName]));\n },\n\n _extractMetricValues() {\n const { nodeId } = this.props;\n const { metrics } = this.state;\n\n if (metrics && metrics[nodeId]) {\n const extractedMetric = MetricsExtractor.getValuesForNode(metrics[nodeId], this.metricNames);\n const { maxMemory, usedMemory, committedMemory } = extractedMetric;\n\n if (maxMemory) {\n extractedMetric.usedPercentage = maxMemory === 0 ? 0 : Math.ceil((usedMemory / maxMemory) * 100);\n extractedMetric.committedPercentage = maxMemory === 0 ? 0 : Math.ceil((committedMemory / maxMemory) * 100);\n\n return extractedMetric;\n }\n\n return {\n usedPercentage: 0,\n committedPercentage: 0,\n };\n }\n\n return {};\n },\n\n render() {\n const { nodeId } = this.props;\n const extractedMetrics = this._extractMetricValues();\n const { usedPercentage, committedPercentage, usedMemory, committedMemory, maxMemory } = extractedMetrics;\n let progressBarConfig = [{ value: 0 }];\n let detail =

;\n\n if (usedPercentage || committedPercentage) {\n if (Object.keys(extractedMetrics).length === 0) {\n detail =

Heap information unavailable.

;\n } else {\n progressBarConfig = [\n { value: usedPercentage, bsStyle: 'primary' },\n { value: committedPercentage - usedPercentage, bsStyle: 'warning' },\n ];\n\n detail = (\n

\n The JVM is using{' '}\n \n {NumberUtils.formatBytes(usedMemory)}\n {' '}of{' '}\n \n {NumberUtils.formatBytes(committedMemory)}\n {' '}heap space and will not attempt to use more than{' '}\n \n {NumberUtils.formatBytes(maxMemory)}\n

\n );\n }\n }\n\n return (\n \n \n\n {detail}\n \n );\n },\n});\n\nexport default JvmHeapUsage;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport createReactClass from 'create-react-class';\nimport Reflux from 'reflux';\nimport numeral from 'numeral';\n\nimport { Pluralize, Spinner } from 'components/common';\nimport MetricsExtractor from 'logic/metrics/MetricsExtractor';\nimport { MetricsActions, MetricsStore } from 'stores/metrics/MetricsStore';\n\nconst JournalState = createReactClass({\n displayName: 'JournalState',\n\n propTypes: {\n nodeId: PropTypes.string.isRequired,\n },\n\n mixins: [Reflux.connect(MetricsStore)],\n\n UNSAFE_componentWillMount() {\n this.metricNames = {\n append: 'org.graylog2.journal.append.1-sec-rate',\n read: 'org.graylog2.journal.read.1-sec-rate',\n segments: 'org.graylog2.journal.segments',\n entriesUncommitted: 'org.graylog2.journal.entries-uncommitted',\n };\n\n Object.keys(this.metricNames).forEach((metricShortName) => MetricsActions.add(this.props.nodeId, this.metricNames[metricShortName]));\n },\n\n componentWillUnmount() {\n Object.keys(this.metricNames).forEach((metricShortName) => MetricsActions.remove(this.props.nodeId, this.metricNames[metricShortName]));\n },\n\n _isLoading() {\n return !this.state.metrics;\n },\n\n render() {\n if (this._isLoading()) {\n return ;\n }\n\n const { nodeId } = this.props;\n const nodeMetrics = this.state.metrics[nodeId];\n const metrics = MetricsExtractor.getValuesForNode(nodeMetrics, this.metricNames);\n\n if (Object.keys(metrics).length === 0) {\n return Journal metrics unavailable.;\n }\n\n return (\n \n The journal contains {numeral(metrics.entriesUncommitted).format('0,0')} unprocessed messages in {metrics.segments}\n {' '}.{' '}\n {numeral(metrics.append).format('0,0')} messages appended, \n {numeral(metrics.read).format('0,0')} messages\n read in the last second.\n \n );\n },\n});\n\nexport default JournalState;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { Col } from 'components/bootstrap';\nimport { EntityListItem, LinkToNode } from 'components/common';\nimport NodeThroughput from 'components/throughput/NodeThroughput';\n\nimport NodesActions from './NodesActions';\nimport SystemOverviewSummary from './SystemOverviewSummary';\nimport JvmHeapUsage from './JvmHeapUsage';\nimport JournalState from './JournalState';\n\nclass NodeListItem extends React.Component {\n static propTypes = {\n node: PropTypes.object.isRequired,\n systemOverview: PropTypes.object,\n };\n\n render() {\n const { node } = this.props;\n const title = ;\n\n if (!this.props.systemOverview) {\n return (\n \n );\n }\n\n const nodeThroughput = ;\n const journalState = ;\n const actions = ;\n\n const additionalContent = (\n
\n \n \n \n \n \n \n
\n );\n\n return (\n \n );\n }\n}\n\nexport default NodeListItem;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport createReactClass from 'create-react-class';\nimport Reflux from 'reflux';\n\nimport { Row, Col } from 'components/bootstrap';\nimport { Spinner, EntityList, Pluralize } from 'components/common';\nimport { ClusterOverviewStore } from 'stores/cluster/ClusterOverviewStore';\n\nimport NodeListItem from './NodeListItem';\n\nconst NodesList = createReactClass({\n displayName: 'NodesList',\n\n propTypes: {\n permissions: PropTypes.array.isRequired,\n nodes: PropTypes.object,\n },\n\n mixins: [Reflux.connect(ClusterOverviewStore)],\n\n _isLoading() {\n const { nodes } = this.props;\n const { clusterOverview } = this.state;\n\n return !(nodes && clusterOverview);\n },\n\n _formatNodes(nodes, clusterOverview) {\n const nodeIDs = Object.keys(nodes);\n\n return nodeIDs.map((nodeID) => {\n return ;\n });\n },\n\n render() {\n if (this._isLoading()) {\n return ;\n }\n\n const nodesNo = Object.keys(this.props.nodes).length;\n\n return (\n \n \n

\n There {nodesNo} active \n

\n \n \n
\n );\n },\n});\n\nexport default NodesList;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport URI from 'urijs';\n\nimport { LinkContainer } from 'components/common/router';\nimport { ButtonGroup, DropdownButton, MenuItem } from 'components/bootstrap';\nimport { ExternalLink, IfPermitted } from 'components/common';\nimport Routes from 'routing/Routes';\nimport HideOnCloud from 'util/conditional/HideOnCloud';\n\nclass NodeMaintenanceDropdown extends React.Component {\n static propTypes = {\n node: PropTypes.object.isRequired,\n };\n\n render() {\n const { node } = this.props;\n const apiBrowserURI = new URI(`${node.transport_address}/api-browser/`).normalizePathname().toString();\n\n return (\n \n \n \n \n Get thread dump\n \n \n\n \n \n Get process-buffer dump\n \n \n\n \n Metrics\n \n\n \n \n \n Configure internal logging\n \n \n \n\n \n API Browser\n \n \n \n );\n }\n}\n\nexport default NodeMaintenanceDropdown;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\nimport { useEffect } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport Routes from 'routing/Routes';\nimport NumberUtils from 'util/NumberUtils';\nimport { useStore } from 'stores/connect';\nimport type { GaugeMetric } from 'stores/metrics/MetricsStore';\nimport { MetricsActions, MetricsStore } from 'stores/metrics/MetricsStore';\n\nimport { Button } from '../bootstrap';\nimport { ProgressBar, Spinner } from '../common';\nimport { LinkContainer } from '../common/router';\n\nconst NodeBufferUsage = styled.div(({ theme }) => css`\n margin-top: ${theme.spacings.sm};\n margin-bottom: ${theme.spacings.xs};\n`);\n\nconst StyledProgressBar = styled(ProgressBar)(({ theme }) => css`\n margin-bottom: ${theme.spacings.xs};\n`);\n\nconst _metricPrefix = (bufferType) => `org.graylog2.buffers.${bufferType}`;\n\nconst _metricFilter = (bufferType) => `org\\\\.graylog2\\\\.buffers\\\\.${bufferType}\\\\.|${bufferType}buffer`;\n\ntype Props = {\n nodeId: string,\n bufferType: string,\n title: string,\n};\n\nconst BufferUsage = ({ nodeId, bufferType, title }: Props) => {\n useEffect(() => {\n const prefix = _metricPrefix(bufferType);\n const metricNames = [\n `${prefix}.usage`,\n `${prefix}.size`,\n ];\n\n metricNames.forEach((metricName) => MetricsActions.add(nodeId, metricName));\n\n return () => metricNames.forEach((metricName) => MetricsActions.remove(nodeId, metricName));\n }, [nodeId, bufferType]);\n\n const { metrics } = useStore(MetricsStore);\n\n // metrics for this node could be undefined\n if (!metrics?.[nodeId]) {\n return ;\n }\n\n const prefix = _metricPrefix(bufferType);\n\n const usageMetric = metrics[nodeId][`${prefix}.usage`] as GaugeMetric;\n const usage = usageMetric ? usageMetric.metric.value : NaN;\n const sizeMetric = metrics[nodeId][`${prefix}.size`] as GaugeMetric;\n const size = sizeMetric ? sizeMetric.metric.value : NaN;\n // eslint-disable-next-line no-restricted-globals\n const usagePercentage = ((!isNaN(usage) && !isNaN(size)) ? usage / size : 0);\n const percentLabel = NumberUtils.formatPercentage(usagePercentage);\n\n return (\n
\n \n \n \n

{title}

\n \n \n \n {usage} messages in {title.toLowerCase()}, {percentLabel} utilized.\n
\n );\n};\n\nBufferUsage.propTypes = {\n bufferType: PropTypes.string.isRequired,\n nodeId: PropTypes.string.isRequired,\n title: PropTypes.node.isRequired,\n};\n\nexport default BufferUsage;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { Row, Col, Alert, Button } from 'components/bootstrap';\nimport { IfPermitted, Icon } from 'components/common';\nimport { DocumentationLink } from 'components/support';\nimport NodeThroughput from 'components/throughput/NodeThroughput';\nimport DocsHelper from 'util/DocsHelper';\nimport StringUtils from 'util/StringUtils';\nimport { SystemProcessingStore } from 'stores/system-processing/SystemProcessingStore';\n\nclass SystemOverviewDetails extends React.Component {\n static propTypes = {\n node: PropTypes.object.isRequired,\n information: PropTypes.object.isRequired,\n };\n\n _toggleMessageProcessing = () => {\n if (confirm(`You are about to ${this.props.information.is_processing ? 'pause' : 'resume'} message processing in this node. Are you sure?`)) {\n if (this.props.information.is_processing) {\n SystemProcessingStore.pause(this.props.node.node_id);\n } else {\n SystemProcessingStore.resume(this.props.node.node_id);\n }\n }\n };\n\n render() {\n const { information } = this.props;\n const lbStatus = information.lb_status.toUpperCase();\n let processingStatus;\n\n if (information.is_processing) {\n processingStatus = (\n \n   \n \n );\n } else {\n processingStatus = (\n \n   Node is not processing messages\n \n );\n }\n\n return (\n \n \n \n \n  \n Lifecycle state: {StringUtils.capitalizeFirstLetter(this.props.information.lifecycle)}\n \n \n \n \n \n  \n Marked as {lbStatus} for load balancers\n \n \n \n \n \n \n \n \n \n {processingStatus}\n \n \n \n );\n }\n}\n\nexport default SystemOverviewDetails;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport Reflux from 'reflux';\n\nimport * as URLUtils from 'util/URLUtils';\nimport UserNotification from 'util/UserNotification';\nimport fetch from 'logic/rest/FetchProvider';\nimport { singletonStore } from 'logic/singleton';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const JournalStore = singletonStore(\n 'core.Journal',\n () => Reflux.createStore({\n sourceUrl: (nodeId) => `/cluster/${nodeId}/journal`,\n\n get(nodeId) {\n const promise = fetch('GET', URLUtils.qualifyUrl(this.sourceUrl(nodeId)));\n\n promise.catch((error) => {\n UserNotification.error(`Getting journal information on node ${nodeId} failed: ${error}`, 'Could not get journal information');\n });\n\n return promise;\n },\n }),\n);\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\n// eslint-disable-next-line no-restricted-imports\nimport createReactClass from 'create-react-class';\nimport Reflux from 'reflux';\nimport numeral from 'numeral';\nimport moment from 'moment';\nimport {} from 'moment-duration-format';\nimport styled from 'styled-components';\n\nimport { Link } from 'components/common/router';\nimport { Row, Col, Alert } from 'components/bootstrap';\nimport { Spinner, RelativeTime, Icon } from 'components/common';\nimport ProgressBar, { Bar } from 'components/common/ProgressBar';\nimport MetricsExtractor from 'logic/metrics/MetricsExtractor';\nimport NumberUtils from 'util/NumberUtils';\nimport Routes from 'routing/Routes';\nimport { JournalStore } from 'stores/journal/JournalStore';\nimport { MetricsActions, MetricsStore } from 'stores/metrics/MetricsStore';\n\nconst JournalUsageProgressBar = styled(ProgressBar)`\n margin-bottom: 5px;\n margin-top: 10px;\n\n ${Bar} {\n min-width: 3em;\n }\n`;\n\nconst JournalDetails = createReactClass({\n displayName: 'JournalDetails',\n\n propTypes: {\n nodeId: PropTypes.string.isRequired,\n },\n\n mixins: [Reflux.connect(MetricsStore)],\n\n getInitialState() {\n return {\n journalInformation: undefined,\n };\n },\n\n componentDidMount() {\n const { nodeId } = this.props;\n\n JournalStore.get(nodeId).then((journalInformation) => {\n this.setState({ journalInformation: journalInformation }, this._listenToMetrics);\n });\n },\n\n componentWillUnmount() {\n const { nodeId } = this.props;\n\n if (this.metricNames) {\n Object.keys(this.metricNames).forEach((metricShortName) => MetricsActions.remove(nodeId, this.metricNames[metricShortName]));\n }\n },\n\n _listenToMetrics() {\n const { nodeId } = this.props;\n const { journalInformation } = this.state;\n\n // only listen for updates if the journal is actually turned on\n if (journalInformation.enabled) {\n this.metricNames = {\n append: 'org.graylog2.journal.append.1-sec-rate',\n read: 'org.graylog2.journal.read.1-sec-rate',\n segments: 'org.graylog2.journal.segments',\n entriesUncommitted: 'org.graylog2.journal.entries-uncommitted',\n utilizationRatio: 'org.graylog2.journal.utilization-ratio',\n oldestSegment: 'org.graylog2.journal.oldest-segment',\n };\n\n Object.keys(this.metricNames).forEach((metricShortName) => MetricsActions.add(nodeId, this.metricNames[metricShortName]));\n }\n },\n\n _isLoading() {\n const { journalInformation, metrics } = this.state;\n\n return !(metrics && journalInformation);\n },\n\n render() {\n if (this._isLoading()) {\n return ;\n }\n\n const { nodeId } = this.props;\n const { metrics: metricsState } = this.state;\n const nodeMetrics = metricsState[nodeId];\n const { journalInformation } = this.state;\n\n if (!journalInformation.enabled) {\n return (\n \n   The disk journal is disabled on this node.\n \n );\n }\n\n const metrics = this.metricNames ? MetricsExtractor.getValuesForNode(nodeMetrics, this.metricNames) : {};\n\n if (Object.keys(metrics).length === 0) {\n return (\n \n   Journal metrics unavailable.\n \n );\n }\n\n const oldestSegment = moment(metrics.oldestSegment);\n let overcommittedWarning;\n\n if (metrics.utilizationRatio >= 1) {\n overcommittedWarning = (\n \n Warning! The journal utilization is exceeding the maximum size defined.\n {' '}Click here for more information.
\n
\n );\n }\n\n return (\n \n \n

Configuration

\n
\n
Path:
\n
{journalInformation.journal_config.directory}
\n
Earliest entry:
\n
\n
Maximum size:
\n
{NumberUtils.formatBytes(journalInformation.journal_config.max_size)}
\n
Maximum age:
\n
{moment.duration(journalInformation.journal_config.max_age).format('d [days] h [hours] m [minutes]')}
\n
Flush policy:
\n
\n Every {numeral(journalInformation.journal_config.flush_interval).format('0,0')} messages\n {' '}or {moment.duration(journalInformation.journal_config.flush_age).format('h [hours] m [minutes] s [seconds]')}\n
\n
\n \n \n

Utilization

\n\n \n\n {overcommittedWarning}\n\n {numeral(metrics.entriesUncommitted).format('0,0')} unprocessed messages\n {' '}are currently in the journal, in {metrics.segments} segments.
\n {numeral(metrics.append).format('0,0')} messages\n {' '}have been appended in the last second,{' '}\n {numeral(metrics.read).format('0,0')} messages have been read in the last second.\n \n
\n );\n },\n});\n\nexport default JournalDetails;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport moment from 'moment';\nimport styled from 'styled-components';\n\nimport { Timestamp } from 'components/common';\n\nconst _getInitialState = () => {\n return { time: moment() };\n};\n\nconst StyledDl = styled.dl`\n margin-top: 5px;\n margin-bottom: 0;\n\n dt {\n float: left;\n }\n\n dd {\n margin-left: 95px;\n }\n`;\n\nclass SystemInformation extends React.Component {\n static propTypes = {\n node: PropTypes.object.isRequired,\n systemInformation: PropTypes.object.isRequired,\n jvmInformation: PropTypes.object,\n };\n\n static defaultProps = {\n jvmInformation: undefined,\n };\n\n constructor(props) {\n super(props);\n this.state = _getInitialState();\n }\n\n componentDidMount() {\n this.interval = setInterval(() => this.setState(_getInitialState()), 1000);\n }\n\n componentWillUnmount() {\n clearTimeout(this.interval);\n }\n\n render() {\n const { systemInformation: { hostname, version, codename, timezone }, jvmInformation, node } = this.props;\n const { time } = this.state;\n let jvmInformationText;\n\n if (jvmInformation) {\n jvmInformationText = PID {jvmInformation.pid}, {jvmInformation.info};\n } else {\n jvmInformationText = JMV information for this node is unavailable.;\n }\n\n return (\n \n
Hostname:
\n
{hostname}
\n
Node ID:
\n
{node.node_id}
\n
Version:
\n
{version}, codename {codename}
\n
JVM:
\n
{jvmInformationText}
\n
Time:
\n
\n
\n );\n }\n}\n\nexport default SystemInformation;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport styled from 'styled-components';\n\nimport RelativeTime from 'components/common/RelativeTime';\n\nconst StyledDl = styled.dl`\n margin-top: 5px;\n margin-bottom: 0;\n\n dt {\n float: left;\n }\n\n dd {\n margin-left: 150px;\n }\n`;\n\nconst RestApiOverview = ({ node }) => {\n const { transport_address, last_seen } = node;\n\n return (\n \n
Transport address:
\n
{transport_address}
\n
Last seen:
\n
\n
\n );\n};\n\nRestApiOverview.propTypes = {\n node: PropTypes.object.isRequired,\n};\n\nexport default RestApiOverview;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { DataTable, ExternalLink, Spinner, Icon } from 'components/common';\nimport { Alert } from 'components/bootstrap';\n\nclass PluginsDataTable extends React.Component {\n static propTypes = {\n plugins: PropTypes.array,\n };\n\n _headerCellFormatter = (header) => {\n return {header};\n };\n\n _pluginInfoFormatter = (plugin) => {\n return (\n \n {plugin.name}\n {plugin.version}\n {plugin.author}\n \n {plugin.description}\n   \n Website\n \n \n );\n };\n\n render() {\n if (!this.props.plugins) {\n return ;\n }\n\n if (this.props.plugins.length === 0) {\n return   This node has not any installed plugins.;\n }\n\n const headers = ['Name', 'Version', 'Author', 'Description'];\n\n return (\n \n );\n }\n}\n\nexport default PluginsDataTable;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { Alert } from 'components/bootstrap';\nimport { DataTable, ExternalLink, Spinner, Icon } from 'components/common';\n\nclass InputTypesDataTable extends React.Component {\n static propTypes = {\n inputDescriptions: PropTypes.object,\n };\n\n _headerCellFormatter = (header) => {\n return {header};\n };\n\n _inputTypeFormatter = (inputType) => {\n return (\n \n {inputType.name}\n {inputType.type}\n \n {inputType.link_to_docs\n && Documentation}\n \n \n );\n };\n\n render() {\n if (!this.props.inputDescriptions) {\n return ;\n }\n\n if (Object.keys(this.props.inputDescriptions).length === 0) {\n return (\n \n   Input types are unavailable.\n \n );\n }\n\n const headers = ['Name', 'Type', 'Documentation'];\n\n const rows = Object.keys(this.props.inputDescriptions).map((key) => this.props.inputDescriptions[key]);\n\n return (\n \n );\n }\n}\n\nexport default InputTypesDataTable;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { LinkContainer } from 'components/common/router';\nimport { Row, Col, Button } from 'components/bootstrap';\nimport Routes from 'routing/Routes';\nimport HideOnCloud from 'util/conditional/HideOnCloud';\n\nimport BufferUsage from './BufferUsage';\nimport SystemOverviewDetails from './SystemOverviewDetails';\nimport JvmHeapUsage from './JvmHeapUsage';\nimport JournalDetails from './JournalDetails';\nimport SystemInformation from './SystemInformation';\nimport RestApiOverview from './RestApiOverview';\nimport PluginsDataTable from './PluginsDataTable';\nimport InputTypesDataTable from './InputTypesDataTable';\n\nclass NodeOverview extends React.Component {\n static propTypes = {\n node: PropTypes.object.isRequired,\n systemOverview: PropTypes.object.isRequired,\n jvmInformation: PropTypes.object,\n plugins: PropTypes.array,\n inputDescriptions: PropTypes.object,\n inputStates: PropTypes.array,\n };\n\n render() {\n const { node } = this.props;\n const { systemOverview } = this.props;\n\n let pluginCount;\n\n if (this.props.plugins) {\n pluginCount = `${this.props.plugins.length} plugins installed`;\n }\n\n let inputCount;\n\n if (this.props.inputStates) {\n const runningInputs = this.props.inputStates.filter((inputState) => inputState.state.toUpperCase() === 'RUNNING');\n\n inputCount = `${runningInputs.length} inputs running on this node`;\n }\n\n return (\n
\n \n \n \n \n \n\n \n \n

Memory/Heap usage

\n \n \n
\n\n \n \n

Buffers

\n

\n Buffers are built to cache small amounts of messages for a very short time\n (usually milliseconds) on their way through the different processors.\n

\n \n \n \n \n \n \n \n \n \n \n \n \n
\n\n \n \n

Disk Journal

\n

\n Incoming messages are written to the disk journal to ensure they are kept safe in case of a server\n failure. The journal also helps keeping Graylog working if any of the outputs is too slow to keep\n up with the message rate or whenever there is a peak in incoming messages. It makes sure that\n Graylog does not buffer all of those messages in main memory and avoids overly long garbage\n collection pauses that way.\n

\n \n \n
\n\n \n \n

System

\n \n \n \n

REST API

\n \n \n
\n\n \n \n

Installed plugins {pluginCount}

\n \n \n
\n\n \n \n \n \n \n \n \n \n \n

Available input types {inputCount}

\n \n \n
\n
\n );\n }\n}\n\nexport default NodeOverview;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport styled, { css } from 'styled-components';\n\nimport Icon from 'components/common/Icon';\n\ntype Props = {\n children: React.ReactNode,\n small: boolean,\n};\n\nconst IconStack = styled.div<{ small: boolean }>(({ small, theme }) => css`\n position: relative;\n min-width: 2.5em;\n font-size: ${small ? theme.fonts.size.body : theme.fonts.size.large};\n \n .fa-stack-1x {\n color: ${theme.colors.global.textAlt};\n }\n \n .fa-stack-2x {\n color: ${theme.colors.global.textDefault};\n }\n`);\n\nconst SupportLink = ({ small, children }: Props) => {\n return (\n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n {children}\n \n
\n );\n};\n\nSupportLink.propTypes = {\n small: PropTypes.bool,\n children: PropTypes.node.isRequired,\n};\n\nSupportLink.defaultProps = {\n small: false,\n};\n\nexport default SupportLink;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { Icon } from 'components/common';\n\ntype Props = {\n children: React.ReactNode,\n className?: string,\n};\n\nconst Description = styled.div`\n display: inline-flex;\n justify-content: center;\n align-items: center;\n`;\n\nconst IconStack = styled.div(({ theme }) => css`\n position: relative;\n min-width: 2.5em;\n \n .fa-stack-1x {\n color: ${theme.colors.global.textAlt};\n }\n \n .fa-stack-2x {\n color: ${theme.colors.global.textDefault};\n }\n`);\n\nconst Content = styled.p`\n font-weight: bold;\n margin: 0;\n`;\n\nconst SmallSupportLink = ({ children, className }: Props) => {\n return (\n \n \n \n \n \n\n \n {children}\n \n \n );\n};\n\nSmallSupportLink.propTypes = {\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n};\n\nSmallSupportLink.defaultProps = {\n className: undefined,\n};\n\nexport default SmallSupportLink;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport type { NodeMetric } from 'stores/metrics/MetricsStore';\n\nconst MetricsExtractor = {\n /*\n * Returns an object containing a short name and the metric value for it.\n * Short names are the keys of the metricNames object, which should look like:\n * { shortName: \"metricFullName\" }\n */\n getValuesForNode(nodeMetrics: NodeMetric, metricNames: { [key: string]: string }): { [key: string]: number | undefined | null } {\n if (nodeMetrics === null || nodeMetrics === undefined || Object.keys(nodeMetrics).length === 0) {\n return {};\n }\n\n const metrics = {};\n\n Object.keys(metricNames).forEach((metricShortName) => {\n const metricFullName = metricNames[metricShortName];\n const metricObject = nodeMetrics[metricFullName];\n\n if (metricObject) {\n if (metricObject.type === 'gauge') {\n metrics[metricShortName] = metricObject.metric.value;\n } else if (metricObject.type === 'counter') {\n metrics[metricShortName] = metricObject.metric.count;\n } else if (metricObject.type === 'meter') {\n metrics[metricShortName] = metricObject.metric.rate.total;\n } else if (metricObject.type === 'timer') {\n metrics[metricShortName] = metricObject.metric.rate.total;\n } else {\n metrics[metricShortName] = null;\n }\n }\n });\n\n return metrics;\n },\n};\n\nexport default MetricsExtractor;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport Reflux from 'reflux';\n\nimport * as URLUtils from 'util/URLUtils';\nimport UserNotification from 'util/UserNotification';\nimport fetch, { fetchPeriodically } from 'logic/rest/FetchProvider';\nimport { singletonStore } from 'logic/singleton';\nimport { NodesStore } from 'stores/nodes/NodesStore';\nimport { SystemLoadBalancerStore } from 'stores/load-balancer/SystemLoadBalancerStore';\nimport { SystemProcessingStore } from 'stores/system-processing/SystemProcessingStore';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const ClusterOverviewStore = singletonStore(\n 'core.ClusterOverview',\n () => Reflux.createStore({\n sourceUrl: '/cluster',\n clusterOverview: undefined,\n\n init() {\n this.cluster();\n this.listenTo(SystemProcessingStore, this.cluster);\n this.listenTo(SystemLoadBalancerStore, this.cluster);\n this.listenTo(NodesStore, this.cluster);\n },\n\n getInitialState() {\n return { clusterOverview: this.clusterOverview };\n },\n\n cluster() {\n const promise = fetchPeriodically('GET', URLUtils.qualifyUrl(this.sourceUrl));\n\n promise.then(\n (response) => {\n this.clusterOverview = response;\n this.trigger({ clusterOverview: this.clusterOverview });\n },\n (error) => UserNotification.error(`Getting cluster overview failed: ${error}`, 'Could not get cluster overview'),\n );\n\n return promise;\n },\n\n threadDump(nodeId) {\n const promise = fetch('GET', URLUtils.qualifyUrl(`${this.sourceUrl}/${nodeId}/threaddump`))\n .then(\n (response) => {\n return response.threaddump;\n },\n (error) => UserNotification.error(`Getting thread dump for node '${nodeId}' failed: ${error}`, 'Could not get thread dump'),\n );\n\n return promise;\n },\n\n processbufferDump(nodeId) {\n const promise = fetch('GET', URLUtils.qualifyUrl(`${this.sourceUrl}/${nodeId}/processbufferdump`))\n .then(\n (response) => {\n return response.processbuffer_dump;\n },\n (error) => UserNotification.error(`Getting process buffer dump for node '${nodeId}' failed: ${error}`, 'Could not get process buffer dump'),\n );\n\n return promise;\n },\n\n jvm(nodeId) {\n const promise = fetch('GET', URLUtils.qualifyUrl(`${this.sourceUrl}/${nodeId}/jvm`));\n\n promise.catch((error) => UserNotification.error(`Getting JVM information for node '${nodeId}' failed: ${error}`, 'Could not get JVM information'));\n\n return promise;\n },\n }),\n);\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport Reflux from 'reflux';\n\nimport * as URLUtils from 'util/URLUtils';\nimport UserNotification from 'util/UserNotification';\nimport fetch from 'logic/rest/FetchProvider';\nimport { singletonStore } from 'logic/singleton';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const SystemLoadBalancerStore = singletonStore(\n 'core.SystemLoadBalancer',\n () => Reflux.createStore({\n sourceUrl: (nodeId) => `/cluster/${nodeId}/lbstatus`,\n\n override(nodeId, status) {\n return fetch('PUT', URLUtils.qualifyUrl(`${this.sourceUrl(nodeId)}/override/${status}`))\n .then(\n () => {\n this.trigger({});\n UserNotification.success(`Load balancer status successfully changed do '${status}' in node '${nodeId}'`);\n },\n (error) => {\n UserNotification.error(`Changing load balancer status in '${nodeId}' failed: ${error}`,\n `Could not change load balancer status to '${status}' in node '${nodeId}'`);\n },\n );\n },\n }),\n);\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport Reflux from 'reflux';\n\nimport * as URLUtils from 'util/URLUtils';\nimport UserNotification from 'util/UserNotification';\nimport fetch from 'logic/rest/FetchProvider';\n\nimport { singletonStore } from '../../logic/singleton';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const SystemProcessingStore = singletonStore(\n 'core.SystemProcessing',\n () => Reflux.createStore({\n sourceUrl: (nodeId) => `/cluster/${nodeId}/processing`,\n\n pause(nodeId) {\n return fetch('POST', URLUtils.qualifyUrl(`${this.sourceUrl(nodeId)}/pause`))\n .then(\n () => {\n this.trigger({});\n UserNotification.success(`Message processing paused successfully in '${nodeId}'`);\n },\n (error) => {\n UserNotification.error(`Pausing message processing in '${nodeId}' failed: ${error}`,\n `Could not pause message processing in node '${nodeId}'`);\n },\n );\n },\n\n resume(nodeId) {\n return fetch('POST', URLUtils.qualifyUrl(`${this.sourceUrl(nodeId)}/resume`))\n .then(\n () => {\n this.trigger({});\n UserNotification.success(`Message processing resumed successfully in '${nodeId}'`);\n },\n (error) => {\n UserNotification.error(`Resuming message processing in '${nodeId}' failed: ${error}`,\n `Could not resume message processing in node '${nodeId}'`);\n },\n );\n },\n }),\n);\n"],"names":["createReactClass","displayName","propTypes","nodeId","PropTypes","longFormat","mixins","Reflux","MetricsStore","getDefaultProps","UNSAFE_componentWillMount","this","metricNames","totalIn","totalOut","Object","keys","forEach","metricShortName","MetricsActions","props","componentWillUnmount","_isLoading","state","metrics","_formatThroughput","numeral","format","render","text","nodeMetrics","MetricsExtractor","length","NodesActions","React","systemOverview","node","window","confirm","is_processing","SystemProcessingStore","node_id","status","SystemLoadBalancerStore","apiBrowserURI","URI","transport_address","normalizePathname","toString","ButtonToolbar","to","Routes","href","title","id","pullRight","permissions","onSelect","_toggleMessageProcessing","left","_changeLBStatus","anyPermissions","divider","HideOnCloud","NodeState","styled","SystemOverviewSummary","information","lbStatus","lb_status","toUpperCase","StringUtils","lifecycle","className","NodeHeap","Blob","theme","css","colors","variant","primary","dark","warning","global","background","gray","StyledProgressBar","ProgressBar","usedMemory","committedMemory","maxMemory","_extractMetricValues","extractedMetric","usedPercentage","Math","ceil","committedPercentage","extractedMetrics","progressBarConfig","value","detail","bsStyle","NumberUtils","bars","append","read","segments","entriesUncommitted","singular","plural","NodeListItem","key","description","nodeThroughput","journalState","actions","additionalContent","md","titleSuffix","contentRow","nodes","ClusterOverviewStore","clusterOverview","_formatNodes","map","nodeID","nodesNo","bsNoItemsStyle","noItemsText","items","NodeMaintenanceDropdown","bsSize","target","NodeBufferUsage","spacings","sm","xs","_metricPrefix","bufferType","_metricFilter","BufferUsage","useEffect","prefix","metricName","useStore","usageMetric","usage","metric","NaN","sizeMetric","size","usagePercentage","isNaN","percentLabel","label","toLowerCase","SystemOverviewDetails","processingStatus","name","page","DocsHelper","onClick","JournalStore","singletonStore","sourceUrl","get","promise","fetch","URLUtils","catch","error","UserNotification","JournalUsageProgressBar","Bar","getInitialState","journalInformation","undefined","componentDidMount","then","setState","_listenToMetrics","enabled","utilizationRatio","oldestSegment","metricsState","moment","overcommittedWarning","journal_config","directory","dateTime","max_size","max_age","flush_interval","flush_age","_getInitialState","time","StyledDl","SystemInformation","constructor","super","interval","setInterval","clearTimeout","systemInformation","hostname","version","codename","timezone","jvmInformation","jvmInformationText","pid","info","tz","RestApiOverview","last_seen","RelativeTime","PluginsDataTable","header","plugin","author","style","width","url","marginLeft","plugins","rowClassName","headers","headerCellFormatter","_headerCellFormatter","sortByKey","rows","dataRowFormatter","_pluginInfoFormatter","filterLabel","filterKeys","InputTypesDataTable","inputType","type","link_to_docs","inputDescriptions","_inputTypeFormatter","NodeOverview","pluginCount","inputCount","inputStates","filter","inputState","marginBottom","IconStack","small","fonts","body","large","textAlt","textDefault","SupportLink","children","display","inverse","defaultProps","Description","Content","SmallSupportLink","getValuesForNode","metricFullName","metricObject","count","rate","total","init","cluster","listenTo","NodesStore","fetchPeriodically","response","trigger","threadDump","threaddump","processbufferDump","processbuffer_dump","jvm","override","pause","resume"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy