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

web-interface.assets.1255d548-3519.2239126c18006c8ef239.js.map Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
{"version":3,"file":"1255d548-3519.2239126c18006c8ef239.js","mappings":"4QAgBA,MAAMA,EAAkB,IAAO,GAM/B,MAAMC,CAAuB,CAC3B,aAAc,CACZ,KAAK,WAAa,IACpB,CAMA,SAASC,EAAcC,EAAS,CAC1B,KAAK,aAIT,KAAK,WAAa,WAAW,IAAM,CACjC,KAAK,WAAa,KAClBD,EAAa,CACf,EAAGC,GAAWH,CAAe,EAC/B,CACF,CAEA,QAAeC,E,6ICRR,MAAMG,KAAwBC,EAAA,IACnC,sBACA,IAAM,kBAAgD,CACpD,WAAY,CAAE,YAAa,EAAK,CAClC,CAAC,CACH,EAEaC,KAAsBD,EAAA,IACjC,sBACA,IAAM,gBAA6C,CACjD,YAAa,CAACD,CAAqB,EACnC,QAAS,OAET,iBAAkB,CAChB,MAAO,CAAE,QAAS,KAAK,OAAQ,CACjC,EAEA,WAAWG,EAAc,CACvB,MAAMC,KAAU,MAAM,MAAOC,EAAA,GAAoB,gCAAgCF,CAAI,cAAc,CAAC,EAEpG,OAAAC,EAAQ,KAAME,GAAa,CACzB,KAAK,QAAQ,CAAE,QAASA,CAAS,CAAC,CACpC,CAAC,EAEMF,CACT,CACF,CAAC,CACH,E,uJCpCO,MAAMG,EAAqBC,GAAqB,CAIrD,MAAMC,EAHM,KAAY,IAAID,EAAS,CAACE,EAAOC,MAAS,CAAE,GAAIA,GAAK,MAAOD,CAAM,EAAE,CAAC,EACxD,UAAWE,GAAM,KAAOA,EAAE,EAAE,EAAE,OAAO,YAAY,CAAC,EAE5C,MAAM,EAAE,UAAWA,GAAMA,EAAE,KAAK,EACzDC,EAAI,IAAQJ,EAAU,IAAI,EAAIK,GAAU,SAAWA,EAAM,IAAK,YAAY,EAAE,YAAY,CAAC,EAE/F,OAAO,IAAUD,EAAIE,GAAQA,EAAI,KAAK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AAC,KAAoB,IAAC,CACxB,EAEA,gBAAC,KAAW,CAAC,YAAY,oBACvB,gBAAC,EAA8B,IAAC,CAClC,EACA,gBAAC,GAAS,IAAC,EAEX,gBAAC,KAAW,CAAC,YAAY,uBACvB,gBAAC,GAAuB,IAAC,CAC3B,CACF,CACF,C,6JC/BK,MAAMC,KAAuB,MAClC,uBACA,IAAM,gBAAmB,CACvB,YAAa,CAAC,EAEd,KAAKC,EAAOC,EAAQ,CAClB,MAAMtH,EAAM,KAAoB,IAAU,6BAA6B,KAAKqH,EAAOC,CAAM,EAAE,GAAG,EAE9F,SAAO,MAAM,MAAOtH,CAAG,CACzB,EAEA,MAAMP,EAAO,CAEX,MAAM8H,GADc9H,EAAM,OAASA,EAAQ,IAAOA,CAAK,GAC1B,OAAO,yBAAyB,EACvDO,EAAM,KAAoB,IAAU,6BAA6B,MAAMuH,CAAQ,EAAE,GAAG,EAE1F,SAAO,MAAM,MAAOvH,CAAG,CACzB,CACF,CAAC,CACH,C","sources":["webpack://graylog-web-interface/./src/util/EventHandlersThrottler.js","webpack://graylog-web-interface/./src/stores/cluster/ClusterTrafficStore.ts","webpack://graylog-web-interface/./src/util/TrafficUtils.ts","webpack://graylog-web-interface/./src/components/cluster/TrafficGraph.tsx","webpack://graylog-web-interface/./src/components/cluster/GraylogClusterOverview.tsx","webpack://graylog-web-interface/./src/components/indexers/IndexerFailuresComponent.jsx","webpack://graylog-web-interface/./src/components/indexers/IndexerClusterHealthError.tsx","webpack://graylog-web-interface/./src/components/indexers/IndexerClusterHealth.tsx","webpack://graylog-web-interface/./src/components/indexers/IndexerClusterHealthSummary.tsx","webpack://graylog-web-interface/./src/components/indexers/IndexerFailure.jsx","webpack://graylog-web-interface/./src/components/indexers/IndexerFailuresList.jsx","webpack://graylog-web-interface/./src/stores/enterprise/EnterpriseStore.js","webpack://graylog-web-interface/./src/components/indexers/IndexerSystemOverviewComponent.tsx","webpack://graylog-web-interface/./src/logic/notifications/NotificationsFactory.tsx","webpack://graylog-web-interface/./src/hooks/useNotificationMessage.ts","webpack://graylog-web-interface/./src/components/notifications/Notification.tsx","webpack://graylog-web-interface/./src/components/notifications/NotificationsList.tsx","webpack://graylog-web-interface/./src/stores/systemjobs/SystemJobsStore.js","webpack://graylog-web-interface/./src/components/systemjobs/SystemJob.tsx","webpack://graylog-web-interface/./src/components/systemjobs/SystemJobsComponent.tsx","webpack://graylog-web-interface/./src/components/systemjobs/SystemJobsList.tsx","webpack://graylog-web-interface/./src/components/systemmessages/SystemMessage.jsx","webpack://graylog-web-interface/./src/stores/systemmessages/SystemMessagesStore.js","webpack://graylog-web-interface/./src/components/systemmessages/SystemMessagesComponent.jsx","webpack://graylog-web-interface/./src/components/systemmessages/SystemMessagesList.jsx","webpack://graylog-web-interface/./src/components/times/TimesList.jsx","webpack://graylog-web-interface/./src/pages/SystemOverviewPage.tsx","webpack://graylog-web-interface/./src/stores/indexers/IndexerFailuresStore.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 */\nconst DEFAULT_TIMEOUT = 1000 / 10; // 10 fps\n\n/**\n * Use when an event handler should be called after a timeout, instead of every time the event is triggered.\n * This is specially useful for handling window resize callbacks that may be expensive.\n */\nclass EventHandlersThrottler {\n  constructor() {\n    this.eventMutex = null;\n  }\n\n  /**\n   * @param eventHandler Callback actually handling the event\n   * @param timeout (optional) Time to wait before calling the callback\n   */\n  throttle(eventHandler, timeout) {\n    if (this.eventMutex) {\n      return;\n    }\n\n    this.eventMutex = setTimeout(() => {\n      this.eventMutex = null;\n      eventHandler();\n    }, timeout || DEFAULT_TIMEOUT);\n  }\n}\n\nexport default EventHandlersThrottler;\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 fetch from 'logic/rest/FetchProvider';\nimport { singletonStore, singletonActions } from 'logic/singleton';\n\ntype ClusterTrafficStoreState = {\n  traffic: {\n    from: string,\n    to: string,\n    output: Record,\n    input: Record,\n    decoded: Record,\n  },\n};\ntype ClusterTrafficActionsType = {\n  getTraffic: (days: number) => Promise,\n};\n\nexport const ClusterTrafficActions = singletonActions(\n  'core.ClusterTraffic',\n  () => Reflux.createActions({\n    getTraffic: { asyncResult: true },\n  }),\n);\n\nexport const ClusterTrafficStore = singletonStore(\n  'core.ClusterTraffic',\n  () => Reflux.createStore({\n    listenables: [ClusterTrafficActions],\n    traffic: undefined,\n\n    getInitialState() {\n      return { traffic: this.traffic };\n    },\n\n    getTraffic(days: number) {\n      const promise = fetch('GET', URLUtils.qualifyUrl(`/system/cluster/traffic?days=${days}&daily=false`));\n\n      promise.then((response) => {\n        this.trigger({ traffic: response });\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 map from 'lodash/map';\nimport mapKeys from 'lodash/mapKeys';\nimport mapValues from 'lodash/mapValues';\nimport moment from 'moment';\nimport crossfilter from 'crossfilter';\n\ntype Traffic = {\n   [key: string]: number,\n}\n\nexport const formatTrafficData = (traffic: Traffic) => {\n  const ndx = crossfilter(map(traffic, (value, key) => ({ ts: key, bytes: value })));\n  const dailyTraffic = ndx.dimension((d) => moment(d.ts).format('YYYY-MM-DD'));\n\n  const dailySums = dailyTraffic.group().reduceSum((d) => d.bytes);\n  const t = mapKeys(dailySums.all(), (entry) => moment.utc(entry.key, 'YYYY-MM-DD').toISOString());\n\n  return mapValues(t, (val) => val.value);\n};\n\nexport default {\n  formatTrafficData,\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 React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Spinner } from 'components/common';\nimport GenericPlot from 'views/components/visualizations/GenericPlot';\n\ntype Props = {\n  traffic: { [key: string]: number },\n  width: number,\n  layoutExtension?: {},\n};\n\nconst TrafficGraph = ({ width, traffic, layoutExtension }: Props) => {\n  if (!traffic) {\n    return ;\n  }\n\n  const chartData = [{\n    type: 'bar',\n    x: Object.keys(traffic),\n    y: Object.values(traffic),\n  }];\n  const layout = {\n    showlegend: false,\n    margin: {\n      l: 60,\n    },\n    xaxis: {\n      type: 'date',\n      title: {\n        text: 'Time',\n      },\n    },\n    hovermode: 'x',\n    hoverlabel: {\n      namelength: -1,\n    },\n    yaxis: {\n      title: {\n        text: 'Bytes',\n      },\n      rangemode: 'tozero',\n      hoverformat: '.4s',\n      tickformat: 's',\n    },\n    ...layoutExtension,\n  };\n\n  return (\n    
\n \n
\n );\n};\n\nTrafficGraph.propTypes = {\n traffic: PropTypes.object.isRequired, // traffic is: {\"2017-11-15T15:00:00.000Z\": 68287229, ...}\n width: PropTypes.number.isRequired,\n layoutExtension: PropTypes.object,\n};\n\nTrafficGraph.defaultProps = {\n layoutExtension: {},\n};\n\nexport default TrafficGraph;\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 */\n\nimport * as React from 'react';\nimport { useState, useEffect, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport reduce from 'lodash/reduce';\nimport styled, { css } from 'styled-components';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\n\nimport EventHandlersThrottler from 'util/EventHandlersThrottler';\nimport NumberUtils from 'util/NumberUtils';\nimport { useStore } from 'stores/connect';\nimport { Col, Row, Input } from 'components/bootstrap';\nimport { Spinner } from 'components/common';\nimport { ClusterTrafficActions, ClusterTrafficStore } from 'stores/cluster/ClusterTrafficStore';\nimport { NodesStore } from 'stores/nodes/NodesStore';\nimport { formatTrafficData } from 'util/TrafficUtils';\nimport { isPermitted } from 'util/PermissionsMixin';\nimport useCurrentUser from 'hooks/useCurrentUser';\nimport useSendTelemetry from 'logic/telemetry/useSendTelemetry';\nimport { TELEMETRY_EVENT_TYPE } from 'logic/telemetry/Constants';\n\nimport TrafficGraph from './TrafficGraph';\n\nconst DAYS = [\n 30,\n 90,\n 180,\n 365,\n];\n\nconst Wrapper = styled.div`\n margin-bottom: 5px;\n\n .control-label {\n padding-top: 0;\n }\n\n .graph-days-select {\n display: flex;\n align-items: baseline;\n\n select {\n padding-top: 3px;\n height: 28px;\n }\n }\n`;\n\nconst StyledDl = styled.dl`\n margin-bottom: 0;\n`;\nconst StyledH2 = styled.h2(({ theme }) => css`\n margin-bottom: ${theme.spacings.sm};\n`);\nconst StyledH3 = styled.h3(({ theme }) => css`\n margin-bottom: ${theme.spacings.sm};\n`);\n\nconst Header = () => Graylog cluster;\n\nconst ClusterInfo = () => {\n const nodes = useStore(NodesStore);\n\n if (!nodes) {\n return ;\n }\n\n const { clusterId, nodeCount } = nodes;\n\n return (\n \n
Cluster ID:
\n
{clusterId || 'Not available'}
\n
Number of nodes:
\n
{nodeCount}
\n
\n );\n};\n\nconst GraylogClusterTrafficGraph = () => {\n const { traffic } = useStore(ClusterTrafficStore);\n const [graphDays, setGraphDays] = useState(DAYS[0]);\n const [graphWidth, setGraphWidth] = useState(600);\n const eventThrottler = useRef(new EventHandlersThrottler());\n const containerRef = useRef(null);\n const licensePlugin = PluginStore.exports('license');\n const currentUser = useCurrentUser();\n const sendTelemetry = useSendTelemetry();\n\n const onGraphDaysChange = (event: React.ChangeEvent): void => {\n event.preventDefault();\n const newDays = Number(event.target.value);\n\n setGraphDays(newDays);\n\n sendTelemetry(TELEMETRY_EVENT_TYPE.SYSTEM_OVERVIEW_OUTGOING_TRAFFIC_DAYS_CHANGED, {\n app_pathname: 'system-overview',\n app_section: 'outgoing-traffic',\n app_action_value: 'trafficgraph-days-button',\n event_details: { value: newDays },\n });\n };\n\n useEffect(() => {\n ClusterTrafficActions.getTraffic(graphDays);\n }, [graphDays]);\n\n useEffect(() => {\n const _resizeGraphs = () => {\n const { clientWidth } = containerRef.current;\n\n setGraphWidth(clientWidth);\n };\n\n const _onResize = () => {\n eventThrottler.current.throttle(() => _resizeGraphs());\n };\n\n window.addEventListener('resize', _onResize);\n\n if (containerRef.current) {\n _resizeGraphs();\n }\n\n return () => {\n window.removeEventListener('resize', _onResize);\n };\n }, []);\n\n const TrafficGraphComponent = (isPermitted(currentUser.permissions, ['licenses:read']) && licensePlugin[0]?.EnterpriseTrafficGraph) || TrafficGraph;\n let sumOutput = null;\n let trafficGraph = ;\n\n if (traffic) {\n const bytesOut = reduce(traffic.output, (result, value) => result + value);\n\n sumOutput = Last {graphDays} days: {NumberUtils.formatBytes(bytesOut)};\n\n const unixTraffic = formatTrafficData(traffic.output);\n\n trafficGraph = (\n \n );\n }\n\n return (\n <>\n \n \n {DAYS.map((size) => )}\n \n \n\n Outgoing traffic {sumOutput}\n {trafficGraph}\n \n );\n};\n\ntype Props = {\n layout?: 'default' | 'compact',\n children: React.ReactNode\n}\n\nconst GraylogClusterOverview = ({ layout, children }: Props) => {\n if (layout === 'compact') {\n return (\n \n \n
\n \n \n \n
\n {children}\n \n \n \n \n
\n \n \n );\n }\n\n return (\n \n \n
\n \n
\n {children}\n \n \n \n \n \n \n \n );\n};\n\nGraylogClusterOverview.propTypes = {\n layout: PropTypes.oneOf(['default', 'compact']),\n children: PropTypes.node,\n};\n\nGraylogClusterOverview.defaultProps = {\n layout: 'default',\n children: null,\n};\n\nexport default GraylogClusterOverview;\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 React from 'react';\nimport numeral from 'numeral';\nimport moment from 'moment';\nimport styled from 'styled-components';\n\nimport { LinkContainer } from 'components/common/router';\nimport { Alert, Col, Row, Button } from 'components/bootstrap';\nimport { Spinner } from 'components/common';\nimport DocsHelper from 'util/DocsHelper';\nimport Routes from 'routing/Routes';\nimport { DocumentationLink } from 'components/support';\nimport { IndexerFailuresStore } from 'stores/indexers/IndexerFailuresStore';\n\nconst Header = styled.div`\n display: flex;\n justify-content: space-between;\n`;\n\nconst formatTextForFailureCount = (count) => {\n if (count === 0) {\n return 'No failed indexing attempts in the last 24 hours.';\n }\n\n return There were {numeral(count).format('0,0')} failed indexing attempts in the last 24 hours.;\n};\n\nclass IndexerFailuresComponent extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {};\n }\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 \n {formatTextForFailureCount(this.state.total)}\n\n \n \n \n \n );\n\n render() {\n let content;\n\n if (this.state.total === undefined) {\n content = ;\n } else {\n content = this._formatFailuresSummary();\n }\n\n return (\n \n \n
\n

Indexer failures

\n \n
\n

\n Every message that was not successfully indexed will be logged as an indexer failure.\n

\n {content}\n \n
\n );\n }\n}\n\nexport default IndexerFailuresComponent;\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 React from 'react';\nimport styled from 'styled-components';\n\nimport { Alert } from 'components/bootstrap';\nimport type FetchError from 'logic/errors/FetchError';\n\nconst ESClusterError = styled(Alert)`\n margin-top: 10px;\n margin-bottom: 5px;\n`;\n\nconst IndexerClusterHealthError = ({ error }: { error: FetchError }) => (\n \n Could not retrieve Elasticsearch cluster health. Fetching Elasticsearch cluster health failed: {error.message}\n \n);\n\nexport default IndexerClusterHealthError;\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 React from 'react';\nimport { useQueries } from '@tanstack/react-query';\nimport styled from 'styled-components';\n\nimport { isPermitted } from 'util/PermissionsMixin';\nimport { Spinner } from 'components/common';\nimport { Row, Col } from 'components/bootstrap';\nimport { DocumentationLink } from 'components/support';\nimport DocsHelper from 'util/DocsHelper';\nimport { IndexerClusterHealthSummary } from 'components/indexers';\nimport type FetchError from 'logic/errors/FetchError';\nimport ApiRoutes from 'routing/ApiRoutes';\nimport { fetchPeriodically } from 'logic/rest/FetchProvider';\nimport * as URLUtils from 'util/URLUtils';\nimport useCurrentUser from 'hooks/useCurrentUser';\n\nimport IndexerClusterHealthError from './IndexerClusterHealthError';\n\nconst Header = styled.div`\n display: flex;\n justify-content: space-between;\n`;\n\nconst GET_INDEXER_CLUSTER_HEALTH = 'indexerCluster.health';\nconst GET_INDEXER_CLUSTER_NAME = 'indexerCluster.name';\n\nconst getIndexerClusterHealth = () => {\n const url = URLUtils.qualifyUrl(ApiRoutes.IndexerClusterApiController.health().url);\n\n return fetchPeriodically('GET', url);\n};\n\nconst getIndexerClusterName = () => {\n const url = URLUtils.qualifyUrl(ApiRoutes.IndexerClusterApiController.name().url);\n\n return fetchPeriodically('GET', url);\n};\n\nconst useLoadHealthAndName = (enabled: boolean) => {\n const options = { refetchInterval: 5000, retry: 0, enabled };\n const [\n { data: healthData, isFetching: healthIsFetching, error: healthError, isSuccess: healthIsSuccess, isRefetching: healthIsRefetching },\n { data: nameData, isFetching: nameIsFetching, error: nameError, isSuccess: nameIsSuccess, isRefetching: nameIsRefetching },\n ] = useQueries({\n queries: [\n { queryKey: [GET_INDEXER_CLUSTER_HEALTH], queryFn: getIndexerClusterHealth, ...options },\n { queryKey: [GET_INDEXER_CLUSTER_NAME], queryFn: getIndexerClusterName, ...options },\n ],\n });\n\n return ({\n health: healthData,\n name: nameData,\n error: (healthError || nameError) as FetchError,\n loading: (healthIsFetching || nameIsFetching) && !healthIsRefetching && !nameIsRefetching,\n isSuccess: healthIsSuccess && nameIsSuccess,\n });\n};\n\ntype Props = {\n minimal?: boolean,\n};\n\nconst IndexerClusterHealth = ({ minimal }: Props) => {\n const currentUser = useCurrentUser();\n const userHasRequiredPermissions = isPermitted(currentUser.permissions, 'indexercluster:read');\n const { health, name, loading, error, isSuccess } = useLoadHealthAndName(userHasRequiredPermissions);\n\n if (!userHasRequiredPermissions) {\n return null;\n }\n\n return (\n \n \n {!minimal && (\n
\n

Elasticsearch cluster

\n \n
\n )}\n\n {isSuccess && }\n {loading &&

}\n {error && }\n \n
\n );\n};\n\nIndexerClusterHealth.defaultProps = {\n minimal: false,\n};\n\nexport default IndexerClusterHealth;\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, { useMemo } from 'react';\nimport styled from 'styled-components';\n\nimport { Alert } from 'components/bootstrap';\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\nconst IndexerClusterHealthSummary = ({ health, name }: {\n health: {\n status: string,\n shards: {\n active: string,\n initializing: string,\n relocating: string,\n unassigned: string\n }\n },\n name?: {\n name: string\n }\n}) => {\n const formattedHealthStatus = health.status.toLowerCase();\n\n const alertClassForHealth = () => {\n switch (formattedHealthStatus) {\n case 'green': return 'success';\n case 'yellow': return 'warning';\n case 'red': return 'danger';\n default: return 'success';\n }\n };\n\n const formattedTextForHealth = useMemo(() => {\n const text = `Elasticsearch cluster ${name?.name || ''} is ${formattedHealthStatus}.`;\n\n switch (formattedHealthStatus) {\n case 'green': return text;\n case 'yellow':\n case 'red': return {text};\n default: return text;\n }\n }, [formattedHealthStatus, name]);\n\n return (\n \n {formattedTextForHealth}{' '}\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\nIndexerClusterHealthSummary.defaultProps = {\n name: undefined,\n};\n\nIndexerClusterHealthSummary.propTypes = {\n health: PropTypes.object.isRequired,\n name: PropTypes.object,\n};\n\nexport default IndexerClusterHealthSummary;\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 RelativeTime from 'components/common/RelativeTime';\n\nclass IndexerFailure extends React.Component {\n static propTypes = {\n failure: PropTypes.object.isRequired,\n };\n\n render() {\n const { failure } = this.props;\n\n return (\n \n \n {failure.index}\n {failure.letter_id}\n {failure.message}\n \n );\n }\n}\n\nexport default IndexerFailure;\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, Table } from 'components/bootstrap';\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","/*\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';\nimport get from 'lodash/get';\n\nimport { qualifyUrl } from 'util/URLUtils';\nimport UserNotification from 'util/UserNotification';\nimport fetch from 'logic/rest/FetchProvider';\nimport { singletonStore, singletonActions } from 'logic/singleton';\n\nexport const EnterpriseActions = singletonActions(\n 'core.Enterprise',\n () => Reflux.createActions({\n getLicenseInfo: { asyncResult: true },\n }),\n);\n\nexport const EnterpriseStore = singletonStore(\n 'core.Enterprise',\n () => Reflux.createStore({\n listenables: [EnterpriseActions],\n sourceUrl: '/enterprise/license',\n licenseStatus: undefined,\n\n getInitialState() {\n return this.getState();\n },\n\n propagateChanges() {\n this.trigger(this.getState());\n },\n\n getState() {\n return {\n licenseStatus: this.licenseStatus,\n };\n },\n\n enterpriseUrl(path = '') {\n return qualifyUrl(`${this.sourceUrl}/${path}`);\n },\n\n refresh() {\n this.getLicenseInfo();\n },\n\n getLicenseInfo() {\n const promise = fetch('GET', this.enterpriseUrl('info'));\n\n promise.then(\n (response) => {\n this.licenseStatus = response.license_info.license_status;\n this.propagateChanges();\n\n return response;\n },\n (error) => {\n const errorMessage = get(error, 'additional.body.message', error.message);\n\n UserNotification.error(`Couldn't load license information: ${errorMessage}`, 'Error');\n },\n );\n\n EnterpriseActions.getLicenseInfo.promise(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 */\n\nimport React, { useEffect, useState } from 'react';\n\nimport { Spinner } from 'components/common';\nimport usePluginEntities from 'hooks/usePluginEntities';\nimport { EnterpriseActions } from 'stores/enterprise/EnterpriseStore';\n\nimport IndexerFailuresComponent from './IndexerFailuresComponent';\n\nconst IndexerSystemOverviewComponent = () => {\n const [loadIndexerFailuresComponent, setLoadIndexerFailuresComponent] = useState();\n\n const pluginSystemOverview = usePluginEntities('systemOverview');\n const EnterpriseIndexerFailures = pluginSystemOverview?.[0]?.component;\n\n useEffect(() => {\n if (EnterpriseIndexerFailures) {\n EnterpriseActions.getLicenseInfo().then((response) => {\n setLoadIndexerFailuresComponent(response.license_info.license_status === 'installed' ? : );\n });\n } else {\n setLoadIndexerFailuresComponent();\n }\n }, [EnterpriseIndexerFailures, setLoadIndexerFailuresComponent]);\n\n return loadIndexerFailuresComponent;\n};\n\nexport default IndexerSystemOverviewComponent;\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 */\n\nimport Routes from 'routing/Routes';\nimport type { NotificationType } from 'stores/notifications/NotificationsStore';\n\nclass NotificationsFactory {\n static getValuesForNotification(notification: NotificationType) {\n switch (notification.type) {\n case 'legacy_ldap_config_migration': {\n const { auth_service_id: authServiceId } = notification.details;\n\n return {\n values: {\n AUTHENTICATION_BACKEND: Routes.SYSTEM.AUTHENTICATION.BACKENDS.show(authServiceId),\n },\n };\n }\n\n case 'no_input_running':\n case 'input_failure_shutdown':\n case 'input_failed':\n case 'input_failed_to_start': { // eslint-disable-line padding-line-between-statements\n return {\n values: {\n SYSTEM_INPUTS: Routes.SYSTEM.INPUTS,\n },\n };\n }\n\n case 'data_node_needs_provisioning':\n return {\n values: {\n DATA_NODE_CONFIGURATION: Routes.SYSTEM.configurationsSection('Data Node'),\n },\n };\n\n default:\n return undefined;\n }\n }\n}\n\nexport default NotificationsFactory;\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 { useEffect } from 'react';\n\nimport { useStore } from 'stores/connect';\nimport NotificationsFactory from 'logic/notifications/NotificationsFactory';\nimport type { NotificationType } from 'stores/notifications/NotificationsStore';\nimport { NotificationsStore, NotificationsActions } from 'stores/notifications/NotificationsStore';\n\nconst useNotificationMessage = (notification: NotificationType) => {\n const { messages } = useStore(NotificationsStore);\n\n useEffect(() => {\n NotificationsActions.getHtmlMessage(notification.type, notification.key, NotificationsFactory.getValuesForNotification(notification));\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const key = `${notification.type}-${notification.key}`;\n\n return messages?.[key];\n};\n\nexport default useNotificationMessage;\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';\nimport DOMPurify from 'dompurify';\n\nimport { Alert } from 'components/bootstrap';\nimport { RelativeTime, Spinner } from 'components/common';\nimport type { NotificationType } from 'stores/notifications/NotificationsStore';\nimport { NotificationsActions } from 'stores/notifications/NotificationsStore';\nimport useNotificationMessage from 'hooks/useNotificationMessage';\n\ntype Props = {\n notification: NotificationType,\n};\n\nconst StyledAlert = styled(Alert)(({ theme }) => css`\n margin-top: 10px;\n\n i {\n color: ${theme.colors.gray[10]};\n }\n\n form {\n margin-bottom: 0;\n }\n`);\n\nconst NotificationTimestamp = styled.span(({ theme }) => css`\n margin-left: 3px;\n font-size: ${theme.fonts.size.small};\n`);\n\nconst _sanitizeDescription = (description) => DOMPurify.sanitize(description);\n\nconst Notification = ({ notification }: Props) => {\n const message = useNotificationMessage(notification);\n\n const _onClose = () => {\n // eslint-disable-next-line no-alert\n if (window.confirm('Really delete this notification?')) {\n NotificationsActions.delete(notification.type, notification.key);\n }\n };\n\n if (!message) {\n return ;\n }\n\n /* eslint-disable react/no-danger */\n return (\n \n {message.title}{' '}\n\n \n (triggered )\n \n \n )}\n onDismiss={_onClose}>\n
\n \n );\n};\n\nNotification.propTypes = {\n notification: PropTypes.exact({\n severity: PropTypes.string.isRequired,\n details: PropTypes.object,\n type: PropTypes.string.isRequired,\n key: PropTypes.string,\n timestamp: PropTypes.string.isRequired,\n node_id: PropTypes.string.isRequired,\n }).isRequired,\n};\n\nexport default Notification;\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 React from 'react';\n\nimport { Alert, Row, Col } from 'components/bootstrap';\nimport { Spinner } from 'components/common';\nimport Notification from 'components/notifications/Notification';\nimport type { NotificationType } from 'stores/notifications/NotificationsStore';\nimport { NotificationsStore } from 'stores/notifications/NotificationsStore';\nimport { useStore } from 'stores/connect';\n\nconst _formatNotificationCount = (count: number) => {\n if (count === 1) {\n return 'is one notification';\n }\n\n return `are ${count} notifications`;\n};\n\nconst getTitle = (count) => (count === 0 ? 'No notifications' : `There ${_formatNotificationCount(count)}`);\n\nconst getContent = (count: number, notificationsList: Array) => (count === 0 ? (\n \n No notifications\n \n) : (\n notificationsList?.map((notification) => )\n));\n\nconst NotificationsList = () => {\n const { notifications, total } = useStore(NotificationsStore);\n\n if (!notifications) {\n return ;\n }\n\n return (\n \n \n

{getTitle(total)}

\n

\n Notifications are triggered by Graylog and indicate a situation you should act upon. Many notification\n types will also provide a link to the Graylog documentation if you need more information or assistance.\n

\n\n {getContent(total, notifications)}\n \n
\n );\n};\n\nexport default NotificationsList;\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 ApiRoutes from 'routing/ApiRoutes';\nimport fetch, { fetchPeriodically } from 'logic/rest/FetchProvider';\nimport { singletonStore, singletonActions } from 'logic/singleton';\n\nexport const SystemJobsActions = singletonActions(\n 'core.SystemJobs',\n () => Reflux.createActions({\n list: { asyncResult: true },\n getJob: { asyncResult: true },\n acknowledgeJob: { asyncResult: true },\n cancelJob: { asyncResult: true },\n }),\n);\n\nexport const SystemJobsStore = singletonStore(\n 'core.SystemJobs',\n () => Reflux.createStore({\n listenables: [SystemJobsActions],\n\n jobsById: {},\n\n getInitialState() {\n return { jobs: this.jobs, jobsById: this.jobsById };\n },\n list() {\n const url = URLUtils.qualifyUrl(ApiRoutes.SystemJobsApiController.list().url);\n const promise = fetchPeriodically('GET', url).then((response) => {\n this.jobs = response;\n this.trigger({ jobs: response });\n\n return response;\n });\n\n SystemJobsActions.list.promise(promise);\n },\n getJob(jobId) {\n const url = URLUtils.qualifyUrl(ApiRoutes.SystemJobsApiController.getJob(jobId).url);\n const promise = fetch('GET', url).then((response) => {\n this.jobsById = { ...this.jobsById, [response.id]: response };\n this.trigger({ jobsById: this.jobsById });\n\n return response;\n }, () => {\n // If we get an error (probably 404 because the job is gone), remove the job from the cache and trigger an update.\n const { [jobId]: currentJob, ...rest } = this.jobsById;\n\n this.jobsById = rest;\n this.trigger({ jobsById: this.jobsById });\n });\n\n SystemJobsActions.getJob.promise(promise);\n },\n acknowledgeJob(jobId) {\n const url = URLUtils.qualifyUrl(ApiRoutes.SystemJobsApiController.acknowledgeJob(jobId).url);\n const promise = fetch('DELETE', url).then((response) => {\n delete (this.jobsById[response.id]);\n });\n\n SystemJobsActions.acknowledgeJob.promise(promise);\n },\n cancelJob(jobId) {\n const url = URLUtils.qualifyUrl(ApiRoutes.SystemJobsApiController.cancelJob(jobId).url);\n const promise = fetch('DELETE', url).then((response) => {\n delete (this.jobsById[response.id]);\n });\n\n SystemJobsActions.cancelJob.promise(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 React from 'react';\nimport PropTypes from 'prop-types';\nimport styled, { css } from 'styled-components';\n\nimport { ProgressBar, LinkToNode, RelativeTime, Icon } from 'components/common';\nimport { Button } from 'components/bootstrap';\nimport { SystemJobsActions } from 'stores/systemjobs/SystemJobsStore';\nimport UserNotification from 'util/UserNotification';\nimport { StyledBadge } from 'components/bootstrap/Badge';\n\nenum JobStatus {\n Cancelled = 'cancelled',\n Complete = 'complete',\n Error = 'error',\n Paused = 'paused',\n Runnable = 'runnable',\n Running = 'running',\n}\n\nconst StatusBadge = styled(StyledBadge)(({ status, theme }) => {\n const {\n primary,\n success,\n info,\n warning,\n danger,\n } = theme.colors.variant.dark;\n const statuses = {\n cancelled: warning,\n complete: success,\n error: danger,\n queued: info,\n running: primary,\n };\n const color = statuses[status] ?? info;\n\n return css`\n margin-left: 4px;\n background-color: ${color};\n color: ${theme.utils.readableColor(color)};\n`;\n});\n\nconst StyledProgressBar = styled(ProgressBar)`\n margin-top: 2px;\n margin-bottom: 5px;\n`;\n\nconst JobWrap = styled.div`\n margin-bottom: 5px;\n`;\n\nconst AcknowledgeButton = styled(Button)(({ theme }) => css`\n && {\n color: ${theme.colors.variant.light.default};\n \n &:hover {\n color: ${theme.colors.variant.default};\n }\n }\n`);\n\nconst SystemJob = ({ job }) => {\n const jobIsOver = job.job_status === JobStatus.Complete\n || job.percent_complete === 100\n || job.job_status === JobStatus.Cancelled\n || job.job_status === JobStatus.Error;\n const mappedJobStatus = job.job_status === JobStatus.Runnable ? 'queued' : job.job_status;\n\n const _onAcknowledge = () => (e) => {\n e.preventDefault();\n\n SystemJobsActions.acknowledgeJob(job.id).catch((error) => {\n UserNotification.error(error.responseMessage, 'Unable to acknowledge the job');\n });\n };\n\n const _onCancel = () => (e) => {\n e.preventDefault();\n\n // eslint-disable-next-line no-alert\n if (window.confirm(`Are you sure you want to cancel system job \"${job.info}\"?`)) {\n SystemJobsActions.cancelJob(job.id).catch((error) => {\n UserNotification.error(error.responseMessage, 'Unable to cancel the job');\n });\n }\n };\n\n return (\n
\n \n {' '}\n {job.info}{' '}\n - on {' '}\n {' '}\n \n {mappedJobStatus}\n \n {!jobIsOver && job.is_cancelable\n ? ()\n : ()}\n \n\n {!jobIsOver && }\n
\n );\n};\n\nSystemJob.propTypes = {\n job: PropTypes.shape({\n info: PropTypes.string,\n id: PropTypes.string,\n percent_complete: PropTypes.number,\n is_cancelable: PropTypes.bool,\n name: PropTypes.string,\n node_id: PropTypes.string,\n started_at: PropTypes.string,\n execution_duration: PropTypes.string,\n job_status: PropTypes.oneOf(Object.values(JobStatus)),\n }).isRequired,\n};\n\nexport default SystemJob;\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 React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { SystemJobsList } from 'components/systemjobs';\nimport { Col, Row } from 'components/bootstrap';\nimport { Spinner } from 'components/common';\nimport connect from 'stores/connect';\nimport { SystemJobsActions, SystemJobsStore } from 'stores/systemjobs/SystemJobsStore';\n\nconst SystemJobsComponent = ({ jobs }) => {\n useEffect(() => {\n SystemJobsActions.list();\n const interval = setInterval(SystemJobsActions.list, 2000);\n\n return () => {\n clearInterval(interval);\n };\n }, []);\n\n if (!jobs) {\n return ;\n }\n\n const jobList = Object.keys(jobs)\n .map((nodeId) => (jobs[nodeId] ? jobs[nodeId].jobs : []))\n .reduce((a, b) => a.concat(b), []);\n\n return (\n \n \n

System jobs

\n

\n A system job is a long-running task a graylog-server node executes for maintenance reasons. Some jobs\n provide progress information or can be stopped.\n

\n\n \n \n
\n );\n};\n\nSystemJobsComponent.propTypes = {\n jobs: PropTypes.objectOf(\n PropTypes.shape({\n jobs: PropTypes.array,\n }),\n ),\n};\n\nSystemJobsComponent.defaultProps = {\n jobs: undefined,\n};\n\nexport default connect(SystemJobsComponent,\n { systemJobsStore: SystemJobsStore },\n ({ systemJobsStore }) => ({ jobs: (systemJobsStore as any).jobs }));\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, { css } from 'styled-components';\n\nimport { SystemJob } from 'components/systemjobs';\nimport { Alert } from 'components/bootstrap';\n\nconst SystemJobWrap = styled.div(({ theme }) => css`\n margin-top: 10px;\n border-bottom: 1px solid ${theme.colors.gray[80]};\n\n .progress {\n margin-top: 2px;\n margin-bottom: 5px;\n }\n\n .finished {\n display: none;\n position: relative;\n top: -1px;\n left: 2px;\n font-family: Arial, sans-serif;\n font-size: ${theme.fonts.size.small};\n }\n`);\n\nconst StyledAlert = styled(Alert)`\n margin-top: 10px;\n`;\n\nconst SystemJobsList = ({ jobs }): React.ReactElement => {\n const formatSystemJob = (job) => (\n \n \n \n );\n\n const formattedJobs = jobs.map(formatSystemJob);\n\n return (\n (formattedJobs.length === 0)\n ? (\n \n No active system jobs.\n \n )\n : (\n \n {formattedJobs}\n \n )\n );\n};\n\nSystemJobsList.propTypes = {\n jobs: PropTypes.arrayOf(PropTypes.object).isRequired,\n};\n\nexport default SystemJobsList;\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';\n\nimport { LinkToNode } from 'components/common';\n\nclass SystemMessage extends React.Component {\n static propTypes = {\n message: PropTypes.object.isRequired,\n };\n\n render() {\n const { message } = this.props;\n\n return (\n \n {moment(message.timestamp).format()}\n \n \n \n {message.content}\n \n );\n }\n}\n\nexport default SystemMessage;\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 ApiRoutes from 'routing/ApiRoutes';\nimport { fetchPeriodically } from 'logic/rest/FetchProvider';\nimport { singletonStore } from 'logic/singleton';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const SystemMessagesStore = singletonStore(\n 'core.SystemMessages',\n () => Reflux.createStore({\n listenables: [],\n\n all(page) {\n const url = URLUtils.qualifyUrl(ApiRoutes.SystemMessagesApiController.all(page).url);\n\n return fetchPeriodically('GET', url);\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 React from 'react';\n\nimport { Col, Row } from 'components/bootstrap';\nimport { Pagination, Spinner } from 'components/common';\nimport { SystemMessagesList } from 'components/systemmessages';\nimport { SystemMessagesStore } from 'stores/systemmessages/SystemMessagesStore';\n\nclass SystemMessagesComponent extends React.Component {\n PER_PAGE = 30;\n\n constructor(props) {\n super(props);\n\n this.state = { currentPage: 1 };\n }\n\n componentDidMount() {\n const { currentPage } = this.state;\n\n this.loadMessages(currentPage);\n\n this.interval = setInterval(() => {\n const { currentPage: page } = this.state;\n this.loadMessages(page);\n }, 1000);\n }\n\n componentWillUnmount() {\n clearInterval(this.interval);\n }\n\n loadMessages = (page) => {\n SystemMessagesStore.all(page).then((response) => {\n this.setState(response);\n });\n };\n\n _onSelected = (selectedPage) => {\n this.setState({ currentPage: selectedPage });\n this.loadMessages(selectedPage);\n };\n\n render() {\n const { currentPage, messages, total } = this.state;\n let content;\n\n if (total && messages) {\n const numberPages = Math.ceil(total / this.PER_PAGE);\n\n content = (\n
\n \n\n \n
\n );\n } else {\n content = ;\n }\n\n return (\n \n \n

System messages

\n\n

\n System messages are generated by graylog-server nodes on certain events that may be interesting for\n the Graylog administrators. You don't need to actively act upon any message in here because notifications\n will be raised for any events that required action.\n

\n\n {content}\n \n
\n );\n }\n}\n\nexport default SystemMessagesComponent;\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, { css } from 'styled-components';\n\nimport { Table } from 'components/bootstrap';\nimport { SystemMessage } from 'components/systemmessages';\n\nconst SystemMessagesTable = styled(Table)(({ theme }) => css`\n font-size: ${theme.fonts.size.body};\n\n a {\n color: ${theme.colors.global.textDefault};\n }\n`);\n\nconst TimestampTH = styled.th`\n width: 200px;\n`;\n\nconst SystemMessagesList = ({ messages }) => (\n \n \n \n Timestamp\n Node\n Message\n \n \n\n \n {messages.map((message) => )}\n \n \n);\n\nSystemMessagesList.propTypes = {\n messages: PropTypes.arrayOf(PropTypes.object).isRequired,\n};\n\nexport default SystemMessagesList;\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 React from 'react';\n// eslint-disable-next-line no-restricted-imports\nimport createReactClass from 'create-react-class';\nimport Reflux from 'reflux';\nimport moment from 'moment';\n\nimport { Col, Row } from 'components/bootstrap';\nimport { Spinner, Timestamp, BrowserTime } from 'components/common';\nimport { CurrentUserStore } from 'stores/users/CurrentUserStore';\nimport { SystemStore } from 'stores/system/SystemStore';\n\nconst TimesList = createReactClass({\n // eslint-disable-next-line react/no-unused-class-component-methods\n displayName: 'TimesList',\n mixins: [Reflux.connect(CurrentUserStore), Reflux.connect(SystemStore)],\n\n getInitialState() {\n return { time: moment() };\n },\n\n componentDidMount() {\n this.interval = setInterval(() => this.setState(this.getInitialState()), 1000);\n },\n\n componentWillUnmount() {\n clearInterval(this.interval);\n },\n\n render() {\n if (!this.state.system) {\n return ;\n }\n\n const { time } = this.state;\n const timeFormat = 'withTz';\n const { currentUser } = this.state;\n const serverTimezone = this.state.system.timezone;\n\n return (\n \n \n

Time configuration

\n\n

\n Dealing with timezones can be confusing. Here you can see the timezone applied to different components of your system.\n You can check timezone settings of specific graylog-server nodes on their respective detail page.\n

\n\n
\n
User {currentUser.username}:
\n
\n
Your web browser:
\n
\n
Graylog server:
\n
\n
\n \n
\n );\n },\n});\n\nexport default TimesList;\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';\n\nimport { DocumentTitle, IfPermitted } from 'components/common';\nimport { IndexerClusterHealth } from 'components/indexers';\nimport IndexerSystemOverviewComponent from 'components/indexers/IndexerSystemOverviewComponent';\nimport { NotificationsList } from 'components/notifications';\nimport { SystemJobsComponent } from 'components/systemjobs';\nimport { SystemMessagesComponent } from 'components/systemmessages';\nimport { TimesList } from 'components/times';\nimport { GraylogClusterOverview } from 'components/cluster';\nimport HideOnCloud from 'util/conditional/HideOnCloud';\n\nconst SystemOverviewPage = () => (\n \n \n \n \n \n\n \n \n \n \n \n\n \n\n \n \n \n\n \n \n \n \n\n \n \n \n \n \n);\n\nexport default SystemOverviewPage;\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';\nimport moment from 'moment';\n\nimport * as URLUtils from 'util/URLUtils';\nimport ApiRoutes from 'routing/ApiRoutes';\nimport fetch from 'logic/rest/FetchProvider';\nimport { singletonStore } from 'logic/singleton';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const IndexerFailuresStore = singletonStore(\n 'core.IndexerFailures',\n () => Reflux.createStore({\n listenables: [],\n\n list(limit, offset) {\n const url = URLUtils.qualifyUrl(ApiRoutes.IndexerFailuresApiController.list(limit, offset).url);\n\n return fetch('GET', url);\n },\n\n count(since) {\n const momentSince = since.format ? since : moment(since);\n const isoSince = momentSince.format('YYYY-MM-DDTHH:mm:ss.SSS');\n const url = URLUtils.qualifyUrl(ApiRoutes.IndexerFailuresApiController.count(isoSince).url);\n\n return fetch('GET', url);\n },\n }),\n);\n"],"names":["DEFAULT_TIMEOUT","EventHandlersThrottler","eventHandler","timeout","ClusterTrafficActions","singleton","ClusterTrafficStore","days","promise","URLUtils","response","formatTrafficData","traffic","dailySums","value","key","d","t","entry","val","TrafficGraph","width","layoutExtension","chartData","layout","GenericPlot","DAYS","Wrapper","StyledDl","StyledH2","theme","StyledH3","Header","ClusterInfo","nodes","NodesStore","clusterId","nodeCount","GraylogClusterTrafficGraph","graphDays","setGraphDays","graphWidth","setGraphWidth","eventThrottler","containerRef","licensePlugin","currentUser","useCurrentUser","sendTelemetry","useSendTelemetry","onGraphDaysChange","event","newDays","_resizeGraphs","clientWidth","_onResize","TrafficGraphComponent","sumOutput","trafficGraph","bytesOut","result","NumberUtils","unixTraffic","size","GraylogClusterOverview","children","formatTextForFailureCount","count","IndexerFailuresComponent","props","since","content","ESClusterError","error","GET_INDEXER_CLUSTER_HEALTH","GET_INDEXER_CLUSTER_NAME","getIndexerClusterHealth","url","ApiRoutes","getIndexerClusterName","useLoadHealthAndName","enabled","options","healthData","healthIsFetching","healthError","healthIsSuccess","healthIsRefetching","nameData","nameIsFetching","nameError","nameIsSuccess","nameIsRefetching","IndexerClusterHealth","minimal","userHasRequiredPermissions","health","name","loading","isSuccess","DocsHelper","ESClusterStatus","IndexerClusterHealthSummary","formattedHealthStatus","alertClassForHealth","formattedTextForHealth","text","IndexerFailure","failure","RelativeTime","IndexerFailuresList","EnterpriseActions","EnterpriseStore","path","errorMessage","UserNotification","loadIndexerFailuresComponent","setLoadIndexerFailuresComponent","pluginSystemOverview","usePluginEntities","EnterpriseIndexerFailures","NotificationsFactory","notification","authServiceId","Routes","messages","NotificationsStore","StyledAlert","NotificationTimestamp","_sanitizeDescription","description","Notification","message","_onClose","_formatNotificationCount","getTitle","getContent","notificationsList","notifications","total","SystemJobsActions","SystemJobsStore","jobId","currentJob","rest","JobStatus","StatusBadge","status","primary","success","info","warning","danger","color","StyledProgressBar","JobWrap","AcknowledgeButton","SystemJob","job","jobIsOver","mappedJobStatus","_onAcknowledge","e","_onCancel","SystemJobsComponent","jobs","interval","jobList","nodeId","a","b","connect","systemJobsStore","SystemJobWrap","SystemJobsList","formatSystemJob","formattedJobs","SystemMessage","SystemMessagesStore","page","SystemMessagesComponent","selectedPage","currentPage","numberPages","SystemMessagesTable","TimestampTH","SystemMessagesList","CurrentUserStore","SystemStore","time","timeFormat","serverTimezone","HideOnCloud","IndexerFailuresStore","limit","offset","isoSince"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy