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

web-interface.assets.1255d548-2065.e74b793f1df9b912dccc.js.map Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
{"version":3,"file":"1255d548-2065.e74b793f1df9b912dccc.js","mappings":"0NAGIA,EAA0B,IAA4B,GAAqC,EAE/FA,EAAwB,KAAK,CAACC,EAAO,GAAI;AAAA;AAAA;AAAA,EAGtC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,+FAA+F,EAAE,MAAQ,CAAC,EAAE,SAAW,yBAAyB,eAAiB,CAAC;AAAA;AAAA;AAAA,CAAkD,EAAE,WAAa,EAAE,CAAC,CAAC,EAErQD,EAAwB,OAAS,CAChC,UAAa,sBACd,EACA,QAAeA,C,4FCVXA,EAA0B,IAA4B,GAAqC,EAE/FA,EAAwB,KAAK,CAACC,EAAO,GAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAyBtC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,gEAAgE,EAAE,MAAQ,CAAC,EAAE,SAAW,qNAAqN,eAAiB,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAoc,EAAE,WAAa,EAAE,CAAC,CAAC,EAEpzBD,EAAwB,OAAS,CAChC,WAAc,uBACd,gBAAmB,uBACnB,UAAa,uBACb,eAAkB,sBACnB,EACA,QAAeA,C,gVChBf,MAAME,UAAkC,WAAgB,CAAxD,kCAWE,6BAAuBC,IAAmB,CAAE,KAAM,KAAK,MAAM,KAAM,OAAQA,GAAiB,KAAK,MAAM,aAAc,EAAE,EAEvH,0BAAoBC,GAAU,CAC5B,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nF,oCAAoC,CACxC,CACF,EAEFwB,EAAgB,YAAY,QAAQ1K,CAAO,CAC7C,EAEA,WAAW6E,EAAO+F,EAAQ,CACxB,KAAM,CAAE,IAAA5C,CAAI,EAAI,IAAU,mBAAmB,QAAQnD,EAAO,mBAAmB,IAAY,UAAU+F,CAAM,CAAC,CAAC,EACvG5K,KAAU,MAAM,MAAO,KAAoBgI,CAAG,CAAC,EAClD,KACEF,GAAaA,EAAS,OACtBvB,GAAU,CACT,IAAiB,MAAM,2CAA2CA,CAAK,GACrE,6BAA6B,CACjC,CACF,EAEFmE,EAAgB,WAAW,QAAQ1K,CAAO,CAC5C,EAEA,eAAemC,EAAS0I,EAAeC,EAAOC,EAAoB,CAChE,KAAM,CAAE,IAAA/C,CAAI,EAAI,IAAU,mBAAmB,MAAM,EAC7CgD,EAAU,CACd,QAAA7I,EACA,eAAgB0I,EAChB,MAAAC,EACA,cAAeC,CACjB,EAEM/K,KAAU,MAAM,OAAQ,KAAoBgI,CAAG,EAAGgD,CAAO,EAC5D,KACElD,GAAa,IAAiB,oBAAoBA,CAAQ,EAC1DvB,GAAU,CACT,GAAIA,EAAM,YAAcA,EAAM,WAAW,SAAW,IAAK,CACvD,IAAiB,MAAM,iHAC2B,4BAA4B,EAE9E,MACF,CAEA,IAAiB,MAAM,2CAA2CA,CAAK,GACrE,4BAA4B,CAChC,CACF,EAEFmE,EAAgB,eAAe,QAAQ1K,CAAO,CAChD,CACF,CAAC,CACH,C","sources":["webpack://graylog-web-interface/./src/components/extractors/extractors_configuration/GrokExtractorConfiguration.css","webpack://graylog-web-interface/./src/components/grok-patterns/GrokPatternFilter.css","webpack://graylog-web-interface/./src/components/extractors/converters_configuration/CSVConverterConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/converters_configuration/DateConverterConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/converters_configuration/FlexdateConverterConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/converters_configuration/HashConverterConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/converters_configuration/IpAnonymizerConverterConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/converters_configuration/LowercaseConverterConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/converters_configuration/NumericConverterConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/converters_configuration/SplitAndCountConverterConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/converters_configuration/SyslogPriFacilityConverterConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/converters_configuration/SyslogPriLevelConverterConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/converters_configuration/TokenizerConverterConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/converters_configuration/UppercaseConverterConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/converters_configuration/LookupTableConverterConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/EditExtractorConverters.jsx","webpack://graylog-web-interface/./src/components/extractors/extractors_configuration/CopyInputExtractorConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/extractors_configuration/GrokExtractorConfiguration.css?48e4","webpack://graylog-web-interface/./src/components/extractors/extractors_configuration/GrokExtractorConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/extractors_configuration/JSONExtractorConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/extractors_configuration/RegexExtractorConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/extractors_configuration/RegexReplaceExtractorConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/extractors_configuration/SplitAndIndexExtractorConfiguration.tsx","webpack://graylog-web-interface/./src/components/extractors/extractors_configuration/SubstringExtractorConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/extractors_configuration/LookupTableExtractorConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/EditExtractorConfiguration.jsx","webpack://graylog-web-interface/./src/components/extractors/ExtractorExampleMessage.jsx","webpack://graylog-web-interface/./src/components/extractors/EditExtractor.jsx","webpack://graylog-web-interface/./src/components/extractors/MessageLoader.tsx","webpack://graylog-web-interface/./src/components/grok-patterns/GrokPatternFilter.css?6aa1","webpack://graylog-web-interface/./src/components/grok-patterns/GrokPatternFilter.jsx","webpack://graylog-web-interface/./src/components/grok-patterns/GrokPatternInput.jsx","webpack://graylog-web-interface/./src/logic/message/MessageFormatter.js","webpack://graylog-web-interface/./src/routing/withHistory.tsx","webpack://graylog-web-interface/./src/routing/withParams.tsx","webpack://graylog-web-interface/./src/stores/extractors/ExtractorsStore.js","webpack://graylog-web-interface/./src/stores/grok-patterns/GrokPatternsStore.ts","webpack://graylog-web-interface/./src/stores/lookup-tables/LookupTablesStore.ts","webpack://graylog-web-interface/./src/stores/messages/MessagesStore.js"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.VSICj_b2NVgn0qlbJSkn {\n    margin-left: 1px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/extractors/extractors_configuration/GrokExtractorConfiguration.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,gBAAgB;AACpB\",\"sourcesContent\":[\":local(.grokInput) {\\n    margin-left: 1px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"grokInput\": `VSICj_b2NVgn0qlbJSkn`\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.YdarIKpxaNitFlWJ678S {\n    height: 160px;\n    max-height: 160px;\n    overflow: hidden;\n    overflow-y: scroll;\n    padding-left: 0;\n    border-bottom: 1px solid #ddd;\n}\n\n.kqwpZ3NGYl1tRenAeuma {\n    margin-bottom: 0px;\n}\n\n.lmEVMuAgMnJwEQOO5HRZ {\n    position: absolute;\n    top: 7px;\n    right: 7px;\n}\n\n.J36QQw1MHcjMFdoQeCi9 {\n    text-overflow: ellipsis;\n    white-space: nowrap;\n    overflow: hidden;\n    display: block;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/grok-patterns/GrokPatternFilter.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,aAAa;IACb,iBAAiB;IACjB,gBAAgB;IAChB,kBAAkB;IAClB,eAAe;IACf,6BAA6B;AACjC;;AAEA;IACI,kBAAkB;AACtB;;AAEA;IACI,kBAAkB;IAClB,QAAQ;IACR,UAAU;AACd;;AAEA;IACI,uBAAuB;IACvB,mBAAmB;IACnB,gBAAgB;IAChB,cAAc;AAClB\",\"sourcesContent\":[\":local(.resultList) {\\n    height: 160px;\\n    max-height: 160px;\\n    overflow: hidden;\\n    overflow-y: scroll;\\n    padding-left: 0;\\n    border-bottom: 1px solid #ddd;\\n}\\n\\n:local(.filterFormGroup) {\\n    margin-bottom: 0px;\\n}\\n\\n:local(.addButton) {\\n    position: absolute;\\n    top: 7px;\\n    right: 7px;\\n}\\n\\n:local(.patternDisplay) {\\n    text-overflow: ellipsis;\\n    white-space: nowrap;\\n    overflow: hidden;\\n    display: block;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"resultList\": `YdarIKpxaNitFlWJ678S`,\n\t\"filterFormGroup\": `kqwpZ3NGYl1tRenAeuma`,\n\t\"addButton\": `lmEVMuAgMnJwEQOO5HRZ`,\n\t\"patternDisplay\": `J36QQw1MHcjMFdoQeCi9`\n};\nexport default ___CSS_LOADER_EXPORT___;\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, Input } from 'components/bootstrap';\nimport FormUtils from 'util/FormsUtils';\n\nclass CSVConverterConfiguration extends React.Component {\n  static propTypes = {\n    type: PropTypes.string.isRequired,\n    configuration: PropTypes.object.isRequired,\n    onChange: PropTypes.func.isRequired,\n  };\n\n  componentDidMount() {\n    this.props.onChange(this.props.type, this._getConverterObject());\n  }\n\n  _getConverterObject = (configuration) => ({ type: this.props.type, config: configuration || this.props.configuration });\n\n  _toggleConverter = (event) => {\n    let converter;\n\n    if (FormUtils.getValueFromInput(event.target) === true) {\n      converter = this._getConverterObject();\n    }\n\n    this.props.onChange(this.props.type, converter);\n  };\n\n  _onChange = (key) => (event) => {\n    const newConfig = this.props.configuration;\n\n    newConfig[key] = FormUtils.getValueFromInput(event.target);\n    this.props.onChange(this.props.type, this._getConverterObject(newConfig));\n  };\n\n  render() {\n    const separatorHelpMessage = (\n      \n        For example ,, \\n, and \\t will be translated to a single character.\n      \n    );\n\n    return (\n      
\n { this.converterEnabled = converterEnabled; }}\n id={`enable-${this.props.type}-converter`}\n label=\"Add CSV columns as fields\"\n wrapperClassName=\"col-md-offset-2 col-md-10\"\n defaultChecked\n onChange={this._toggleConverter} />\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 CSVConverterConfiguration;\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 { LocaleSelect, TimezoneSelect } from 'components/common';\nimport { Row, Col, Input } from 'components/bootstrap';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport DocsHelper from 'util/DocsHelper';\nimport FormUtils from 'util/FormsUtils';\n\nclass DateConverterConfiguration extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n };\n\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n }\n\n _getConverterObject = (configuration) => ({ type: this.props.type, config: configuration || this.props.configuration });\n\n _toggleConverter = (event) => {\n let converter;\n\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n };\n\n _onChange = (key) => (data) => {\n const newConfig = this.props.configuration;\n\n // data can be an event or a value, we need to check its type :sick:\n newConfig[key] = typeof data === 'object' ? FormUtils.getValueFromInput(data.target) : data;\n this.props.onChange(this.props.type, this._getConverterObject(newConfig));\n };\n\n render() {\n const dateFormatHelpMessage = (\n \n String format the date uses. Read more in the .\n \n );\n\n const timezoneHelpMessage = (\n \n Time zone to apply to date. Read more in the .\n \n );\n\n const localeHelpMessage = (\n \n Locale to use when parsing the date. Read more in the .\n \n );\n\n return (\n
\n { this.converterEnabled = converterEnabled; }}\n id={`enable-${this.props.type}-converter`}\n label=\"Convert to date type\"\n wrapperClassName=\"col-md-offset-2 col-md-10\"\n defaultChecked\n onChange={this._toggleConverter} />\n \n \n
\n \n\n \n \n \n \n \n \n
\n \n
\n
\n );\n }\n}\n\nexport default DateConverterConfiguration;\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 { TimezoneSelect } from 'components/common';\nimport { Row, Col, Input } from 'components/bootstrap';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport DocsHelper from 'util/DocsHelper';\nimport FormUtils from 'util/FormsUtils';\n\nclass FlexdateConverterConfiguration extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n };\n\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n }\n\n _getConverterObject = (configuration) => ({ type: this.props.type, config: configuration || this.props.configuration });\n\n _toggleConverter = (event) => {\n let converter;\n\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n };\n\n _onChange = (key) => (data) => {\n const newConfig = this.props.configuration;\n\n // data can be an event or a value, we need to check its type :sick:\n newConfig[key] = typeof data === 'object' ? FormUtils.getValueFromInput(data.target) : data;\n this.props.onChange(this.props.type, this._getConverterObject(newConfig));\n };\n\n render() {\n const timezoneHelpMessage = (\n \n Time zone to apply to date. Read more in the .\n \n );\n\n return (\n
\n \n \n \n
\n \n \n \n
\n \n
\n
\n );\n }\n}\n\nexport default FlexdateConverterConfiguration;\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 { Input } from 'components/bootstrap';\nimport FormUtils from 'util/FormsUtils';\n\nclass HashConverterConfiguration extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n };\n\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n }\n\n _getConverterObject = () => ({ type: this.props.type, config: this.props.configuration });\n\n _toggleConverter = (event) => {\n let converter;\n\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n };\n\n render() {\n return (\n
\n \n
\n );\n }\n}\n\nexport default HashConverterConfiguration;\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 { Input } from 'components/bootstrap';\nimport FormUtils from 'util/FormsUtils';\n\nclass IpAnonymizerConverterConfiguration extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n };\n\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n }\n\n _getConverterObject = () => ({ type: this.props.type, config: this.props.configuration });\n\n _toggleConverter = (event) => {\n let converter;\n\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n };\n\n render() {\n return (\n
\n \n
\n );\n }\n}\n\nexport default IpAnonymizerConverterConfiguration;\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 { Input } from 'components/bootstrap';\nimport FormUtils from 'util/FormsUtils';\n\nclass LowercaseConverterConfiguration extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n };\n\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n }\n\n _getConverterObject = () => ({ type: this.props.type, config: this.props.configuration });\n\n _toggleConverter = (event) => {\n let converter;\n\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n };\n\n render() {\n return (\n
\n \n
\n );\n }\n}\n\nexport default LowercaseConverterConfiguration;\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 { Input } from 'components/bootstrap';\nimport FormUtils from 'util/FormsUtils';\n\nclass NumericConverterConfiguration extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n };\n\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n }\n\n _getConverterObject = () => ({ type: this.props.type, config: this.props.configuration });\n\n _toggleConverter = (event) => {\n let converter;\n\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n };\n\n render() {\n return (\n
\n \n
\n );\n }\n}\n\nexport default NumericConverterConfiguration;\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, Input } from 'components/bootstrap';\nimport FormUtils from 'util/FormsUtils';\n\nclass SplitAndCountConverterConfiguration extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n };\n\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n }\n\n _getConverterObject = (configuration) => ({ type: this.props.type, config: configuration || this.props.configuration });\n\n _toggleConverter = (event) => {\n let converter;\n\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n };\n\n _onChange = (key) => (event) => {\n const newConfig = this.props.configuration;\n\n newConfig[key] = FormUtils.getValueFromInput(event.target);\n this.props.onChange(this.props.type, this._getConverterObject(newConfig));\n };\n\n render() {\n const splitByHelpMessage = (\n \n The Split & Count converter is splitting the extracted part by the defined character and stores the token{' '}\n count as field. Example: ?fields=first_name,last_name,zip split by ,{' '}\n results in 3. You just counted the requested fields of a GET user REST request.\n \n );\n\n return (\n
\n { this.converterEnabled = converterEnabled; }}\n id={`enable-${this.props.type}-converter`}\n label=\"Split & Count\"\n wrapperClassName=\"col-md-offset-2 col-md-10\"\n defaultChecked\n onChange={this._toggleConverter} />\n \n \n
\n \n
\n \n
\n
\n );\n }\n}\n\nexport default SplitAndCountConverterConfiguration;\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 { Input } from 'components/bootstrap';\nimport FormUtils from 'util/FormsUtils';\n\nclass SyslogPriFacilityConverterConfiguration extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n };\n\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n }\n\n _getConverterObject = () => ({ type: this.props.type, config: this.props.configuration });\n\n _toggleConverter = (event) => {\n let converter;\n\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n };\n\n render() {\n return (\n
\n \n
\n );\n }\n}\n\nexport default SyslogPriFacilityConverterConfiguration;\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 { Input } from 'components/bootstrap';\nimport FormUtils from 'util/FormsUtils';\n\nclass SyslogPriLevelConverterConfiguration extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n };\n\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n }\n\n _getConverterObject = () => ({ type: this.props.type, config: this.props.configuration });\n\n _toggleConverter = (event) => {\n let converter;\n\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n };\n\n render() {\n return (\n
\n \n
\n );\n }\n}\n\nexport default SyslogPriLevelConverterConfiguration;\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 { Input } from 'components/bootstrap';\nimport FormUtils from 'util/FormsUtils';\n\nclass TokenizerConverterConfiguration extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n };\n\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n }\n\n _getConverterObject = () => ({ type: this.props.type, config: this.props.configuration });\n\n _toggleConverter = (event) => {\n let converter;\n\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n };\n\n render() {\n return (\n
\n \n
\n );\n }\n}\n\nexport default TokenizerConverterConfiguration;\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 { Input } from 'components/bootstrap';\nimport FormUtils from 'util/FormsUtils';\n\nclass UppercaseConverterConfiguration extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n };\n\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n }\n\n _getConverterObject = () => ({ type: this.props.type, config: this.props.configuration });\n\n _toggleConverter = (event) => {\n let converter;\n\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n };\n\n render() {\n return (\n
\n \n
\n );\n }\n}\n\nexport default UppercaseConverterConfiguration;\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 { Link } from 'components/common/router';\nimport { Select, Spinner } from 'components/common';\nimport { Row, Col, Input } from 'components/bootstrap';\nimport Routes from 'routing/Routes';\nimport FormUtils from 'util/FormsUtils';\nimport { LookupTablesActions } from 'stores/lookup-tables/LookupTablesStore';\n\nclass LookupTableConverterConfiguration extends React.Component {\n static propTypes = {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n };\n\n state = {\n lookupTables: undefined,\n };\n\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n\n // TODO the 10k items is bad. we need a searchable/scrollable long list select box\n LookupTablesActions.searchPaginated(1, 10000, null).then((result) => {\n this.setState({ lookupTables: result.lookup_tables });\n });\n }\n\n _getConverterObject = (configuration) => ({ type: this.props.type, config: configuration || this.props.configuration });\n\n _toggleConverter = (event) => {\n let converter;\n\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n };\n\n _updateConfigValue = (key, value) => {\n const newConfig = this.props.configuration;\n\n newConfig[key] = value;\n this.props.onChange(this.props.type, this._getConverterObject(newConfig));\n };\n\n _onChange = (key) => (event) => this._updateConfigValue(key, FormUtils.getValueFromInput(event.target));\n\n _onSelect = (key) => (value) => this._updateConfigValue(key, value);\n\n render() {\n if (!this.state.lookupTables) {\n return ;\n }\n\n const lookupTables = this.state.lookupTables.map((table) => ({ label: table.title, value: table.name }));\n\n const helpMessage = (\n \n Lookup tables can be created here.\n \n );\n\n return (\n
\n { this.converterEnabled = converterEnabled; }}\n id={`enable-${this.props.type}-converter`}\n label=\"Convert value by using lookup table\"\n wrapperClassName=\"col-md-offset-2 col-md-10\"\n defaultChecked\n onChange={this._toggleConverter} />\n\n \n \n
\n \n \n \n \n \n\n \n \n Grok pattern\n \n \n \n \n \n \n \n \n \n \n
\n );\n }\n}\n\nexport default GrokExtractorConfiguration;\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';\n\nimport { Icon } from 'components/common';\nimport { Col, Row, Button, Input } from 'components/bootstrap';\nimport ExtractorUtils from 'util/ExtractorUtils';\nimport FormUtils from 'util/FormsUtils';\nimport ToolsStore from 'stores/tools/ToolsStore';\n\nconst JSONExtractorConfiguration = createReactClass({\n displayName: 'JSONExtractorConfiguration',\n\n propTypes: {\n configuration: PropTypes.object.isRequired,\n exampleMessage: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n onExtractorPreviewLoad: PropTypes.func.isRequired,\n },\n\n getInitialState() {\n return {\n trying: false,\n configuration: this._getEffectiveConfiguration(this.props.configuration),\n };\n },\n\n componentDidMount() {\n this.props.onChange(this.state.configuration);\n },\n\n UNSAFE_componentWillReceiveProps(nextProps) {\n this.setState({ configuration: this._getEffectiveConfiguration(nextProps.configuration) });\n },\n\n DEFAULT_CONFIGURATION: {\n list_separator: ', ',\n key_separator: '_',\n kv_separator: '=',\n key_prefix: '',\n replace_key_whitespace: false,\n key_whitespace_replacement: '_',\n },\n\n _getEffectiveConfiguration(configuration) {\n return ExtractorUtils.getEffectiveConfiguration(this.DEFAULT_CONFIGURATION, configuration);\n },\n\n _onChange(key) {\n return (event) => {\n this.props.onExtractorPreviewLoad(undefined);\n const newConfig = this.state.configuration;\n\n newConfig[key] = FormUtils.getValueFromInput(event.target);\n this.props.onChange(newConfig);\n };\n },\n\n _onTryClick() {\n this.setState({ trying: true });\n\n const { configuration } = this.state;\n const promise = ToolsStore.testJSON(configuration.flatten, configuration.list_separator, configuration.key_separator, configuration.kv_separator, configuration.replace_key_whitespace, configuration.key_whitespace_replacement, configuration.key_prefix, this.props.exampleMessage);\n\n promise.then((result) => {\n const matches = [];\n\n for (const match in result.matches) {\n if (result.matches.hasOwnProperty(match)) {\n matches.push(
{match}
);\n matches.push(
{result.matches[match]}
);\n }\n }\n\n const preview = (matches.length === 0 ? '' :
{matches}
);\n\n this.props.onExtractorPreviewLoad(preview);\n });\n\n promise.finally(() => this.setState({ trying: false }));\n },\n\n _isTryButtonDisabled() {\n return this.state.trying || !this.props.exampleMessage;\n },\n\n render() {\n return (\n
\n \n\n \n\n What string to use to concatenate different keys of a nested JSON object (only used if not flattened).} />\n\n \n\n \n\n \n\n \n\n \n \n \n \n \n
\n );\n },\n});\n\nexport default JSONExtractorConfiguration;\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 { Icon } from 'components/common';\nimport { Row, Col, Button, Input } from 'components/bootstrap';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport DocsHelper from 'util/DocsHelper';\nimport UserNotification from 'util/UserNotification';\nimport FormUtils from 'util/FormsUtils';\nimport ToolsStore from 'stores/tools/ToolsStore';\n\nclass RegexExtractorConfiguration extends React.Component {\n static propTypes = {\n configuration: PropTypes.object.isRequired,\n exampleMessage: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n onExtractorPreviewLoad: PropTypes.func.isRequired,\n };\n\n state = {\n trying: false,\n };\n\n _onChange = (key) => (event) => {\n this.props.onExtractorPreviewLoad(undefined);\n const newConfig = this.props.configuration;\n\n newConfig[key] = FormUtils.getValueFromInput(event.target);\n this.props.onChange(newConfig);\n };\n\n _onTryClick = () => {\n this.setState({ trying: true });\n\n const promise = ToolsStore.testRegex(this.props.configuration.regex_value, this.props.exampleMessage);\n\n promise.then((result) => {\n if (!result.matched) {\n UserNotification.warning('Regular expression did not match.');\n\n return;\n }\n\n if (!result.match) {\n UserNotification.warning('Regular expression does not contain any matcher group to extract.');\n\n return;\n }\n\n const preview = (result.match.match ? {result.match.match} : '');\n\n this.props.onExtractorPreviewLoad(preview);\n });\n\n promise.finally(() => this.setState({ trying: false }));\n };\n\n _isTryButtonDisabled = () => this.state.trying || !this.props.configuration.regex_value || !this.props.exampleMessage;\n\n render() {\n const helpMessage = (\n \n The regular expression used for extraction. First matcher group is used.{' '}\n Learn more in the .\n \n );\n\n return (\n
\n \n \n \n \n \n \n \n \n \n \n
\n );\n }\n}\n\nexport default RegexExtractorConfiguration;\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 { Icon } from 'components/common';\nimport { Col, Row, Button, Input } from 'components/bootstrap';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport DocsHelper from 'util/DocsHelper';\nimport UserNotification from 'util/UserNotification';\nimport FormUtils from 'util/FormsUtils';\nimport ToolsStore from 'stores/tools/ToolsStore';\n\nclass RegexReplaceExtractorConfiguration extends React.Component {\n static propTypes = {\n configuration: PropTypes.object.isRequired,\n exampleMessage: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n onExtractorPreviewLoad: PropTypes.func.isRequired,\n };\n\n state = {\n trying: false,\n };\n\n _onChange = (key) => (event) => {\n this.props.onExtractorPreviewLoad(undefined);\n const newConfig = this.props.configuration;\n\n newConfig[key] = FormUtils.getValueFromInput(event.target);\n this.props.onChange(newConfig);\n };\n\n _onTryClick = () => {\n this.setState({ trying: true });\n\n const { configuration } = this.props;\n const promise = ToolsStore.testRegexReplace(configuration.regex, configuration.replacement, configuration.replace_all, this.props.exampleMessage);\n\n promise.then((result) => {\n if (!result.matched) {\n UserNotification.warning('Regular expression did not match.');\n\n return;\n }\n\n if (!result.match) {\n UserNotification.warning('Regular expression does not contain any matcher group to extract.');\n\n return;\n }\n\n const preview = (result.match.match ? {result.match.match} : '');\n\n this.props.onExtractorPreviewLoad(preview);\n });\n\n promise.finally(() => this.setState({ trying: false }));\n };\n\n _isTryButtonDisabled = () => this.state.trying || !this.props.configuration.regex || !this.props.configuration.replacement || !this.props.exampleMessage;\n\n render() {\n const regexHelpMessage = (\n \n The regular expression used for extraction.{' '}\n Learn more in the .\n \n );\n\n const replacementHelpMessage = (\n The replacement used for the matching text. Please refer to the{' '}\n Matcher\n {' '}\n API documentation for the possible options.\n \n );\n\n return (\n
\n \n\n \n\n \n\n \n \n \n \n \n
\n );\n }\n}\n\nexport default RegexReplaceExtractorConfiguration;\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 { useCallback, useEffect, useState } from 'react';\n\nimport { Icon } from 'components/common';\nimport { Col, Row, Button, Input } from 'components/bootstrap';\nimport UserNotification from 'util/UserNotification';\nimport ExtractorUtils from 'util/ExtractorUtils';\nimport FormUtils from 'util/FormsUtils';\nimport ToolsStore from 'stores/tools/ToolsStore';\n\nconst DEFAULT_CONFIGURATION = { index: 1 };\n\nconst _getEffectiveConfiguration = (configuration) => ExtractorUtils.getEffectiveConfiguration(DEFAULT_CONFIGURATION, configuration);\n\ntype Configuration = { [key: string]: string };\ntype Props = {\n configuration: Configuration,\n exampleMessage: string,\n onChange: (newConfig: Configuration) => void,\n onExtractorPreviewLoad: (preview: React.ReactNode | string) => void,\n}\n\nconst SplitAndIndexExtractorConfiguration = ({ configuration: initialConfiguration, exampleMessage, onChange, onExtractorPreviewLoad }: Props) => {\n const [configuration, setConfiguration] = useState(_getEffectiveConfiguration(initialConfiguration));\n useEffect(() => { setConfiguration(_getEffectiveConfiguration(initialConfiguration)); }, [initialConfiguration]);\n\n const [trying, setTrying] = useState(false);\n\n const _onChange = (key: string) => (event) => {\n onExtractorPreviewLoad(undefined);\n const newConfig = configuration;\n\n newConfig[key] = FormUtils.getValueFromInput(event.target);\n onChange(newConfig);\n };\n\n const _onTryClick = useCallback(() => {\n setTrying(true);\n\n const promise = ToolsStore.testSplitAndIndex(configuration.split_by, configuration.index, exampleMessage);\n\n promise.then((result) => {\n if (!result.successful) {\n UserNotification.warning('We were not able to run the split and index extraction. Please check your parameters.');\n\n return;\n }\n\n const preview = (result.cut ? {result.cut} : '');\n\n onExtractorPreviewLoad(preview);\n });\n\n promise.finally(() => setTrying(false));\n }, [configuration.index, configuration.split_by, exampleMessage, onExtractorPreviewLoad]);\n\n const splitByHelpMessage = (\n \n What character to split on. Example: A whitespace character will split{' '}\n foo bar baz to [foo,bar,baz].\n \n );\n\n const indexHelpMessage = (\n \n What part of the split string to you want to use? Example: 2 selects bar{' '}\n from foo bar baz when split by whitespace.\n \n );\n\n const isTryButtonDisabled = trying || configuration.split_by === '' || configuration.index === undefined || configuration.index < 1 || !exampleMessage;\n\n return (\n
\n \n\n \n\n \n \n \n \n \n
\n );\n};\n\nSplitAndIndexExtractorConfiguration.propTypes = {\n configuration: PropTypes.object.isRequired,\n exampleMessage: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n onExtractorPreviewLoad: PropTypes.func.isRequired,\n};\n\nSplitAndIndexExtractorConfiguration.defaultProps = {\n exampleMessage: undefined,\n};\n\nexport default SplitAndIndexExtractorConfiguration;\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';\n\nimport { Button, Col, Row, Input } from 'components/bootstrap';\nimport { Icon } from 'components/common';\nimport UserNotification from 'util/UserNotification';\nimport ExtractorUtils from 'util/ExtractorUtils';\nimport FormUtils from 'util/FormsUtils';\nimport ToolsStore from 'stores/tools/ToolsStore';\n\nconst SubstringExtractorConfiguration = createReactClass({\n displayName: 'SubstringExtractorConfiguration',\n\n propTypes: {\n configuration: PropTypes.object.isRequired,\n exampleMessage: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n onExtractorPreviewLoad: PropTypes.func.isRequired,\n },\n\n getInitialState() {\n return {\n trying: false,\n configuration: this._getEffectiveConfiguration(this.props.configuration),\n };\n },\n\n componentDidMount() {\n this.props.onChange(this.state.configuration);\n },\n\n UNSAFE_componentWillReceiveProps(nextProps) {\n this.setState({ configuration: this._getEffectiveConfiguration(nextProps.configuration) });\n },\n\n DEFAULT_CONFIGURATION: { begin_index: 0, end_index: 1 },\n\n _getEffectiveConfiguration(configuration) {\n return ExtractorUtils.getEffectiveConfiguration(this.DEFAULT_CONFIGURATION, configuration);\n },\n\n _onChange(key) {\n return (event) => {\n this.props.onExtractorPreviewLoad(undefined);\n const newConfig = this.state.configuration;\n\n newConfig[key] = FormUtils.getValueFromInput(event.target);\n this.props.onChange(newConfig);\n };\n },\n\n _verifySubstringInputs() {\n const beginIndex = this.beginIndex.getInputDOMNode();\n const endIndex = this.endIndex.getInputDOMNode();\n\n if (this.state.configuration.begin_index === undefined || this.state.configuration.begin_index < 0) {\n beginIndex.value = 0;\n this._onChange('begin_index')({ target: beginIndex });\n }\n\n if (this.state.configuration.end_index === undefined || this.state.configuration.end_index < 0) {\n endIndex.value = 0;\n this._onChange('end_index')({ target: endIndex });\n }\n\n if (this.state.configuration.begin_index > this.state.configuration.end_index) {\n beginIndex.value = this.state.configuration.end_index;\n this._onChange('begin_index')({ target: beginIndex });\n }\n },\n\n _onTryClick() {\n this.setState({ trying: true });\n\n this._verifySubstringInputs();\n\n if (this.state.configuration.begin_index === this.state.configuration.end_index) {\n this.props.onExtractorPreviewLoad('');\n this.setState({ trying: false });\n } else {\n const promise = ToolsStore.testSubstring(this.state.configuration.begin_index, this.state.configuration.end_index, this.props.exampleMessage);\n\n promise.then((result) => {\n if (!result.successful) {\n UserNotification.warning('We were not able to run the substring extraction. Please check index boundaries.');\n\n return;\n }\n\n this.props.onExtractorPreviewLoad({result.cut});\n });\n\n promise.finally(() => this.setState({ trying: false }));\n }\n },\n\n _isTryButtonDisabled() {\n const { configuration } = this.state;\n\n return this.state.trying || configuration.begin_index === undefined || configuration.begin_index < 0 || configuration.end_index === undefined || configuration.end_index < 0 || !this.props.exampleMessage;\n },\n\n render() {\n const endIndexHelpMessage = (\n \n Where to end extracting. (Exclusive){' '}\n Example: 1,5 cuts love from the string ilovelogs.\n \n );\n\n return (\n
\n { this.beginIndex = beginIndex; }}\n id=\"begin_index\"\n label=\"Begin index\"\n labelClassName=\"col-md-2\"\n wrapperClassName=\"col-md-10\"\n defaultValue={this.state.configuration.begin_index}\n onChange={this._onChange('begin_index')}\n min=\"0\"\n required\n help=\"Character position from where to start extracting. (Inclusive)\" />\n\n { this.endIndex = endIndex; }}\n id=\"end_index\"\n label=\"End index\"\n labelClassName=\"col-md-2\"\n wrapperClassName=\"col-md-10\"\n defaultValue={this.state.configuration.end_index}\n onChange={this._onChange('end_index')}\n min=\"0\"\n required\n help={endIndexHelpMessage} />\n\n \n \n \n \n \n
\n );\n },\n});\n\nexport default SubstringExtractorConfiguration;\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 { Link } from 'components/common/router';\nimport { Select, Spinner, Icon } from 'components/common';\nimport { Row, Col, Button, Input } from 'components/bootstrap';\nimport Routes from 'routing/Routes';\nimport UserNotification from 'util/UserNotification';\nimport FormUtils from 'util/FormsUtils';\nimport ToolsStore from 'stores/tools/ToolsStore';\nimport { LookupTablesActions } from 'stores/lookup-tables/LookupTablesStore';\n\nclass LookupTableExtractorConfiguration extends React.Component {\n static propTypes = {\n configuration: PropTypes.object.isRequired,\n exampleMessage: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n onExtractorPreviewLoad: PropTypes.func.isRequired,\n };\n\n static defaultProps = {\n exampleMessage: '',\n };\n\n state = {\n trying: false,\n lookupTables: undefined,\n };\n\n componentDidMount() {\n // TODO the 10k items is bad. we need a searchable/scrollable long list select box\n LookupTablesActions.searchPaginated(1, 10000, null).then((result) => {\n this.setState({ lookupTables: result.lookup_tables });\n });\n }\n\n _updateConfigValue = (key, value) => {\n this.props.onExtractorPreviewLoad(undefined);\n const newConfig = this.props.configuration;\n\n newConfig[key] = value;\n this.props.onChange(newConfig);\n };\n\n _onChange = (key) => (event) => this._updateConfigValue(key, FormUtils.getValueFromInput(event.target));\n\n _onSelect = (key) => (value) => this._updateConfigValue(key, value);\n\n _onTryClick = () => {\n this.setState({ trying: true });\n\n const promise = ToolsStore.testLookupTable(this.props.configuration.lookup_table_name, this.props.exampleMessage);\n\n promise.then((result) => {\n if (result.error) {\n UserNotification.warning(`We were not able to run the lookup: ${result.error_message}`);\n\n return;\n }\n\n if (!result.empty) {\n this.props.onExtractorPreviewLoad(result.value);\n } else {\n this.props.onExtractorPreviewLoad(`no lookup result for \"${result.key}\"`);\n }\n });\n\n promise.finally(() => this.setState({ trying: false }));\n };\n\n _isTryButtonDisabled = () => this.state.trying || !this.props.configuration.lookup_table_name || !this.props.exampleMessage;\n\n render() {\n if (!this.state.lookupTables) {\n return ;\n }\n\n const lookupTables = this.state.lookupTables.map((table) => ({ label: table.title, value: table.name }));\n\n const helpMessage = (\n \n Lookup tables can be created here.\n \n );\n\n return (\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n );\n };\n\n _saveExtractor = (event) => {\n const { inputId, onSave } = this.props;\n const { updatedExtractor } = this.state;\n\n event.preventDefault();\n\n ExtractorsActions.save.triggerPromise(inputId, updatedExtractor)\n .then(() => onSave());\n };\n\n _staticField = (label, text) => (\n \n \n {label}\n \n \n {text}\n \n \n );\n\n render() {\n const { updatedExtractor, exampleMessage } = this.state;\n const { action } = this.props;\n const conditionTypeHelpMessage = 'Extracting only from messages that match a certain condition helps you '\n + 'avoiding wrong or unnecessary extractions and can also save CPU resources.';\n\n const cursorStrategyHelpMessage = (\n \n Do you want to copy or cut from source? You cannot use the cutting feature on standard fields like{' '}\n message and source.\n \n );\n\n const targetFieldHelpMessage = (\n \n Choose a field name to store the extracted value. It can only contain alphanumeric characters and underscores. Example: http_response_code.\n \n );\n\n let storeAsFieldInput;\n\n // Grok and JSON extractors create their required fields, so no need to add an input for them\n if (updatedExtractor.type !== ExtractorUtils.ExtractorTypes.GROK && updatedExtractor.type !== ExtractorUtils.ExtractorTypes.JSON) {\n storeAsFieldInput = (\n { this.targetField = targetField; }}\n id=\"target_field\"\n label=\"Store as field\"\n defaultValue={updatedExtractor.target_field}\n labelClassName=\"col-md-2\"\n wrapperClassName=\"col-md-10\"\n onChange={this._onTargetFieldChange}\n required\n help={targetFieldHelpMessage} />\n );\n }\n\n return (\n
\n \n \n

Example message

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

Extractor configuration

\n \n \n
\n {this._staticField('Extractor type', ExtractorUtils.getReadableExtractorTypeName(updatedExtractor.type))}\n {this._staticField('Source field', updatedExtractor.source_field)}\n\n \n\n \n \n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n {this._getExtractorConditionControls()}\n\n {storeAsFieldInput}\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 EditExtractor;\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 { useCallback, useEffect, useRef, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\nimport { MessagesActions } from 'stores/messages/MessagesStore';\nimport { FormSubmit } from 'components/common';\nimport useHistory from 'routing/useHistory';\n\nimport { Button } from '../bootstrap';\n\nconst StyledFormSubmit = styled(FormSubmit)`\n margin-top: 10px;\n`;\n\ntype LoadMessageFormProps = {\n loadMessage: (e: React.FormEvent) => void,\n children: React.ReactNode,\n loading: boolean,\n};\n\nconst LoadMessageForm = ({ loadMessage, children, loading }: LoadMessageFormProps) => {\n const history = useHistory();\n\n return (\n
\n
\n {children}\n history.goBack()} />\n \n
\n );\n};\n\ntype Props = {\n hidden: boolean,\n hideText: string,\n onMessageLoaded: (data: any) => void,\n messageId?: string,\n index?: string,\n};\n\nconst useMessageLoader = (defaultMessageId: string, defaultIndex: string, onMessageLoaded: (data: any) => void): [boolean, (messageId: string, index: string) => void] => {\n const [loading, setLoading] = useState(false);\n const loadMessage = useCallback((messageId: string, index: string) => {\n if (messageId === '' || index === '') {\n return;\n }\n\n setLoading(true);\n const promise = MessagesActions.loadMessage(index, messageId);\n\n promise.then((data) => onMessageLoaded(data));\n promise.finally(() => setLoading(false));\n }, [onMessageLoaded]);\n\n useEffect(() => {\n if (defaultMessageId && defaultIndex) {\n loadMessage(defaultMessageId, defaultIndex);\n }\n }, [defaultMessageId, defaultIndex, loadMessage]);\n\n return [loading, loadMessage];\n};\n\nconst MessageLoader = ({ hidden, hideText, onMessageLoaded, messageId: defaultMessageId, index: defaultIndex }: Props) => {\n const [isHidden, setIsHidden] = useState(hidden);\n\n const [messageId, setMessageId] = useState(defaultMessageId);\n const onChangeMessageId = useCallback((e) => setMessageId(e.target.value), []);\n const messageIdRef = useRef();\n\n const [index, setIndex] = useState(defaultIndex);\n const onChangeIndex = useCallback((e) => setIndex(e.target.value), []);\n\n const [loading, loadMessage] = useMessageLoader(defaultMessageId, defaultIndex, onMessageLoaded);\n\n const _loadMessage = useCallback((e?: React.FormEvent) => {\n if (e?.preventDefault) {\n e.preventDefault();\n }\n\n loadMessage(messageId, index);\n }, [index, loadMessage, messageId]);\n\n const toggleMessageForm = useCallback(() => {\n setIsHidden(!isHidden);\n }, [isHidden]);\n\n useEffect(() => {\n if (!isHidden && messageIdRef.current) {\n messageIdRef.current.focus();\n }\n }, [isHidden]);\n\n return (\n
\n {hideText || (\n

\n Wrong example? \n

\n )}\n {isHidden || (\n \n \n \n \n )}\n
\n );\n};\n\nMessageLoader.propTypes = {\n hidden: PropTypes.bool,\n hideText: PropTypes.bool,\n onMessageLoaded: PropTypes.func.isRequired,\n messageId: PropTypes.string,\n index: PropTypes.string,\n};\n\nMessageLoader.defaultProps = {\n hidden: true,\n hideText: false,\n messageId: '',\n index: '',\n};\n\nexport default MessageLoader;\n","\n import API from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./GrokPatternFilter.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./GrokPatternFilter.css\";\n export default content && content.locals ? content.locals : undefined;\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 isEqual from 'lodash/isEqual';\n\nimport { ListGroup, ListGroupItem, Button, Input } from 'components/bootstrap';\n\nimport GrokPatternFilterStyle from './GrokPatternFilter.css';\n\nclass GrokPatternFilter extends React.Component {\n static propTypes = {\n addToPattern: PropTypes.func.isRequired,\n patterns: PropTypes.array.isRequired,\n };\n\n shownListItems = [];\n\n constructor(props) {\n super(props);\n\n this.state = {\n patternFilter: '',\n activeListItem: -1,\n };\n }\n\n shouldComponentUpdate(nextProps, nextState) {\n const { patterns } = this.props;\n const { patternFilter, activeListItem } = this.state;\n\n if (isEqual(nextProps.patterns, patterns) && patternFilter === nextState.patternFilter && activeListItem === nextState.activeListItem) {\n return false;\n }\n\n return true;\n }\n\n _onPatternFilterChange = (e) => {\n this.setState({ patternFilter: e.target.value, activeListItem: -1 });\n };\n\n _onPatternFilterKeyDown = (e) => {\n const { addToPattern } = this.props;\n const { activeListItem } = this.state;\n const ARROW_DOWN = 40;\n const ARROW_UP = 38;\n const ENTER = 13;\n const listItem = this.shownListItems[activeListItem];\n\n let newActiveListItem = 0;\n const firstElement = document.getElementById('list-item-0');\n let domElement;\n let list;\n\n switch (e.keyCode) {\n case ARROW_DOWN:\n newActiveListItem = activeListItem + 1;\n\n if (activeListItem >= this.shownListItems.length) {\n return;\n }\n\n domElement = document.getElementById(`list-item-${newActiveListItem}`);\n list = domElement.parentElement;\n list.scrollTop = domElement.offsetTop - firstElement.offsetTop;\n this.setState({ activeListItem: newActiveListItem });\n e.preventDefault();\n break;\n case ARROW_UP:\n newActiveListItem = activeListItem - 1;\n\n if (newActiveListItem < 0) {\n return;\n }\n\n domElement = document.getElementById(`list-item-${newActiveListItem}`);\n list = domElement.parentElement;\n list.scrollTop = domElement.offsetTop - firstElement.offsetTop;\n this.setState({ activeListItem: newActiveListItem });\n e.preventDefault();\n break;\n case ENTER:\n if (listItem) {\n addToPattern(listItem);\n }\n\n e.preventDefault();\n break;\n default:\n break;\n }\n };\n\n render() {\n const { activeListItem, patternFilter } = this.state;\n const { addToPattern, patterns } = this.props;\n let regExp;\n let regExpError;\n\n try {\n regExp = RegExp(patternFilter, 'i');\n } catch (error) {\n regExpError = error?.message;\n }\n\n this.shownListItems = [];\n let patternsToDisplay = [];\n\n if (!regExpError) {\n patternsToDisplay = patterns.filter((displayedPattern) => regExp.test(displayedPattern.name))\n .map((displayedPattern, index) => {\n const active = index === activeListItem;\n\n this.shownListItems.push(displayedPattern.name);\n\n return (\n \n {displayedPattern.pattern}\n \n \n \n \n );\n });\n }\n\n return (\n <>\n \n {!regExpError && {patternsToDisplay}}\n \n );\n }\n}\n\nexport default GrokPatternFilter;\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, Input } from 'components/bootstrap';\n\nimport GrokPatternFilter from './GrokPatternFilter';\n\nclass GrokPatternInput extends React.Component {\n static propTypes = {\n pattern: PropTypes.string,\n patterns: PropTypes.array,\n onPatternChange: PropTypes.func,\n className: PropTypes.string,\n };\n\n static defaultProps = {\n pattern: '',\n patterns: [],\n onPatternChange: () => {},\n className: '',\n };\n\n shownListItems = [];\n\n _onPatternChange = (e) => {\n const { onPatternChange } = this.props;\n\n onPatternChange(e.target.value);\n };\n\n _addToPattern = (name) => {\n const { pattern, onPatternChange } = this.props;\n const index = this.patternInput.getInputDOMNode().selectionStart || pattern.length;\n const newPattern = `${pattern.slice(0, index)}%{${name}}${pattern.slice(index)}`;\n\n onPatternChange(newPattern);\n };\n\n render() {\n const { className, patterns, pattern } = this.props;\n\n this.shownListItems = [];\n\n return (\n \n \n { this.patternInput = node; }}\n type=\"textarea\"\n id=\"pattern-input\"\n label=\"Pattern\"\n help=\"The pattern which will match the log line e.g: '%{IP:client}' or '.*?'\"\n rows={9}\n onChange={this._onPatternChange}\n value={pattern}\n required />\n \n \n \n \n \n );\n }\n}\n\nexport default GrokPatternInput;\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 moment from 'moment';\n\nimport MessageFieldsFilter from 'logic/message/MessageFieldsFilter';\n\nconst MessageFormatter = {\n formatMessageSummary(messageSummary) {\n const { message } = messageSummary;\n\n return this.formatMessage(message._id, messageSummary.index, message, message, messageSummary.highlight_ranges, messageSummary.decoration_stats);\n },\n\n formatResultMessage(resultMessage) {\n const { message } = resultMessage;\n\n return this.formatMessage(message.id, resultMessage.index, message, message.fields, resultMessage.highlight_ranges, resultMessage.decoration_stats);\n },\n\n formatMessage(id, index, message, fields, highlightRanges, decorationStats) {\n const filteredFields = MessageFieldsFilter.filterFields(fields);\n\n return {\n id: id,\n timestamp: moment(message.timestamp).unix(),\n filtered_fields: filteredFields,\n formatted_fields: filteredFields,\n fields: fields,\n index: index,\n source_node_id: fields.gl2_source_node,\n source_input_id: fields.gl2_source_input,\n stream_ids: message.streams,\n highlight_ranges: highlightRanges,\n decoration_stats: decorationStats,\n };\n },\n};\n\nexport default MessageFormatter;\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 type { Subtract } from 'utility-types';\n\nimport type { HistoryFunction } from './useHistory';\nimport useHistory from './useHistory';\n\ntype HistoryContext = {\n history: HistoryFunction;\n};\n\nconst withParams = (Component: React.ComponentType): React.ComponentType> => (props) => {\n const history = useHistory();\n\n return ;\n};\n\nexport default withParams;\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","/*\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 ApiRoutes from 'routing/ApiRoutes';\nimport fetch from 'logic/rest/FetchProvider';\nimport ExtractorUtils from 'util/ExtractorUtils';\nimport * as URLUtils from 'util/URLUtils';\nimport UserNotification from 'util/UserNotification';\nimport { singletonStore, singletonActions } from 'logic/singleton';\n\nexport const ExtractorsActions = singletonActions(\n 'core.Extractors',\n () => Reflux.createActions({\n list: { asyncResult: true },\n get: { asyncResult: true },\n create: { asyncResult: true },\n save: { asyncResult: true },\n update: { asyncResult: true },\n delete: { asyncResult: true },\n order: { asyncResult: true },\n import: {},\n }),\n);\n\nfunction getExtractorDTO(extractor) {\n const conditionValue = extractor.condition_type && extractor.condition_type !== 'none' ? extractor.condition_value : '';\n\n return {\n title: extractor.title,\n cursor_strategy: extractor.cursor_strategy || 'copy',\n source_field: extractor.source_field,\n target_field: extractor.target_field,\n extractor_type: extractor.type || extractor.extractor_type, // \"extractor_type\" needed for imports\n extractor_config: extractor.extractor_config,\n converters: extractor.converters,\n condition_type: extractor.condition_type || 'none',\n condition_value: conditionValue,\n order: extractor.order,\n };\n}\n\nexport const ExtractorsStore = singletonStore(\n 'core.Extractors',\n () => Reflux.createStore({\n listenables: [ExtractorsActions],\n sourceUrl: '/system/inputs/',\n extractors: undefined,\n extractor: undefined,\n\n init() {\n this.trigger({ extractors: this.extractors, extractor: this.extractor });\n },\n\n list(inputId) {\n const promise = fetch('GET', URLUtils.qualifyUrl(URLUtils.concatURLPath(this.sourceUrl, inputId, 'extractors')));\n\n promise.then((response) => {\n this.extractors = response.extractors;\n this.trigger({ extractors: this.extractors });\n });\n\n ExtractorsActions.list.promise(promise);\n },\n\n // Creates an basic extractor object that we can use to create new extractors.\n new(type, field) {\n if (ExtractorUtils.EXTRACTOR_TYPES.indexOf(type) === -1) {\n throw new Error(`Invalid extractor type provided: ${type}`);\n }\n\n return {\n type: type,\n source_field: field,\n converters: [],\n extractor_config: {},\n target_field: '',\n };\n },\n\n get(inputId, extractorId) {\n const promise = fetch('GET', URLUtils.qualifyUrl(URLUtils.concatURLPath(this.sourceUrl, inputId, 'extractors', extractorId)));\n\n promise.then((response) => {\n this.extractor = response;\n this.trigger({ extractor: this.extractor });\n });\n\n ExtractorsActions.get.promise(promise);\n },\n\n save(inputId, extractor) {\n let promise;\n\n if (extractor.id) {\n promise = this.update(inputId, extractor, true);\n } else {\n promise = this.create(inputId, extractor, true);\n }\n\n ExtractorsActions.save.promise(promise);\n },\n\n _silentExtractorCreate(inputId, extractor) {\n const url = URLUtils.qualifyUrl(ApiRoutes.ExtractorsController.create(inputId).url);\n\n return fetch('POST', url, getExtractorDTO(extractor));\n },\n\n create(inputId, extractor, calledFromMethod) {\n const promise = this._silentExtractorCreate(inputId, extractor);\n\n promise\n .then(() => {\n UserNotification.success(`Extractor ${extractor.title} created successfully`);\n\n if (this.extractor) {\n ExtractorsActions.get.triggerPromise(inputId, extractor.id);\n }\n })\n .catch((error) => {\n UserNotification.error(`Creating extractor failed: ${error}`,\n 'Could not create extractor');\n });\n\n if (!calledFromMethod) {\n ExtractorsActions.create.promise(promise);\n }\n\n return promise;\n },\n\n update(inputId, extractor, calledFromMethod) {\n const url = URLUtils.qualifyUrl(ApiRoutes.ExtractorsController.update(inputId, extractor.id).url);\n\n const promise = fetch('PUT', url, getExtractorDTO(extractor));\n\n promise\n .then(() => {\n UserNotification.success(`Extractor \"${extractor.title}\" updated successfully`);\n\n if (this.extractor) {\n ExtractorsActions.get.triggerPromise(inputId, extractor.id);\n }\n })\n .catch((error) => {\n UserNotification.error(`Updating extractor failed: ${error}`,\n 'Could not update extractor');\n });\n\n if (!calledFromMethod) {\n ExtractorsActions.update.promise(promise);\n }\n\n return promise;\n },\n\n delete(inputId, extractor) {\n const url = URLUtils.qualifyUrl(ApiRoutes.ExtractorsController.delete(inputId, extractor.id).url);\n\n const promise = fetch('DELETE', url);\n\n promise\n .then(() => {\n UserNotification.success(`Extractor \"${extractor.title}\" deleted successfully`);\n\n if (this.extractors) {\n ExtractorsActions.list.triggerPromise(inputId);\n }\n })\n .catch((error) => {\n UserNotification.error(`Deleting extractor failed: ${error}`,\n `Could not delete extractor ${extractor.title}`);\n });\n\n ExtractorsActions.delete.promise(promise);\n },\n\n order(inputId, orderedExtractors) {\n const url = URLUtils.qualifyUrl(ApiRoutes.ExtractorsController.order(inputId).url);\n const orderedExtractorsMap = {};\n\n orderedExtractors.forEach((extractor, idx) => {\n orderedExtractorsMap[idx] = extractor.id;\n });\n\n const promise = fetch('POST', url, { order: orderedExtractorsMap });\n\n promise.then(() => {\n UserNotification.success('Extractor positions updated successfully');\n\n if (this.extractors) {\n ExtractorsActions.list.triggerPromise(inputId);\n }\n });\n\n promise.catch((error) => {\n UserNotification.error(`Changing extractor positions failed: ${error}`,\n 'Could not update extractor positions');\n });\n\n ExtractorsActions.order.promise(promise);\n },\n\n import(inputId, extractors) {\n let successfulImports = 0;\n let failedImports = 0;\n const promises = [];\n\n extractors.forEach((extractor) => {\n const promise = this._silentExtractorCreate(inputId, extractor);\n\n promise\n .then(() => { successfulImports += 1; })\n .catch(() => { failedImports += 1; });\n\n promises.push(promise);\n });\n\n Promise.allSettled(promises).then(() => {\n if (failedImports === 0) {\n UserNotification.success(`Import results: ${successfulImports} extractor(s) imported.`,\n 'Import operation successful');\n } else {\n UserNotification.warning(`Import results: ${successfulImports} extractor(s) imported, ${failedImports} error(s).`,\n 'Import operation completed');\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 fetch, { fetchPlainText } from 'logic/rest/FetchProvider';\nimport PaginationURL from 'util/PaginationURL';\nimport ApiRoutes from 'routing/ApiRoutes';\nimport { qualifyUrl } from 'util/URLUtils';\nimport UserNotification from 'util/UserNotification';\nimport { singletonStore } from 'logic/singleton';\n\ntype GrokPattern = {\n id: string,\n name: string,\n pattern: string,\n content_pack: string,\n};\n\ntype PaginatedResponse = {\n count: number,\n total: number,\n page: number,\n per_page: number,\n patterns: Array,\n};\n\ntype GrokPatternTest = {\n name: string,\n pattern: string,\n sampleData: string,\n};\n\n// eslint-disable-next-line import/prefer-default-export\nexport const GrokPatternsStore = singletonStore(\n 'core.GrokPatterns',\n () => Reflux.createStore({\n URL: qualifyUrl('/system/grok'),\n\n loadPatterns(callback: (patterns: Array) => void) {\n const failCallback = (error) => {\n UserNotification.error(`Loading Grok patterns failed with status: ${error.message}`,\n 'Could not load Grok patterns');\n };\n\n // get the current list of patterns and sort it by name\n return fetch('GET', this.URL)\n .then(\n (resp: any) => {\n const { patterns } = resp;\n\n patterns.sort((pattern1: GrokPattern, pattern2: GrokPattern) => pattern1.name.toLowerCase()\n .localeCompare(pattern2.name.toLowerCase()));\n\n callback(patterns);\n\n return resp;\n },\n failCallback,\n );\n },\n\n searchPaginated(page, perPage, query) {\n const url = PaginationURL(ApiRoutes.GrokPatternsController.paginated().url, page, perPage, query);\n\n return fetch('GET', qualifyUrl(url))\n .then((response: PaginatedResponse) => {\n const pagination = {\n count: response.count,\n total: response.total,\n page: response.page,\n perPage: response.per_page,\n query: query,\n };\n\n return {\n patterns: response.patterns,\n pagination: pagination,\n };\n })\n .catch((errorThrown) => {\n UserNotification.error(`Loading patterns failed with status: ${errorThrown}`,\n 'Could not load streams');\n });\n },\n\n testPattern(pattern: GrokPatternTest, callback: (request: any) => void, errCallback: (errorMessage: string) => void) {\n const failCallback = (error) => {\n let errorMessage = error.message;\n const errorBody = error.additional.body;\n\n if (errorBody && errorBody.message) {\n errorMessage = error.additional.body.message;\n }\n\n errCallback(errorMessage);\n };\n\n const requestPatternTest = {\n grok_pattern: {\n name: pattern.name,\n pattern: pattern.pattern,\n },\n sampleData: pattern.sampleData,\n };\n\n fetch('POST', qualifyUrl(ApiRoutes.GrokPatternsController.test().url), requestPatternTest)\n .then(\n (response) => {\n callback(response);\n\n return response;\n },\n failCallback,\n );\n },\n\n savePattern(pattern: GrokPattern, callback: () => void) {\n const failCallback = (error) => {\n let errorMessage = error.message;\n const errorBody = error.additional.body;\n\n if (errorBody && errorBody.message) {\n errorMessage = error.additional.body.message;\n }\n\n UserNotification.error(`Testing Grok pattern \"${pattern.name}\" failed with status: ${errorMessage}`,\n 'Could not test Grok pattern');\n };\n\n const requestPattern = {\n id: pattern.id,\n pattern: pattern.pattern,\n name: pattern.name,\n content_pack: pattern.content_pack,\n };\n\n let url = this.URL;\n let method;\n\n if (pattern.id === '') {\n method = 'POST';\n } else {\n url += `/${pattern.id}`;\n method = 'PUT';\n }\n\n fetch(method, url, requestPattern)\n .then(\n (response) => {\n callback();\n const action = pattern.id === '' ? 'created' : 'updated';\n const message = `Grok pattern \"${pattern.name}\" successfully ${action}`;\n\n UserNotification.success(message);\n\n return response;\n },\n failCallback,\n );\n },\n\n deletePattern(pattern: GrokPattern, callback: () => void) {\n const failCallback = (error) => {\n UserNotification.error(`Deleting Grok pattern \"${pattern.name}\" failed with status: ${error.message}`,\n 'Could not delete Grok pattern');\n };\n\n fetch('DELETE', `${this.URL}/${pattern.id}`)\n .then(\n (response) => {\n callback();\n UserNotification.success(`Grok pattern \"${pattern.name}\" successfully deleted`);\n\n return response;\n },\n failCallback,\n );\n },\n\n bulkImport(patterns: string, importStrategy: string) {\n const failCallback = (error) => {\n let errorMessage = error.message;\n const errorBody = error.additional.body;\n\n if (errorBody && errorBody.validation_errors && errorBody.validation_errors._) {\n errorMessage = '';\n const errors = errorBody.validation_errors._;\n\n // eslint-disable-next-line no-plusplus\n for (let i = 0, len = errors.length; i < len; i++) {\n errorMessage = errorMessage.concat(errors[i].error);\n }\n }\n\n UserNotification.error(`Importing Grok pattern file failed with status: ${errorMessage}`,\n 'Could not load Grok patterns');\n };\n\n const promise = fetchPlainText('POST', `${this.URL}?import-strategy=${importStrategy}`, patterns);\n\n promise.catch(failCallback);\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 UserNotification from 'util/UserNotification';\nimport PaginationURL from 'util/PaginationURL';\nimport { qualifyUrl } from 'util/URLUtils';\nimport fetch from 'logic/rest/FetchProvider';\nimport { singletonStore, singletonActions } from 'logic/singleton';\nimport type { LookupTable, LookupTableCache, LookupTableAdapter } from 'logic/lookup-tables/types';\nimport type { PaginatedResponseType } from 'stores/PaginationTypes';\n\ntype LookupResult = {\n multi_value: string | number | object | boolean | null,\n single_value: string | number | object | boolean | null,\n string_list_value: Array | null,\n ttl: number,\n has_error: boolean,\n}\n\ntype ValidationErrors = {\n error_context: {\n [fieldName: string]: Array | undefined,\n },\n failed: boolean,\n errors: {\n [fieldName: string]: Array | undefined,\n },\n}\n\ntype ErrorState = {\n tables: {\n [tableId: string]: string | undefined,\n },\n caches: {\n [cacheId: string]: string | undefined,\n },\n dataAdapters: {\n [adapterId: string]: string | undefined,\n }\n}\n\ntype LookupTablesStoreState = {\n pagination: PaginatedResponseType,\n errorState: ErrorState,\n table: LookupTable | null,\n cache: LookupTableCache | null,\n dataAdapter: LookupTableAdapter | null,\n tables: {\n [tableId: string]: LookupTable | undefined,\n },\n caches: {\n [cacheId: string]: LookupTableCache | undefined,\n },\n dataAdapters: {\n [adapterId: string]: LookupTableAdapter | undefined,\n },\n lookupResult: LookupResult | null,\n validationErrors: ValidationErrors,\n}\n\ntype LookupTableActionsType = {\n searchPaginated: (page: number, perPage: number, query?: string, resolve?: boolean) => Promise,\n reloadPage: () => Promise,\n get: (idOrName: string) => Promise,\n create: (table: LookupTable) => Promise,\n delete: (idOrName: string) => Promise,\n update: (table: LookupTable) => Promise,\n getErrors: (tableNames: Array | undefined, cacheNames: Array | undefined, dataAdapterNames: Array | undefined) => Promise,\n lookup: (tableName: string, key: string) => Promise,\n purgeKey: (table: LookupTable, key: string) => Promise,\n purgeAll: (table: LookupTable) => Promise,\n validate: (table: LookupTable) => Promise,\n}\n\nexport const LookupTablesActions = singletonActions(\n 'core.LookupTables',\n () => Reflux.createActions({\n searchPaginated: { asyncResult: true },\n reloadPage: { asyncResult: true },\n get: { asyncResult: true },\n create: { asyncResult: true },\n delete: { asyncResult: true },\n update: { asyncResult: true },\n getErrors: { asyncResult: true },\n lookup: { asyncResult: true },\n purgeKey: { asyncResult: true },\n purgeAll: { asyncResult: true },\n validate: { asyncResult: true },\n }),\n);\n\nexport const LookupTablesStore = singletonStore(\n 'core.LookupTables',\n () => Reflux.createStore({\n listenables: [LookupTablesActions],\n pagination: {\n page: 1,\n per_page: 10,\n total: 0,\n count: 0,\n query: null,\n },\n errorStates: {\n tables: {},\n caches: {},\n dataAdapters: {},\n },\n table: null,\n cache: null,\n dataAdapter: null,\n tables: null,\n caches: null,\n dataAdapters: null,\n lookupResult: null,\n validationErrors: {},\n\n getInitialState() {\n return this.getState();\n },\n\n getState() {\n return {\n errorStates: this.errorStates,\n table: this.table,\n cache: this.cache,\n dataAdapter: this.dataAdapter,\n tables: this.tables,\n caches: this.caches,\n dataAdapters: this.dataAdapters,\n lookupResult: this.lookupResult,\n validationErrors: this.validationErrors,\n pagination: this.pagination,\n };\n },\n\n propagateChanges() {\n this.trigger(this.getState());\n },\n\n reloadPage() {\n const promise = this.searchPaginated(this.pagination.page, this.pagination.per_page, this.pagination.query);\n\n LookupTablesActions.reloadPage.promise(promise);\n\n return promise;\n },\n\n searchPaginated(page: number, perPage: number, query: string = null, resolve: boolean = true) {\n const url = this._url(PaginationURL('tables', page, perPage, query, { resolve }));\n const promise = fetch('GET', url);\n\n promise.then((response) => {\n this.pagination = {\n count: response.count,\n total: response.total,\n page: response.page,\n per_page: response.per_page,\n query: response.query,\n };\n\n this.tables = response.lookup_tables;\n this.caches = response.caches;\n this.dataAdapters = response.data_adapters;\n this.propagateChanges();\n }, this._errorHandler('Fetching lookup tables failed', 'Could not retrieve the lookup tables'));\n\n LookupTablesActions.searchPaginated.promise(promise);\n\n return promise;\n },\n\n get(idOrName: string) {\n const url = this._url(`tables/${idOrName}?resolve=true`);\n const promise = fetch('GET', url);\n\n promise.then((response) => {\n // do not propagate pagination! it will destroy the subsequent overview page's state.\n const lookupTable = response.lookup_tables[0];\n\n this.table = lookupTable;\n this.cache = response.caches[lookupTable.cache_id];\n this.dataAdapter = response.data_adapters[lookupTable.data_adapter_id];\n this.propagateChanges();\n }, this._errorHandler(`Fetching lookup table ${idOrName} failed`,\n 'Could not retrieve lookup table'));\n\n LookupTablesActions.get.promise(promise);\n\n return promise;\n },\n\n create(table: LookupTable) {\n const url = this._url('tables');\n const promise = fetch('POST', url, table);\n\n promise.catch(this._errorHandler('Creating lookup table failed', `Could not create lookup table \"${table.name}\"`));\n\n LookupTablesActions.create.promise(promise);\n\n return promise;\n },\n\n update(table: LookupTable) {\n const url = this._url(`tables/${table.id}`);\n const promise = fetch('PUT', url, table);\n\n promise.catch(this._errorHandler('Updating lookup table failed', `Could not update lookup table \"${table.name}\"`));\n\n LookupTablesActions.update.promise(promise);\n\n return promise;\n },\n\n delete(idOrName: string) {\n const url = this._url(`tables/${idOrName}`);\n const promise = fetch('DELETE', url);\n\n promise.catch(this._errorHandler('Deleting lookup table failed', `Could not delete lookup table \"${idOrName}\"`));\n\n LookupTablesActions.delete.promise(promise);\n\n return promise;\n },\n\n getErrors(tableNames: Array | undefined, cacheNames: Array | undefined, dataAdapterNames: Array | undefined) {\n const request: {\n tables?: Array;\n caches?: Array;\n data_adapters?: Array;\n } = {};\n\n if (tableNames) {\n request.tables = tableNames;\n }\n\n if (cacheNames) {\n request.caches = cacheNames;\n }\n\n if (dataAdapterNames) {\n request.data_adapters = dataAdapterNames;\n }\n\n const promise = fetch('POST', this._url('errorstates'), request);\n\n promise.then((response) => {\n this.errorStates = {\n tables: response.tables || {},\n caches: response.caches || {},\n dataAdapters: response.data_adapters || {},\n };\n\n this.propagateChanges();\n }, this._errorHandler('Fetching lookup table error state failed.', 'Could not error states'));\n\n LookupTablesActions.getErrors.promise(promise);\n\n return promise;\n },\n\n lookup(tableName: string, key: string) {\n const promise = fetch('GET', this._url(`tables/${tableName}/query?key=${encodeURIComponent(key)}`));\n\n promise.then((response) => {\n this.lookupResult = response;\n this.propagateChanges();\n }, this._errorHandler('Lookup failed', `Could not lookup value for key \"${key}\" in lookup table \"${tableName}\"`));\n\n LookupTablesActions.lookup.promise(promise);\n\n return promise;\n },\n\n purgeKey(table: LookupTable, key: string) {\n const promise = fetch('POST', this._urlClusterWise(`tables/${table.id}/purge?key=${encodeURIComponent(key)}`));\n\n promise.then(() => {\n UserNotification.success(`Purging cache key \"${key}\" for lookup table \"${table.name}\"`, 'Success!');\n }, this._errorHandler(`Could not purge cache for key \"${key}\" in lookup table \"${table.name}\"`, 'Failed!'));\n\n LookupTablesActions.purgeKey.promise(promise);\n\n return promise;\n },\n\n purgeAll(table: LookupTable) {\n const promise = fetch('POST', this._urlClusterWise(`tables/${table.id}/purge`));\n\n promise.then(() => {\n UserNotification.success(`Purging cache for lookup table \"${table.name}\"`, 'Success!');\n }, this._errorHandler(`Could not purge cache for lookup table \"${table.name}\"`, 'Failed!'));\n\n LookupTablesActions.purgeAll.promise(promise);\n\n return promise;\n },\n\n validate(table: LookupTable) {\n const url = this._url('tables/validate');\n const promise = fetch('POST', url, table);\n\n promise.then((response: any) => {\n this.validationErrors = response.errors;\n this.propagateChanges();\n }, this._errorHandler('Lookup table validation failed', `Could not validate lookup table \"${table.name}\"`));\n\n LookupTablesActions.validate.promise(promise);\n\n return promise;\n },\n\n _errorHandler(message: string, title: string, cb: (error: Error) => void | undefined) {\n return (error) => {\n try {\n // Do not show the user notification if the error is a hibernate error message. We cannot display those\n // properly yet...\n if (error.additional.body[0].message_template) {\n return;\n }\n } catch (e) {\n // ignored\n }\n\n let errorMessage;\n\n try {\n errorMessage = error.additional.body.message;\n } catch (e) {\n errorMessage = error.message;\n }\n\n UserNotification.error(`${message}: ${errorMessage}`, title);\n\n if (cb) {\n cb(error);\n }\n };\n },\n\n _url(path: string) {\n return qualifyUrl(`/system/lookup/${path}`);\n },\n\n _urlClusterWise(path: string) {\n return qualifyUrl(`/cluster/system/lookup/${path}`);\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 fetch from 'logic/rest/FetchProvider';\nimport MessageFormatter from 'logic/message/MessageFormatter';\nimport ApiRoutes from 'routing/ApiRoutes';\nimport * as URLUtils from 'util/URLUtils';\nimport UserNotification from 'util/UserNotification';\nimport StringUtils from 'util/StringUtils';\nimport { singletonStore, singletonActions } from 'logic/singleton';\n\nexport const MessagesActions = singletonActions(\n 'core.Messages',\n () => Reflux.createActions({\n loadMessage: { asyncResult: true },\n fieldTerms: { asyncResult: true },\n loadRawMessage: { asyncResult: true },\n }),\n);\n\nexport const MessagesStore = singletonStore(\n 'core.Messages',\n () => Reflux.createStore({\n listenables: [MessagesActions],\n sourceUrl: '',\n\n getInitialState() {\n return {};\n },\n\n loadMessage(index, messageId) {\n const { url } = ApiRoutes.MessagesController.single(index.trim(), messageId.trim());\n const promise = fetch('GET', URLUtils.qualifyUrl(url))\n .then(\n (response) => MessageFormatter.formatResultMessage(response),\n (errorThrown) => {\n UserNotification.error(`Loading message information failed with status: ${errorThrown}`,\n 'Could not load message information');\n },\n );\n\n MessagesActions.loadMessage.promise(promise);\n },\n\n fieldTerms(index, string) {\n const { url } = ApiRoutes.MessagesController.analyze(index, encodeURIComponent(StringUtils.stringify(string)));\n const promise = fetch('GET', URLUtils.qualifyUrl(url))\n .then(\n (response) => response.tokens,\n (error) => {\n UserNotification.error(`Loading field terms failed with status: ${error}`,\n 'Could not load field terms.');\n },\n );\n\n MessagesActions.fieldTerms.promise(promise);\n },\n\n loadRawMessage(message, remoteAddress, codec, codecConfiguration) {\n const { url } = ApiRoutes.MessagesController.parse();\n const payload = {\n message: message,\n remote_address: remoteAddress,\n codec: codec,\n configuration: codecConfiguration,\n };\n\n const promise = fetch('POST', URLUtils.qualifyUrl(url), payload)\n .then(\n (response) => MessageFormatter.formatResultMessage(response),\n (error) => {\n if (error.additional && error.additional.status === 400) {\n UserNotification.error('Please ensure the selected codec and its configuration are right. '\n + 'Check your server logs for more information.', 'Could not load raw message');\n\n return;\n }\n\n UserNotification.error(`Loading raw message failed with status: ${error}`,\n 'Could not load raw message');\n },\n );\n\n MessagesActions.loadRawMessage.promise(promise);\n },\n }),\n);\n"],"names":["___CSS_LOADER_EXPORT___","module","CSVConverterConfiguration","configuration","event","converter","key","newConfig","separatorHelpMessage","converterEnabled","DateConverterConfiguration","data","dateFormatHelpMessage","DocumentationLink","DocsHelper","timezoneHelpMessage","localeHelpMessage","FlexdateConverterConfiguration","HashConverterConfiguration","IpAnonymizerConverterConfiguration","LowercaseConverterConfiguration","NumericConverterConfiguration","SplitAndCountConverterConfiguration","splitByHelpMessage","SyslogPriFacilityConverterConfiguration","SyslogPriLevelConverterConfiguration","TokenizerConverterConfiguration","UppercaseConverterConfiguration","LookupTableConverterConfiguration","value","result","lookupTables","table","helpMessage","Routes","EditExtractorConverters","props","newValue","displayedConverters","selectedConverter","nextDisplayedConverters","converterType","disabledConverters","onChange","newDisabledConverters","converterOptions","ExtractorUtils","type","disabled","converters","currentConverter","converterConfig","extractorType","CopyInputExtractorConfiguration","options","update","GrokPatternsStore","patterns","onExtractorPreviewLoad","newPattern","exampleMessage","promise","ToolsStore","UserNotification","matches","match","preview","trying","GrokPatternInput","nextProps","RegexExtractorConfiguration","RegexReplaceExtractorConfiguration","regexHelpMessage","replacementHelpMessage","DEFAULT_CONFIGURATION","_getEffectiveConfiguration","SplitAndIndexExtractorConfiguration","initialConfiguration","setConfiguration","setTrying","_onChange","_onTryClick","indexHelpMessage","isTryButtonDisabled","beginIndex","endIndex","endIndexHelpMessage","LookupTableExtractorConfiguration","EditExtractorConfiguration","extractorPreviewNode","extractorConfiguration","extractorPreview","NewExampleWell","theme","NoExample","ExtractorExampleMessage","message","field","onExampleLoad","newExample","example","originalMessage","messagePreview","MessageLoader","EditExtractor","nextExample","nextState","updatedExtractor","newConfiguration","newConverter","previousConverter","position","conditionTestResult","conditionInputLabel","conditionInputHelp","inputStyle","inputId","onSave","label","text","action","conditionTypeHelpMessage","cursorStrategyHelpMessage","targetFieldHelpMessage","storeAsFieldInput","targetField","StyledFormSubmit","LoadMessageForm","loadMessage","children","loading","history","useMessageLoader","defaultMessageId","defaultIndex","onMessageLoaded","setLoading","messageId","index","hidden","hideText","isHidden","setIsHidden","setMessageId","onChangeMessageId","e","messageIdRef","setIndex","onChangeIndex","_loadMessage","toggleMessageForm","addToPattern","activeListItem","ARROW_DOWN","ARROW_UP","ENTER","listItem","newActiveListItem","firstElement","domElement","list","patternFilter","regExp","regExpError","error","patternsToDisplay","displayedPattern","active","onPatternChange","name","pattern","className","node","messageSummary","resultMessage","id","fields","highlightRanges","decorationStats","filteredFields","Component","params","ExtractorsActions","getExtractorDTO","extractor","conditionValue","ExtractorsStore","response","extractorId","url","calledFromMethod","orderedExtractors","orderedExtractorsMap","idx","extractors","successfulImports","failedImports","promises","callback","failCallback","resp","pattern1","pattern2","page","perPage","query","pagination","errorThrown","errCallback","errorMessage","errorBody","requestPatternTest","requestPattern","method","importStrategy","errors","i","len","LookupTablesActions","LookupTablesStore","resolve","idOrName","lookupTable","tableNames","cacheNames","dataAdapterNames","request","tableName","title","cb","path","MessagesActions","MessagesStore","string","remoteAddress","codec","codecConfiguration","payload"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy