web-interface.assets.1255d548-3580.a3aed76e2616a8df2e33.js.map Maven / Gradle / Ivy
{"version":3,"file":"1255d548-3580.a3aed76e2616a8df2e33.js","mappings":"uTA0BA,MAAMA,EAAU,IAAU,QAAQ,EAqClC,EAnCmB,IAAM,CACvB,MAAMC,KAAc,KAAe,EAEnC,sBAAU,IAAM,CACd,MAAMC,EAAqB,YAAY,IAAiB,KAAM,GAAI,EAElE,MAAO,IAAM,CACX,cAAcA,CAAkB,CAClC,CACF,EAAG,CAAC,CAAC,EAGH,gBAAC,KAAa,CAAC,MAAM,UACnB,gBAAC,WACC,gBAAC,KAAU,CAAC,MAAM,UACfF,EAEG,gCACE,gBAAC,SAAE,qLAEH,EACA,gBAAC,SAAE,0GAEI,gBAAC,IAAI,CAAC,GAAI,KAAO,YAAY,mBAAmB,GAAG,WAAS,EAAO,GAC1E,CACF,EAEA,gBAAC,YAAK,4FAA0F,CACtG,EACA,gBAAC,KAAU,CAAC,YAAaC,EAAY,YAAa,CACpD,CACF,CAEJ,C","sources":["webpack://graylog-web-interface/./src/pages/InputsPage.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 { DocumentTitle, PageHeader } from 'components/common';\nimport { InputsList } from 'components/inputs';\nimport { InputStatesStore } from 'stores/inputs/InputStatesStore';\nimport useCurrentUser from 'hooks/useCurrentUser';\nimport AppConfig from 'util/AppConfig';\nimport { Link } from 'components/common/router';\nimport Routes from 'routing/Routes';\n\nconst isCloud = AppConfig.isCloud();\n\nconst InputsPage = () => {\n const currentUser = useCurrentUser();\n\n useEffect(() => {\n const listInputsInterval = setInterval(InputStatesStore.list, 2000);\n\n return () => {\n clearInterval(listInputsInterval);\n };\n }, []);\n\n return (\n \n \n \n {isCloud\n ? (\n <>\n Graylog cloud accepts data via inputs. There are many types of inputs to choose from, but only some\n can run directly in the cloud. You can launch and terminate them on this page.\n
\n \n If you are missing an input type on this page's list of available inputs, you can start the input\n on a Forwarder.\n
\n >\n )\n : Graylog nodes accept data via inputs. Launch or terminate as many inputs as you want here.}\n \n \n \n \n );\n};\n\nexport default InputsPage;\n"],"names":["isCloud","currentUser","listInputsInterval"],"sourceRoot":""}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy