web-interface.assets.bb8c8232-2637.09fe510e90a27261c76f.js.map Maven / Gradle / Ivy
{"version":3,"file":"bb8c8232-2637.09fe510e90a27261c76f.js","mappings":"qWA8BA,MAAMA,EAAiB,IAAM,CAC3B,KAAM,CAAE,OAAAC,CAAO,KAAI,KAAU,EAEvBC,KAAc,KAAe,EAC7B,CAAE,MAAAC,CAAM,KAAI,KAAS,GAAU,EAC/BC,EAAOD,GAAA,YAAAA,EAAQF,CAAM,EAU3B,MARA,aAAU,IAAM,CACd,MAAMI,EAAW,YAAY,IAAiB,KAAM,GAAI,EAExD,MAAO,IAAM,CACX,cAAcA,CAAQ,CACxB,CACF,EAAG,CAAC,CAAC,EAED,CAACD,EACH,OAAO,gBAAC,KAAO,IAAC,EAGlB,MAAME,EAAQ,gBAAC,YAAK,kBAAgBF,EAAK,cAAc,MAAIA,EAAK,QAAS,EAEzE,OACE,gBAAC,KAAa,CAAC,MAAO,kBAAkBA,EAAK,aAAa,MAAMA,EAAK,QAAQ,IAC3E,gBAAC,WACC,gBAAC,KAAU,CAAC,MAAAE,CAAA,EACV,gBAAC,YAAK,iHAC0G,gBAAC,SAAG,EAAE,uDAChE,gBAAC,IAAI,CAAC,GAAI,KAAO,OAAO,QAAQ,MAAI,EAAO,GACjG,CACF,EACA,gBAAC,KAAU,CAAC,YAAaJ,EAAY,YAAa,KAAAE,CAAA,CAAY,CAChE,CACF,CAEJ,EAEA,KAAe,KAAWJ,CAAc,C,0EClCxC,QANiDO,GAAgGC,GAAU,CACzJ,MAAMC,KAAS,aAAU,EAEzB,OAAO,gBAACF,EAAA,CAAW,GAAGC,EAAgB,OAAAC,CAAA,CAAgB,CACxD,C","sources":["webpack://graylog-web-interface/./src/pages/NodeInputsPage.tsx","webpack://graylog-web-interface/./src/routing/withParams.tsx"],"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 React, { useEffect } from 'react';\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 { InputStatesStore } from 'stores/inputs/InputStatesStore';\nimport { NodesStore } from 'stores/nodes/NodesStore';\nimport useParams from 'routing/useParams';\nimport { useStore } from 'stores/connect';\n\nimport useCurrentUser from '../hooks/useCurrentUser';\n\nconst NodeInputsPage = () => {\n const { nodeId } = useParams();\n\n const currentUser = useCurrentUser();\n const { nodes } = useStore(NodesStore);\n const node = nodes?.[nodeId];\n\n useEffect(() => {\n const interval = setInterval(InputStatesStore.list, 2000);\n\n return () => {\n clearInterval(interval);\n };\n }, []);\n\n if (!node) {\n return ;\n }\n\n const title = Inputs of node {node.short_node_id} / {node.hostname};\n\n return (\n \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 You can launch and terminate inputs on your cluster here.\n \n \n \n \n \n );\n};\n\nexport default withParams(NodeInputsPage);\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 { useParams } from 'react-router-dom';\nimport type { Subtract } from 'utility-types';\n\ntype ParamsContext = {\n params: {\n [key: string]: string | null | undefined;\n };\n};\n\nconst withParams = (Component: React.ComponentType): React.ComponentType> => (props) => {\n const params = useParams();\n\n return ;\n};\n\nexport default withParams;\n"],"names":["NodeInputsPage","nodeId","currentUser","nodes","node","interval","title","Component","props","params"],"sourceRoot":""}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy