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

web-interface.assets.2e726fa8-46.dac1b68c62ef0b247bef.js.map Maven / Gradle / Ivy

There is a newer version: 5.2.7
Show newest version
{"version":3,"sources":["webpack:///./src/components/extractors/ExtractorsList.jsx","webpack:///./src/components/extractors/AddExtractorWizard.jsx","webpack:///./src/components/extractors/ExtractorSortModal.jsx","webpack:///./src/pages/ExtractorsPage.jsx","webpack:///./src/components/extractors/ExtractorsListItem.jsx"],"names":["_propTypes","_interopRequireDefault","__webpack_require__","_react","_createReactClass","_reflux","_reactBootstrap","_javascriptNaturalSort","_Spinner","_AddExtractorWizard","_EntityList","_ExtractorsListItem","_ExtractorSortModal","_ActionsProvider","_StoreProvider","ExtractorsActions","ActionsProvider","getActions","ExtractorsStore","StoreProvider","getStore","default","displayName","propTypes","input","PropTypes","object","isRequired","node","mixins","Reflux","connect","ListenerMethods","componentDidMount","list","triggerPromise","this","props","id","_formatExtractor","extractor","createElement","key","inputId","nodeId","node_id","_isLoading","state","extractors","_openSortModal","sortModal","open","render","sortExtractorsButton","_this","length","Button","bsSize","bsStyle","className","onClick","formattedExtractors","sort","extractor1","extractor2","order","map","Row","Col","md","bsNoItemsStyle","noItemsText","items","ref","_LoaderTabs","_MessageFieldExtractorActions","AddExtractorWizard","showExtractorForm","setState","React","Component","extractorForm","extractorFieldActions","fieldName","message","selectedInputId","customFieldActions","style","marginBottom","_showAddExtractorForm","disabled","string","_BootstrapModalWrapper","_SortableList","ExtractorSortModal","modal","close","newSorting","sortedExtractors","then","_this2","Modal","Header","closeButton","Title","title","Body","onMoveItem","_updateSorting","Footer","type","_saveSorting","array","_reactRouterBootstrap","_PageHeader","_ExtractorsList","_common","_DocumentationLink","_Routes","_DocsHelper","NodesActions","InputsActions","NodesStore","InputsStore","params","listenTo","getInitialState","undefined","get","onNodesChange","nodes","inputNode","nodeIds","Object","keys","i","tempNode","is_master","Spinner","DocumentTitle","concat","page","DocsHelper","PAGES","EXTRACTORS","text","DropdownButton","pullRight","LinkContainer","to","Routes","import_extractors","MenuItem","export_extractors","_numeral","_EntityListItem","_ExtractorUtils","ExtractorsListItem","showDetails","window","confirm","delete","source_field","target_field","cursor_strategy","condition_type","condition_value","actions","push","_toggleDetails","edit_input_extractor","_deleteExtractor","options","attribute","extractorConfig","formattedOptions","_formatOptions","converter","config","converters","formattedConverters","converterKey","_formatConverter","timing","format","std_dev","mean","min","max","metrics","totalRate","total","rate","one_minute","five_minute","fifteen_minute","totalTime","conditionTime","executionTime","convertersTime","conditionCounts","condition_hits","condition_misses","time","_formatTimingMetrics","condition","execution","display","Well","_formatCondition","_formatConfiguration","extractor_config","_formatConverters","_formatMetrics","titleSuffix","ExtractorUtils","getReadableExtractorTypeName","description","_formatExtractorSubtitle","_formatActions","contentRow","_formatDetails"],"mappings":"iMAAA,IAAAA,EAAAC,EAAAC,EAAA,aACAC,EAAAF,EAAAC,EAAA,aACAE,EAAAH,EAAAC,EAAA,aACAG,EAAAJ,EAAAC,EAAA,aACAI,EAAAJ,EAAA,YACAK,EAAAN,EAAAC,EAAA,aAEAM,EAAAP,EAAAC,EAAA,aACAO,EAAAR,EAAAC,EAAA,aACAQ,EAAAT,EAAAC,EAAA,aACAS,EAAAV,EAAAC,EAAA,aACAU,EAAAX,EAAAC,EAAA,aAEAW,EAAAZ,EAAAC,EAAA,aAGAY,EAAAb,EAAAC,EAAA,gEAFA,IAAMa,EAAoBC,UAAgBC,WAAW,cAG/CC,EAAkBC,UAAcC,SAAS,iBAExB,EAAAhB,EAAAiB,SAAiB,CACtCC,YAAa,iBAEbC,UAAW,CACTC,MAAOC,UAAUC,OAAOC,WACxBC,KAAMH,UAAUC,OAAOC,YAGzBE,OAAQ,CAACC,UAAOC,QAAQb,GAAkBY,UAAOE,iBAEjDC,kBAVsC,WAWpClB,EAAkBmB,KAAKC,eAAeC,KAAKC,MAAMb,MAAMc,KAGzDC,iBAdsC,SAcrBC,GACf,OACErC,EAAAkB,QAAAoB,cAAC9B,EAAAU,QAA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kB,QAAAoB,cAACkH,EAAAtI,QAAD,CAAgBqB,IAAG,cAAAkG,OAAgBxG,KAAKC,MAAMG,UAAUF,IACxCmE,MAAOrE,KAAKC,MAAMG,UAAUiE,MAC5B6G,YAAaC,UAAeC,6BAA6BpL,KAAKC,MAAMG,UAAUsE,MAC9E2G,YAAarL,KAAKsL,2BAClBnD,QAASnI,KAAKuL,iBACdC,WAAYxL,KAAKW,MAAM+G,YAAc1H,KAAKyL,iBAAmB,kBAxP7EhE,cACe,CACjBrH,UAAWf,UAAUC,OAAOC,WAC5BgB,QAASlB,UAAUkE,OAAOhE,WAC1BiB,OAAQnB,UAAUkE,OAAOhE,mBAyPdkI","file":"2e726fa8-46.dac1b68c62ef0b247bef.js","sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\nimport createReactClass from 'create-react-class';\nimport Reflux from 'reflux';\nimport { Row, Col, Button } from 'react-bootstrap';\nimport naturalSort from 'javascript-natural-sort';\n\nimport Spinner from 'components/common/Spinner';\nimport AddExtractorWizard from 'components/extractors/AddExtractorWizard';\nimport EntityList from 'components/common/EntityList';\nimport ExtractorsListItem from './ExtractorsListItem';\nimport ExtractorsSortModal from './ExtractorSortModal';\n\nimport ActionsProvider from 'injection/ActionsProvider';\nconst ExtractorsActions = ActionsProvider.getActions('Extractors');\n\nimport StoreProvider from 'injection/StoreProvider';\nconst ExtractorsStore = StoreProvider.getStore('Extractors');\n\nconst ExtractorsList = createReactClass({\n  displayName: 'ExtractorsList',\n\n  propTypes: {\n    input: PropTypes.object.isRequired,\n    node: PropTypes.object.isRequired,\n  },\n\n  mixins: [Reflux.connect(ExtractorsStore), Reflux.ListenerMethods],\n\n  componentDidMount() {\n    ExtractorsActions.list.triggerPromise(this.props.input.id);\n  },\n\n  _formatExtractor(extractor) {\n    return (\n      \n    );\n  },\n\n  _isLoading() {\n    return !this.state.extractors;\n  },\n\n  _openSortModal() {\n    this.sortModal.open();\n  },\n\n  render() {\n    if (this._isLoading()) {\n      return ;\n    }\n\n    let sortExtractorsButton;\n    if (this.state.extractors.length > 1) {\n      sortExtractorsButton = (\n        \n      );\n    }\n\n    const formattedExtractors = this.state.extractors\n      .sort((extractor1, extractor2) => naturalSort(extractor1.order, extractor2.order))\n      .map(this._formatExtractor);\n\n    return (\n      
\n \n \n \n \n \n

Configured extractors

\n \n \n {sortExtractorsButton}\n \n
\n \n \n
\n { this.sortModal = sortModal; }} input={this.props.input} extractors={this.state.extractors} />\n
\n );\n },\n});\n\nexport default ExtractorsList;\n","import PropTypes from 'prop-types';\nimport React from 'react';\nimport { Row, Col, Button } from 'react-bootstrap';\n\nimport LoaderTabs from 'components/messageloaders/LoaderTabs';\nimport MessageFieldExtractorActions from 'components/search/MessageFieldExtractorActions';\n\nclass AddExtractorWizard extends React.Component {\n static propTypes = {\n inputId: PropTypes.string,\n };\n\n state = {\n showExtractorForm: false,\n };\n\n _showAddExtractorForm = () => {\n this.setState({ showExtractorForm: !this.state.showExtractorForm });\n };\n\n render() {\n let extractorForm;\n\n if (this.state.showExtractorForm) {\n // Components using this component, will give it a proper fieldName and message\n const extractorFieldActions = ;\n extractorForm = (\n
\n \n
\n );\n }\n\n return (\n \n \n

Add extractor

\n\n

\n Start by loading a message to have an example to work on. You can decide whether to load a recent message\n received by this input, or manually select a message giving its ID.\n

\n

\n \n

\n\n {extractorForm}\n \n
\n );\n }\n}\n\nexport default AddExtractorWizard;\n","import PropTypes from 'prop-types';\nimport React from 'react';\nimport { Row, Col, Modal, Button } from 'react-bootstrap';\n\nimport BootstrapModalWrapper from 'components/bootstrap/BootstrapModalWrapper';\nimport SortableList from 'components/common/SortableList';\n\nimport ActionsProvider from 'injection/ActionsProvider';\nconst ExtractorsActions = ActionsProvider.getActions('Extractors');\n\nclass ExtractorSortModal extends React.Component {\n static propTypes = {\n input: PropTypes.object.isRequired,\n extractors: PropTypes.array.isRequired,\n };\n\n open = () => {\n this.modal.open();\n };\n\n close = () => {\n this.modal.close();\n };\n\n _updateSorting = (newSorting) => {\n this.sortedExtractors = newSorting;\n };\n\n _saveSorting = () => {\n if (!this.sortedExtractors) {\n this.close();\n }\n const promise = ExtractorsActions.order.triggerPromise(this.props.input.id, this.sortedExtractors);\n promise.then(() => this.close());\n };\n\n render() {\n return (\n { this.modal = modal; }}>\n \n \n Sort extractors for {this.props.input.title}\n \n \n \n

Drag and drop the extractors on the list to change the order in which they will be applied.

\n \n \n \n \n \n
\n \n \n \n \n
\n );\n }\n}\n\nexport default ExtractorSortModal;\n","import PropTypes from 'prop-types';\nimport React from 'react';\nimport createReactClass from 'create-react-class';\nimport Reflux from 'reflux';\nimport { DropdownButton, MenuItem } from 'react-bootstrap';\nimport { LinkContainer } from 'react-router-bootstrap';\n\nimport PageHeader from 'components/common/PageHeader';\nimport ExtractorsList from 'components/extractors/ExtractorsList';\nimport { DocumentTitle, Spinner } from 'components/common';\nimport DocumentationLink from 'components/support/DocumentationLink';\n\nimport Routes from 'routing/Routes';\nimport DocsHelper from 'util/DocsHelper';\n\nimport ActionsProvider from 'injection/ActionsProvider';\nconst NodesActions = ActionsProvider.getActions('Nodes');\nconst InputsActions = ActionsProvider.getActions('Inputs');\n\nimport StoreProvider from 'injection/StoreProvider';\nconst NodesStore = StoreProvider.getStore('Nodes');\nconst InputsStore = StoreProvider.getStore('Inputs');\n\nconst ExtractorsPage = createReactClass({\n displayName: 'ExtractorsPage',\n\n propTypes: {\n params: PropTypes.object.isRequired,\n },\n\n mixins: [Reflux.connect(InputsStore), Reflux.listenTo(NodesStore, 'onNodesChange')],\n\n getInitialState() {\n return {\n input: undefined,\n node: undefined,\n };\n },\n\n componentDidMount() {\n InputsActions.get.triggerPromise(this.props.params.inputId);\n NodesActions.list.triggerPromise();\n },\n\n onNodesChange(nodes) {\n let inputNode;\n if (this.props.params.nodeId) {\n inputNode = nodes.nodes[this.props.params.nodeId];\n } else {\n const nodeIds = Object.keys(nodes.nodes);\n for (let i = 0; i < nodeIds.length && !inputNode; i++) {\n const tempNode = nodes.nodes[nodeIds[i]];\n if (tempNode.is_master) {\n inputNode = tempNode;\n }\n }\n }\n\n if (!this.state.node || this.state.node.node_id !== inputNode.node_id) {\n this.setState({ node: inputNode });\n }\n },\n\n _isLoading() {\n return !(this.state.input && this.state.node);\n },\n\n render() {\n if (this._isLoading()) {\n return ;\n }\n\n return (\n \n
\n Extractors of {this.state.input.title}}>\n \n Extractors are applied on every message that is received by this input. Use them to extract and transform{' '}\n any text data into fields that allow you easy filtering and analysis later on.{' '}\n Example: Extract the HTTP response code from a log message, transform it to a numeric field and attach it{' '}\n as http_response_code to the message.\n \n\n \n Find more information about extractors in the\n {' '}.\n \n\n \n \n Import extractors\n \n \n Export extractors\n \n \n \n \n
\n
\n );\n },\n});\n\nexport default ExtractorsPage;\n","import PropTypes from 'prop-types';\nimport React from 'react';\nimport { Button, Row, Col, Well } from 'react-bootstrap';\nimport { LinkContainer } from 'react-router-bootstrap';\nimport numeral from 'numeral';\nimport EntityListItem from 'components/common/EntityListItem';\nimport ExtractorUtils from 'util/ExtractorUtils';\nimport ActionsProvider from 'injection/ActionsProvider';\nimport Routes from 'routing/Routes';\nconst ExtractorsActions = ActionsProvider.getActions('Extractors');\n\nclass ExtractorsListItem extends React.Component {\n static propTypes = {\n extractor: PropTypes.object.isRequired,\n inputId: PropTypes.string.isRequired,\n nodeId: PropTypes.string.isRequired,\n };\n\n state = {\n showDetails: false,\n };\n\n _toggleDetails = () => {\n this.setState({ showDetails: !this.state.showDetails });\n };\n\n _deleteExtractor = () => {\n if (window.confirm(`Really remove extractor \"${this.props.extractor.title}?\"`)) {\n ExtractorsActions.delete.triggerPromise(this.props.inputId, this.props.extractor);\n }\n };\n\n _formatExtractorSubtitle = () => {\n return (\n \n Trying to extract data from {this.props.extractor.source_field} into{' '}\n {this.props.extractor.target_field},{' '}\n {this.props.extractor.cursor_strategy === 'cut' && 'not'}{' '}\n leaving the original intact.\n \n );\n };\n\n _formatCondition = () => {\n if (this.props.extractor.condition_type === 'none') {\n return
;\n }\n\n return (\n
\n

Condition

\n
    \n
  • \n Will only attempt to run if the message{' '}\n {this.props.extractor.condition_type === 'string' ? 'includes the string' : 'matches the regular expression'}{' '}\n {this.props.extractor.condition_value}\n
  • \n
\n
\n );\n };\n\n _formatActions = () => {\n const actions = [];\n\n actions.push(\n ,\n );\n actions.push(\n \n \n ,\n );\n actions.push();\n\n return actions;\n };\n\n _formatOptions = (options) => {\n const attributes = Object.keys(options);\n return attributes.map((attribute) => {\n return
  • {attribute}: {options[attribute]}
  • ;\n });\n };\n\n _formatConfiguration = (extractorConfig) => {\n let formattedOptions = this._formatOptions(extractorConfig);\n if (formattedOptions.length === 0) {\n formattedOptions =
  • No configuration options
  • ;\n }\n\n return (\n
    \n

    Configuration

    \n
      \n {formattedOptions}\n
    \n
    \n );\n };\n\n _formatConverter = (key, converter) => {\n return (\n
  • \n {converter.type}\n {converter.config &&
      {this._formatOptions(converter.config)}
    }\n
  • \n );\n };\n\n _formatConverters = (converters) => {\n const converterKeys = Object.keys(converters);\n const formattedConverters = converterKeys.map(converterKey => this._formatConverter(converterKey, converters[converterKey]));\n if (formattedConverters.length === 0) {\n return
    ;\n }\n\n return (\n
    \n

    Converters

    \n
      \n {formattedConverters}\n
    \n
    \n );\n };\n\n _formatTimingMetrics = (timing) => {\n return (\n
    \n
    95th percentile:
    \n
    {numeral(timing['95th_percentile']).format('0,0.[00]')}μs
    \n\n
    98th percentile:
    \n
    {numeral(timing['98th_percentile']).format('0,0.[00]')}μs
    \n\n
    99th percentile:
    \n
    {numeral(timing['99th_percentile']).format('0,0.[00]')}μs
    \n\n
    Standard deviation:
    \n
    {numeral(timing.std_dev).format('0,0.[00]')}μs
    \n\n
    Mean:
    \n
    {numeral(timing.mean).format('0,0.[00]')}μs
    \n\n
    Minimum:
    \n
    {numeral(timing.min).format('0,0.[00]')}μs
    \n\n
    Maximum:
    \n
    {numeral(timing.max).format('0,0.[00]')}μs
    \n
    \n );\n };\n\n _formatMetrics = (metrics) => {\n let totalRate;\n if (metrics.total.rate) {\n totalRate = (\n
    \n {numeral(metrics.total.rate.total).format('0,0')} total invocations since boot,{' '}\n averages:{' '}\n {numeral(metrics.total.rate.one_minute).format('0,0.[00]')},{' '}\n {numeral(metrics.total.rate.five_minute).format('0,0.[00]')},{' '}\n {numeral(metrics.total.rate.fifteen_minute).format('0,0.[00]')}.\n
    \n );\n }\n\n const conditionCounts = (\n
    \n {metrics.condition_hits} hits,{' '}\n {metrics.condition_misses} misses\n
    \n );\n\n let totalTime;\n if (metrics.total.time) {\n totalTime = this._formatTimingMetrics(metrics.total.time);\n } else {\n totalTime = 'No message passed through here yet.';\n }\n\n let conditionTime;\n if (metrics.condition.time) {\n conditionTime = this._formatTimingMetrics(metrics.condition.time);\n } else {\n conditionTime = 'No message passed through here yet.';\n }\n\n let executionTime;\n if (metrics.execution.time) {\n executionTime = this._formatTimingMetrics(metrics.execution.time);\n } else {\n executionTime = 'No message passed through here yet.';\n }\n\n let convertersTime;\n if (metrics.converters.time) {\n convertersTime = this._formatTimingMetrics(metrics.converters.time);\n } else {\n convertersTime = 'No message passed through here yet.';\n }\n\n return (\n
    \n {totalRate}\n {conditionCounts}\n \n \n

    Total time


    \n {totalTime}\n \n \n

    Condition time


    \n {conditionTime}\n \n \n

    Execution time


    \n {executionTime}\n \n \n

    Converter time


    \n {convertersTime}\n \n
    \n
    \n );\n };\n\n _formatDetails = () => {\n return (\n
    \n \n \n {this._formatCondition()}\n {this._formatConfiguration(this.props.extractor.extractor_config)}\n {this._formatConverters(this.props.extractor.converters)}\n \n \n \n
    \n

    Metrics

    \n {this._formatMetrics(this.props.extractor.metrics)}\n
    \n \n
    \n );\n };\n\n render() {\n return (\n \n );\n }\n}\n\nexport default ExtractorsListItem;\n"],"sourceRoot":""}




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy