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

web-interface.assets.b6fe2bb5-7430.ca868756ee4330c427fb.js.map Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
{"version":3,"file":"b6fe2bb5-7430.ca868756ee4330c427fb.js","mappings":"0YAkCA,IAAMA,EAAiBC,GAAAA,CAAiB,CACtCC,YAAa,iBAEbC,UAAW,CACTC,OAAQC,IAAAA,OAAAA,YAGVC,OAAQ,CAACC,IAAAA,QAAeC,EAAAA,GAAmBD,IAAAA,cAAqBE,EAAAA,EAAY,QAX9E,SAAoBC,GAClB,OAAOA,EAAMC,MAAQD,EAAMC,MAAMC,KAAKC,MAAMT,OAAOU,QAAUJ,EAAMC,UAYnEI,kBATsC,WAUpCH,KAAKI,SAAWC,YAAYC,EAAAA,EAAAA,KAAuB,MAGrDC,qBAbsC,WAcpCC,cAAcR,KAAKI,WAGrBK,WAjBsC,WAkBpC,OAAQT,KAAKF,MAAMY,MAGrBC,OArBsC,WAsBpC,GAAIX,KAAKS,aACP,OAAO,gBAAC,KAAD,MAGT,IAAMG,EAAQ,8CAAsBZ,KAAKF,MAAMY,KAAKG,cAAtC,MAAwDb,KAAKF,MAAMY,KAAKI,UAEtF,OACE,gBAAC,KAAD,CAAeF,MAAK,yBAAoBZ,KAAKF,MAAMY,KAAKG,cAApC,cAAuDb,KAAKF,MAAMY,KAAKI,WACzF,2BACE,gBAAC,KAAD,CAAYF,MAAOA,GACjB,8IAEA,mFACsD,gBAAC,IAAD,CAAMG,GAAIC,EAAAA,GAAAA,OAAAA,QAAV,QADtD,MAIF,gBAAC,KAAD,CAAYC,YAAajB,KAAKF,MAAMoB,YAAYD,YAAaP,KAAMV,KAAKF,MAAMY,YAOxF,SAAeS,EAAAA,EAAAA,GAAW/B","sources":["webpack://graylog-web-interface/./src/pages/NodeInputsPage.jsx"],"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';\n\nimport { Link } from 'components/common/router';\nimport { DocumentTitle, PageHeader, Spinner } from 'components/common';\nimport { InputsList } from 'components/inputs';\nimport Routes from 'routing/Routes';\nimport withParams from 'routing/withParams';\nimport { CurrentUserStore } from 'stores/users/CurrentUserStore';\nimport { InputStatesStore } from 'stores/inputs/InputStatesStore';\nimport { NodesStore } from 'stores/nodes/NodesStore';\n\nfunction nodeFilter(state) {\n  return state.nodes ? state.nodes[this.props.params.nodeId] : state.nodes;\n}\n\nconst NodeInputsPage = createReactClass({\n  displayName: 'NodeInputsPage',\n\n  propTypes: {\n    params: PropTypes.object.isRequired,\n  },\n\n  mixins: [Reflux.connect(CurrentUserStore), Reflux.connectFilter(NodesStore, 'node', nodeFilter)],\n\n  componentDidMount() {\n    this.interval = setInterval(InputStatesStore.list, 2000);\n  },\n\n  componentWillUnmount() {\n    clearInterval(this.interval);\n  },\n\n  _isLoading() {\n    return !this.state.node;\n  },\n\n  render() {\n    if (this._isLoading()) {\n      return ;\n    }\n\n    const title = Inputs of node {this.state.node.short_node_id} / {this.state.node.hostname};\n\n    return (\n      \n        
\n \n Graylog nodes accept data via inputs. On this page you can see which inputs are running on this specific node.\n\n \n You can launch and terminate inputs on your cluster here.\n \n \n \n
\n
\n );\n },\n});\n\nexport default withParams(NodeInputsPage);\n"],"names":["NodeInputsPage","createReactClass","displayName","propTypes","params","PropTypes","mixins","Reflux","CurrentUserStore","NodesStore","state","nodes","this","props","nodeId","componentDidMount","interval","setInterval","InputStatesStore","componentWillUnmount","clearInterval","_isLoading","node","render","title","short_node_id","hostname","to","Routes","permissions","currentUser","withParams"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy