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

web-interface.assets.10.10.a37bd6c43e2b13149f99.js.map Maven / Gradle / Ivy

There is a newer version: 6.0.2
Show newest version
{"version":3,"sources":["webpack:///10.10.a37bd6c43e2b13149f99.js","webpack:///./src/components/extractors/MessageLoader.jsx?b37c","webpack:///./src/components/extractors/EditExtractor.jsx?9530","webpack:///./src/components/extractors/EditExtractorConfiguration.jsx?bbdf","webpack:///./src/components/extractors/EditExtractorConverters.jsx?c2be","webpack:///./src/components/extractors/ExtractorExampleMessage.jsx?5f80","webpack:///./src/components/extractors/converters_configuration/CSVConverterConfiguration.jsx?c29d","webpack:///./src/components/extractors/converters_configuration/DateConverterConfiguration.jsx?410b","webpack:///./src/components/extractors/converters_configuration/FlexdateConverterConfiguration.jsx?694c","webpack:///./src/components/extractors/converters_configuration/HashConverterConfiguration.jsx?b4ef","webpack:///./src/components/extractors/converters_configuration/IpAnonymizerConverterConfiguration.jsx?cca6","webpack:///./src/components/extractors/converters_configuration/LowercaseConverterConfiguration.jsx?1c69","webpack:///./src/components/extractors/converters_configuration/NumericConverterConfiguration.jsx?6bcc","webpack:///./src/components/extractors/converters_configuration/SplitAndCountConverterConfiguration.jsx?2a1d","webpack:///./src/components/extractors/converters_configuration/SyslogPriFacilityConverterConfiguration.jsx?7a7c","webpack:///./src/components/extractors/converters_configuration/SyslogPriLevelConverterConfiguration.jsx?b19b","webpack:///./src/components/extractors/converters_configuration/TokenizerConverterConfiguration.jsx?b518","webpack:///./src/components/extractors/converters_configuration/UppercaseConverterConfiguration.jsx?3ade","webpack:///./src/components/extractors/extractors_configuration/CopyInputExtractorConfiguration.jsx?8449","webpack:///./src/components/extractors/extractors_configuration/GrokExtractorConfiguration.jsx?1535","webpack:///./src/components/extractors/extractors_configuration/JSONExtractorConfiguration.jsx?aad5","webpack:///./src/components/extractors/extractors_configuration/RegexExtractorConfiguration.jsx?5807","webpack:///./src/components/extractors/extractors_configuration/RegexReplaceExtractorConfiguration.jsx?8a7e","webpack:///./src/components/extractors/extractors_configuration/SplitAndIndexExtractorConfiguration.jsx?5645","webpack:///./src/components/extractors/extractors_configuration/SubstringExtractorConfiguration.jsx?a63a","webpack:///./src/pages/CreateExtractorsPage.jsx"],"names":["webpackJsonp","103","module","exports","__webpack_require__","_interopRequireDefault","obj","__esModule","default","Object","defineProperty","value","_react","_react2","_ActionsProvider","_ActionsProvider2","_StoreProvider","_StoreProvider2","MessagesActions","getActions","MessageLoader","getStore","createClass","displayName","propTypes","hidden","PropTypes","bool","hideText","onMessageLoaded","func","getDefaultProps","getInitialState","this","props","loading","toggleMessageForm","setState","state","_focusMessageLoaderForm","refs","messageId","focus","loadMessage","event","_this","index","promise","triggerPromise","then","data","preventDefault","submit","submitButton","click","render","explanatoryText","createElement","className","onClick","loadMessageForm","onSubmit","type","ref","placeholder","required","disabled","259","_reactBootstrap","_ExtractorExampleMessage","_ExtractorExampleMessage2","_EditExtractorConfiguration","_EditExtractorConfiguration2","_EditExtractorConverters","_EditExtractorConverters2","_ExtractorUtils","_ExtractorUtils2","_FormsUtils","_FormsUtils2","ExtractorsActions","ToolsStore","EditExtractor","action","oneOf","isRequired","extractor","object","inputId","string","exampleMessage","onSave","updatedExtractor","conditionTestResult","undefined","componentWillReceiveProps","nextProps","_updateExampleMessage","nextExample","_onTargetFieldChange","target","newValue","replace","targetField","getInputDOMNode","_onFieldChange","key","nextState","getValueFromInput","_onConfigurationChange","newConfiguration","extractor_config","_onConverterChange","converterType","newConverter","previousConverter","converters","filter","converter","position","indexOf","splice","push","_testCondition","_this2","testRegex","condition_value","result","matched","_tryButtonDisabled","_getExtractorConditionControls","condition_type","conditionInputLabel","conditionInputHelp","inputStyle","Input","id","label","bsStyle","labelClassName","wrapperClassName","help","Row","Col","md","defaultValue","onChange","Button","_saveExtractor","_this3","save","conditionTypeHelpMessage","cursorStrategyHelpMessage","targetFieldHelpMessage","storeAsFieldInput","ExtractorTypes","GROK","JSON","target_field","style","marginTop","field","source_field","example","onExampleLoad","method","FormControls","Static","getReadableExtractorTypeName","extractorType","configuration","name","defaultChecked","cursor_strategy","title","marginBottom","260","_extractors_configuration","EditExtractorConfiguration","EXTRACTOR_TYPES","extractorPreview","_onExtractorPreviewLoad","extractorPreviewNode","extractorConfiguration","COPY_INPUT","CopyInputExtractorConfiguration","GrokExtractorConfiguration","onExtractorPreviewLoad","JSONExtractorConfiguration","REGEX","RegexExtractorConfiguration","REGEX_REPLACE","RegexReplaceExtractorConfiguration","SUBSTRING","SubstringExtractorConfiguration","SPLIT_AND_INDEX","SplitAndIndexExtractorConfiguration","console","warn","mdOffset","Panel","header","261","_common","_converters_configuration","EditExtractorConverters","array","displayedConverters","map","disabledConverters","selectedConverter","_onConverterSelect","_onConverterAdd","newDisplayedConverters","newDisabledConverters","hasOwnProperty","_getConverterByType","_getConverterOptions","converterOptions","keys","ConverterTypes","forEach","getReadableConverterTypeName","currentConverter","config","_getConvertersConfiguration","controls","converterConfig","length","NUMERIC","NumericConverterConfiguration","DATE","DateConverterConfiguration","HASH","HashConverterConfiguration","SPLIT_AND_COUNT","SplitAndCountConverterConfiguration","IP_ANONYMIZER","IpAnonymizerConverterConfiguration","SYSLOG_PRI_LEVEL","SyslogPriLevelConverterConfiguration","SYSLOG_PRI_FACILITY","SyslogPriFacilityConverterConfiguration","TOKENIZER","TokenizerConverterConfiguration","CSV","CSVConverterConfiguration","LOWERCASE","LowercaseConverterConfiguration","UPPERCASE","UppercaseConverterConfiguration","FLEXDATE","FlexdateConverterConfiguration","Select","options","262","_MessageLoader","_MessageLoader2","ExtractorExampleMessage","_onExampleLoad","message","newExample","fields","originalMessage","display","messagePreview","263","componentDidMount","_getConverterObject","_toggleConverter","_onChange","newConfig","separatorHelpMessage","column_header","converterEnabled","getChecked","separator","maxLength","quote_char","escape_char","strict_quotes","trim_leading_whitespace","264","_typeof","Symbol","iterator","constructor","prototype","_DocumentationLink","_DocumentationLink2","_DocsHelper","_DocsHelper2","dateFormatHelpMessage","page","PAGES","PAGE_STANDARD_DATE_CONVERTER","text","timezoneHelpMessage","date_format","TimezoneSelect","time_zone","265","PAGE_FLEXIBLE_DATE_CONVERTER","266","267","268","269","270","splitByHelpMessage","split_by","271","272","273","274","275","_CSVConverterConfiguration","enumerable","get","_DateConverterConfiguration","_FlexdateConverterConfiguration","_HashConverterConfiguration","_IpAnonymizerConverterConfiguration","_LowercaseConverterConfiguration","_NumericConverterConfiguration","_SplitAndCountConverterConfiguration","_SyslogPriFacilityConverterConfiguration","_SyslogPriLevelConverterConfiguration","_TokenizerConverterConfiguration","_UppercaseConverterConfiguration","276","277","_reactRouterBootstrap","_Routes","_Routes2","_UserNotification","_UserNotification2","trying","_onTryClick","testGrok","grok_pattern","named_captures_only","warning","matches","match","preview","_isTryButtonDisabled","helpMessage","LinkContainer","to","SYSTEM","GROKPATTERNS","278","_getEffectiveConfiguration","DEFAULT_CONFIGURATION","list_separator","key_separator","kv_separator","key_prefix","replace_key_whitespace","key_whitespace_replacement","getEffectiveConfiguration","testJSON","flatten","279","regex_value","EXTRACTORS","280","testRegexReplace","regex","replacement","replace_all","regexHelpMessage","replacementHelpMessage","href","281","testSplitAndIndex","successful","cut","indexHelpMessage","min","282","begin_index","end_index","_verifySubstringInputs","beginIndex","endIndex","testSubstring","endIndexHelpMessage","283","_CopyInputExtractorConfiguration","_GrokExtractorConfiguration","_JSONExtractorConfiguration","_RegexExtractorConfiguration","_RegexReplaceExtractorConfiguration","_SplitAndIndexExtractorConfiguration","_SubstringExtractorConfiguration","850","_reflux","_reflux2","_Spinner","_Spinner2","_PageHeader","_PageHeader2","_EditExtractor","_EditExtractor2","ExtractorsStore","InputsStore","InputsActions","CreateExtractorsPage","params","location","history","mixins","connect","query","extractor_type","input","exampleIndex","example_index","exampleId","example_id","_isLoading","_extractorSaved","url","global","global_input_extractors","local_input_extractors","nodeId","pushState"],"mappings":"AAAAA,cAAc,KAERC,IACA,SAASC,EAAQC,EAASC,GAE/B,YAkBA,SAASC,GAAuBC,GAAO,MAAOA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C5DtE,OAAQzD,KAAKoY,qBzB00GnCla,cyBp0GcoZ,EzBq0GdrZ,EAAOC,QAAUA,EAAQ","file":"10.10.a37bd6c43e2b13149f99.js","sourcesContent":["webpackJsonp([10],{\n\n/***/ 103:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _ActionsProvider = __webpack_require__(6);\n\t\n\tvar _ActionsProvider2 = _interopRequireDefault(_ActionsProvider);\n\t\n\tvar _StoreProvider = __webpack_require__(3);\n\t\n\tvar _StoreProvider2 = _interopRequireDefault(_StoreProvider);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar MessagesActions = _ActionsProvider2.default.getActions('Messages');\n\t\n\t// eslint-disable-next-line no-unused-vars\n\tvar MessagesStore = _StoreProvider2.default.getStore('Messages');\n\t\n\tvar MessageLoader = _react2.default.createClass({\n\t  displayName: 'MessageLoader',\n\t\n\t  propTypes: {\n\t    hidden: _react.PropTypes.bool,\n\t    hideText: _react.PropTypes.bool,\n\t    onMessageLoaded: _react.PropTypes.func\n\t  },\n\t  getDefaultProps: function getDefaultProps() {\n\t    return {\n\t      hidden: true\n\t    };\n\t  },\n\t  getInitialState: function getInitialState() {\n\t    return {\n\t      hidden: this.props.hidden,\n\t      loading: false\n\t    };\n\t  },\n\t  toggleMessageForm: function toggleMessageForm() {\n\t    this.setState({ hidden: !this.state.hidden }, this._focusMessageLoaderForm);\n\t  },\n\t  _focusMessageLoaderForm: function _focusMessageLoaderForm() {\n\t    if (!this.state.hidden) {\n\t      this.refs.messageId.focus();\n\t    }\n\t  },\n\t  loadMessage: function loadMessage(event) {\n\t    var _this = this;\n\t\n\t    var messageId = this.refs.messageId.value;\n\t    var index = this.refs.index.value;\n\t    if (messageId === '' || index === '') {\n\t      return;\n\t    }\n\t    this.setState({ loading: true });\n\t    var promise = MessagesActions.loadMessage.triggerPromise(index, messageId);\n\t    promise.then(function (data) {\n\t      return _this.props.onMessageLoaded(data);\n\t    });\n\t    promise.finally(function () {\n\t      return _this.setState({ loading: false });\n\t    });\n\t\n\t    event.preventDefault();\n\t  },\n\t  submit: function submit(messageId, index) {\n\t    this.refs.messageId.value = messageId;\n\t    this.refs.index.value = index;\n\t    this.refs.submitButton.click();\n\t  },\n\t  render: function render() {\n\t    var explanatoryText = void 0;\n\t    if (!this.props.hideText) {\n\t      explanatoryText = _react2.default.createElement(\n\t        'p',\n\t        null,\n\t        'Wrong example? You can',\n\t        ' ',\n\t        _react2.default.createElement(\n\t          'button',\n\t          { className: 'btn btn-link btn-small btn-text', onClick: this.toggleMessageForm },\n\t          'load another message'\n\t        ),\n\t        '.'\n\t      );\n\t    }\n\t    var loadMessageForm = _react2.default.createElement(\n\t      'div',\n\t      null,\n\t      _react2.default.createElement(\n\t        'form',\n\t        { className: 'form-inline message-loader-form', onSubmit: this.loadMessage },\n\t        _react2.default.createElement('input', { type: 'text', ref: 'messageId', className: 'form-control message-id-input', placeholder: 'Message ID', required: true }),\n\t        _react2.default.createElement('input', { type: 'text', ref: 'index', className: 'form-control', placeholder: 'Index', required: true }),\n\t        _react2.default.createElement(\n\t          'button',\n\t          { ref: 'submitButton', type: 'submit', className: 'btn btn-info', disabled: this.state.loading },\n\t          this.state.loading ? 'Loading message...' : 'Load message'\n\t        )\n\t      )\n\t    );\n\t    return _react2.default.createElement(\n\t      'div',\n\t      { className: 'message-loader' },\n\t      explanatoryText,\n\t      this.state.hidden ? null : loadMessageForm\n\t    );\n\t  }\n\t});\n\t\n\texports.default = MessageLoader;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 259:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _ExtractorExampleMessage = __webpack_require__(262);\n\t\n\tvar _ExtractorExampleMessage2 = _interopRequireDefault(_ExtractorExampleMessage);\n\t\n\tvar _EditExtractorConfiguration = __webpack_require__(260);\n\t\n\tvar _EditExtractorConfiguration2 = _interopRequireDefault(_EditExtractorConfiguration);\n\t\n\tvar _EditExtractorConverters = __webpack_require__(261);\n\t\n\tvar _EditExtractorConverters2 = _interopRequireDefault(_EditExtractorConverters);\n\t\n\tvar _ActionsProvider = __webpack_require__(6);\n\t\n\tvar _ActionsProvider2 = _interopRequireDefault(_ActionsProvider);\n\t\n\tvar _ExtractorUtils = __webpack_require__(45);\n\t\n\tvar _ExtractorUtils2 = _interopRequireDefault(_ExtractorUtils);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tvar _StoreProvider = __webpack_require__(3);\n\t\n\tvar _StoreProvider2 = _interopRequireDefault(_StoreProvider);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar ExtractorsActions = _ActionsProvider2.default.getActions('Extractors');\n\t\n\tvar ToolsStore = _StoreProvider2.default.getStore('Tools');\n\t\n\tvar EditExtractor = _react2.default.createClass({\n\t  displayName: 'EditExtractor',\n\t\n\t  propTypes: {\n\t    action: _react.PropTypes.oneOf(['create', 'edit']).isRequired,\n\t    extractor: _react.PropTypes.object.isRequired,\n\t    inputId: _react.PropTypes.string.isRequired,\n\t    exampleMessage: _react.PropTypes.string,\n\t    onSave: _react.PropTypes.func.isRequired\n\t  },\n\t  getInitialState: function getInitialState() {\n\t    return {\n\t      updatedExtractor: this.props.extractor,\n\t      conditionTestResult: undefined,\n\t      exampleMessage: this.props.exampleMessage\n\t    };\n\t  },\n\t  componentWillReceiveProps: function componentWillReceiveProps(nextProps) {\n\t    if (this.props.exampleMessage !== nextProps.exampleMessage) {\n\t      this._updateExampleMessage(nextProps.exampleMessage);\n\t    }\n\t  },\n\t  _updateExampleMessage: function _updateExampleMessage(nextExample) {\n\t    this.setState({ exampleMessage: nextExample });\n\t  },\n\t\n\t\n\t  // Ensures the target field only contains alphanumeric characters and underscores\n\t  _onTargetFieldChange: function _onTargetFieldChange(event) {\n\t    var value = event.target.value;\n\t    var newValue = value.replace(/[^\\w\\d_]/g, '');\n\t\n\t    if (value !== newValue) {\n\t      this.refs.targetField.getInputDOMNode().value = newValue;\n\t    }\n\t\n\t    this._onFieldChange('target_field')(event);\n\t  },\n\t  _onFieldChange: function _onFieldChange(key) {\n\t    var _this = this;\n\t\n\t    return function (event) {\n\t      var nextState = {};\n\t      var updatedExtractor = _this.state.updatedExtractor;\n\t      updatedExtractor[key] = _FormsUtils2.default.getValueFromInput(event.target);\n\t      nextState.updatedExtractor = updatedExtractor;\n\t\n\t      // Reset result of testing condition after a change in the input\n\t      if (key === 'condition_value') {\n\t        nextState.conditionTestResult = undefined;\n\t      }\n\t\n\t      _this.setState(nextState);\n\t    };\n\t  },\n\t  _onConfigurationChange: function _onConfigurationChange(newConfiguration) {\n\t    var updatedExtractor = this.state.updatedExtractor;\n\t    updatedExtractor.extractor_config = newConfiguration;\n\t    this.setState({ updatedExtractor: updatedExtractor });\n\t  },\n\t  _onConverterChange: function _onConverterChange(converterType, newConverter) {\n\t    var updatedExtractor = this.state.updatedExtractor;\n\t    var previousConverter = updatedExtractor.converters.filter(function (converter) {\n\t      return converter.type === converterType;\n\t    })[0];\n\t\n\t    if (previousConverter) {\n\t      // Remove converter from the list\n\t      var position = updatedExtractor.converters.indexOf(previousConverter);\n\t      updatedExtractor.converters.splice(position, 1);\n\t    }\n\t\n\t    if (newConverter) {\n\t      updatedExtractor.converters.push(newConverter);\n\t    }\n\t\n\t    this.setState({ updatedExtractor: updatedExtractor });\n\t  },\n\t  _testCondition: function _testCondition() {\n\t    var _this2 = this;\n\t\n\t    var promise = ToolsStore.testRegex(this.state.updatedExtractor.condition_value, this.state.exampleMessage);\n\t    promise.then(function (result) {\n\t      return _this2.setState({ conditionTestResult: result.matched });\n\t    });\n\t  },\n\t  _tryButtonDisabled: function _tryButtonDisabled() {\n\t    return this.state.updatedExtractor.condition_value === '' || this.state.updatedExtractor.condition_value === undefined || !this.state.exampleMessage;\n\t  },\n\t  _getExtractorConditionControls: function _getExtractorConditionControls() {\n\t    if (!this.state.updatedExtractor.condition_type || this.state.updatedExtractor.condition_type === 'none') {\n\t      return _react2.default.createElement('div', null);\n\t    }\n\t\n\t    var conditionInputLabel = void 0;\n\t    var conditionInputHelp = void 0;\n\t\n\t    if (this.state.updatedExtractor.condition_type === 'string') {\n\t      conditionInputLabel = 'Field contains string';\n\t      conditionInputHelp = 'Type a string that the field should contain in order to attempt the extraction.';\n\t    } else {\n\t      conditionInputLabel = 'Field matches regular expression';\n\t      conditionInputHelp = 'Type a regular expression that the field should contain in order to attempt the extraction.';\n\t    }\n\t\n\t    var inputStyle = void 0;\n\t    if (this.state.conditionTestResult === true) {\n\t      inputStyle = 'success';\n\t      conditionInputHelp = 'Matches! Extractor would run against this example.';\n\t    } else if (this.state.conditionTestResult === false) {\n\t      inputStyle = 'error';\n\t      conditionInputHelp = 'Does not match! Extractor would not run.';\n\t    }\n\t\n\t    return _react2.default.createElement(\n\t      'div',\n\t      null,\n\t      _react2.default.createElement(\n\t        _reactBootstrap.Input,\n\t        { id: 'condition_value', label: conditionInputLabel,\n\t          bsStyle: inputStyle,\n\t          labelClassName: 'col-md-2',\n\t          wrapperClassName: 'col-md-10',\n\t          help: conditionInputHelp },\n\t        _react2.default.createElement(\n\t          _reactBootstrap.Row,\n\t          { className: 'row-sm' },\n\t          _react2.default.createElement(\n\t            _reactBootstrap.Col,\n\t            { md: 11 },\n\t            _react2.default.createElement('input', { type: 'text', id: 'condition_value', className: 'form-control',\n\t              defaultValue: this.state.updatedExtractor.condition_value,\n\t              onChange: this._onFieldChange('condition_value'), required: true })\n\t          ),\n\t          _react2.default.createElement(\n\t            _reactBootstrap.Col,\n\t            { md: 1, className: 'text-right' },\n\t            _react2.default.createElement(\n\t              _reactBootstrap.Button,\n\t              { bsStyle: 'info', onClick: this._testCondition,\n\t                disabled: this._tryButtonDisabled() },\n\t              'Try'\n\t            )\n\t          )\n\t        )\n\t      )\n\t    );\n\t  },\n\t  _saveExtractor: function _saveExtractor(event) {\n\t    var _this3 = this;\n\t\n\t    event.preventDefault();\n\t    ExtractorsActions.save.triggerPromise(this.props.inputId, this.state.updatedExtractor).then(function () {\n\t      return _this3.props.onSave();\n\t    });\n\t  },\n\t  render: function render() {\n\t    var conditionTypeHelpMessage = 'Extracting only from messages that match a certain condition helps you ' + 'avoiding wrong or unnecessary extractions and can also save CPU resources.';\n\t\n\t    var cursorStrategyHelpMessage = _react2.default.createElement(\n\t      'span',\n\t      null,\n\t      'Do you want to copy or cut from source? You cannot use the cutting feature on standard fields like',\n\t      ' ',\n\t      _react2.default.createElement(\n\t        'em',\n\t        null,\n\t        'message'\n\t      ),\n\t      ' and ',\n\t      _react2.default.createElement(\n\t        'em',\n\t        null,\n\t        'source'\n\t      ),\n\t      '.'\n\t    );\n\t\n\t    var targetFieldHelpMessage = _react2.default.createElement(\n\t      'span',\n\t      null,\n\t      'Choose a field name to store the extracted value. It can only contain ',\n\t      _react2.default.createElement(\n\t        'b',\n\t        null,\n\t        'alphanumeric characters and',\n\t        ' ',\n\t        'underscores'\n\t      ),\n\t      '. Example: ',\n\t      _react2.default.createElement(\n\t        'em',\n\t        null,\n\t        'http_response_code'\n\t      ),\n\t      '.'\n\t    );\n\t\n\t    var storeAsFieldInput = void 0;\n\t    // Grok and JSON extractors create their required fields, so no need to add an input for them\n\t    if (this.state.updatedExtractor.type !== _ExtractorUtils2.default.ExtractorTypes.GROK && this.state.updatedExtractor.type !== _ExtractorUtils2.default.ExtractorTypes.JSON) {\n\t      storeAsFieldInput = _react2.default.createElement(_reactBootstrap.Input, { type: 'text', ref: 'targetField', id: 'target_field', label: 'Store as field',\n\t        defaultValue: this.state.updatedExtractor.target_field,\n\t        labelClassName: 'col-md-2',\n\t        wrapperClassName: 'col-md-10',\n\t        onChange: this._onTargetFieldChange,\n\t        required: true,\n\t        help: targetFieldHelpMessage });\n\t    }\n\t\n\t    return _react2.default.createElement(\n\t      'div',\n\t      null,\n\t      _react2.default.createElement(\n\t        _reactBootstrap.Row,\n\t        { className: 'content extractor-list' },\n\t        _react2.default.createElement(\n\t          _reactBootstrap.Col,\n\t          { md: 12 },\n\t          _react2.default.createElement(\n\t            'h2',\n\t            null,\n\t            'Example message'\n\t          ),\n\t          _react2.default.createElement(\n\t            _reactBootstrap.Row,\n\t            { style: { marginTop: 5 } },\n\t            _react2.default.createElement(\n\t              _reactBootstrap.Col,\n\t              { md: 12 },\n\t              _react2.default.createElement(_ExtractorExampleMessage2.default, { field: this.state.updatedExtractor.source_field,\n\t                example: this.state.exampleMessage,\n\t                onExampleLoad: this._updateExampleMessage })\n\t            )\n\t          ),\n\t          _react2.default.createElement(\n\t            'h2',\n\t            null,\n\t            'Extractor configuration'\n\t          ),\n\t          _react2.default.createElement(\n\t            _reactBootstrap.Row,\n\t            null,\n\t            _react2.default.createElement(\n\t              _reactBootstrap.Col,\n\t              { md: 8 },\n\t              _react2.default.createElement(\n\t                'form',\n\t                { className: 'extractor-form form-horizontal', method: 'POST', onSubmit: this._saveExtractor },\n\t                _react2.default.createElement(_reactBootstrap.FormControls.Static, { label: 'Extractor type',\n\t                  value: _ExtractorUtils2.default.getReadableExtractorTypeName(this.state.updatedExtractor.type),\n\t                  labelClassName: 'col-md-2', wrapperClassName: 'col-md-10' }),\n\t                _react2.default.createElement(_reactBootstrap.FormControls.Static, { label: 'Source field', value: this.state.updatedExtractor.source_field,\n\t                  labelClassName: 'col-md-2', wrapperClassName: 'col-md-10' }),\n\t                _react2.default.createElement(_EditExtractorConfiguration2.default, { ref: 'extractorConfiguration',\n\t                  extractorType: this.state.updatedExtractor.type,\n\t                  configuration: this.state.updatedExtractor.extractor_config,\n\t                  onChange: this._onConfigurationChange,\n\t                  exampleMessage: this.state.exampleMessage }),\n\t                _react2.default.createElement(\n\t                  _reactBootstrap.Input,\n\t                  { label: 'Condition', labelClassName: 'col-md-2', wrapperClassName: 'col-md-10',\n\t                    help: conditionTypeHelpMessage },\n\t                  _react2.default.createElement(\n\t                    'div',\n\t                    { className: 'radio' },\n\t                    _react2.default.createElement(\n\t                      'label',\n\t                      null,\n\t                      _react2.default.createElement('input', { type: 'radio', name: 'condition_type', value: 'none',\n\t                        onChange: this._onFieldChange('condition_type'),\n\t                        defaultChecked: !this.state.updatedExtractor.condition_type || this.state.updatedExtractor.condition_type === 'none' }),\n\t                      'Always try to extract'\n\t                    )\n\t                  ),\n\t                  _react2.default.createElement(\n\t                    'div',\n\t                    { className: 'radio' },\n\t                    _react2.default.createElement(\n\t                      'label',\n\t                      null,\n\t                      _react2.default.createElement('input', { type: 'radio', name: 'condition_type', value: 'string',\n\t                        onChange: this._onFieldChange('condition_type'),\n\t                        defaultChecked: this.state.updatedExtractor.condition_type === 'string' }),\n\t                      'Only attempt extraction if field contains string'\n\t                    )\n\t                  ),\n\t                  _react2.default.createElement(\n\t                    'div',\n\t                    { className: 'radio' },\n\t                    _react2.default.createElement(\n\t                      'label',\n\t                      null,\n\t                      _react2.default.createElement('input', { type: 'radio', name: 'condition_type', value: 'regex',\n\t                        onChange: this._onFieldChange('condition_type'),\n\t                        defaultChecked: this.state.updatedExtractor.condition_type === 'regex' }),\n\t                      'Only attempt extraction if field matches regular expression'\n\t                    )\n\t                  )\n\t                ),\n\t                this._getExtractorConditionControls(),\n\t                storeAsFieldInput,\n\t                _react2.default.createElement(\n\t                  _reactBootstrap.Input,\n\t                  { label: 'Extraction strategy', labelClassName: 'col-md-2', wrapperClassName: 'col-md-10',\n\t                    help: cursorStrategyHelpMessage },\n\t                  _react2.default.createElement(\n\t                    'label',\n\t                    { className: 'radio-inline' },\n\t                    _react2.default.createElement('input', { type: 'radio', name: 'cursor_strategy', value: 'copy',\n\t                      onChange: this._onFieldChange('cursor_strategy'),\n\t                      defaultChecked: !this.state.updatedExtractor.cursor_strategy || this.state.updatedExtractor.cursor_strategy === 'copy' }),\n\t                    'Copy'\n\t                  ),\n\t                  _react2.default.createElement(\n\t                    'label',\n\t                    { className: 'radio-inline' },\n\t                    _react2.default.createElement('input', { type: 'radio', name: 'cursor_strategy', value: 'cut',\n\t                      onChange: this._onFieldChange('cursor_strategy'),\n\t                      defaultChecked: this.state.updatedExtractor.cursor_strategy === 'cut' }),\n\t                    'Cut'\n\t                  )\n\t                ),\n\t                _react2.default.createElement(_reactBootstrap.Input, { type: 'text', id: 'title', label: 'Extractor title',\n\t                  defaultValue: this.state.updatedExtractor.title,\n\t                  labelClassName: 'col-md-2',\n\t                  wrapperClassName: 'col-md-10',\n\t                  onChange: this._onFieldChange('title'),\n\t                  required: true,\n\t                  help: 'A descriptive name for this extractor.' }),\n\t                _react2.default.createElement(\n\t                  'div',\n\t                  { style: { marginBottom: 20 } },\n\t                  _react2.default.createElement(_EditExtractorConverters2.default, { extractorType: this.state.updatedExtractor.type,\n\t                    converters: this.state.updatedExtractor.converters,\n\t                    onChange: this._onConverterChange })\n\t                ),\n\t                _react2.default.createElement(\n\t                  _reactBootstrap.Input,\n\t                  { wrapperClassName: 'col-md-offset-2 col-md-10' },\n\t                  _react2.default.createElement(\n\t                    _reactBootstrap.Button,\n\t                    { type: 'submit', bsStyle: 'success' },\n\t                    this.props.action === 'create' ? 'Create extractor' : 'Update extractor'\n\t                  )\n\t                )\n\t              )\n\t            )\n\t          )\n\t        )\n\t      )\n\t    );\n\t  }\n\t});\n\t\n\texports.default = EditExtractor;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 260:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _extractors_configuration = __webpack_require__(283);\n\t\n\tvar _ExtractorUtils = __webpack_require__(45);\n\t\n\tvar _ExtractorUtils2 = _interopRequireDefault(_ExtractorUtils);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar EditExtractorConfiguration = _react2.default.createClass({\n\t  displayName: 'EditExtractorConfiguration',\n\t\n\t  propTypes: {\n\t    extractorType: _react.PropTypes.oneOf(_ExtractorUtils2.default.EXTRACTOR_TYPES).isRequired,\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    onChange: _react.PropTypes.func.isRequired,\n\t    exampleMessage: _react.PropTypes.string\n\t  },\n\t  getInitialState: function getInitialState() {\n\t    return {\n\t      extractorPreview: undefined\n\t    };\n\t  },\n\t  _onExtractorPreviewLoad: function _onExtractorPreviewLoad(extractorPreviewNode) {\n\t    this.setState({ extractorPreview: extractorPreviewNode });\n\t  },\n\t  render: function render() {\n\t    var extractorConfiguration = void 0;\n\t\n\t    switch (this.props.extractorType) {\n\t      case _ExtractorUtils2.default.ExtractorTypes.COPY_INPUT:\n\t        extractorConfiguration = _react2.default.createElement(_extractors_configuration.CopyInputExtractorConfiguration, null);\n\t        break;\n\t      case _ExtractorUtils2.default.ExtractorTypes.GROK:\n\t        extractorConfiguration = _react2.default.createElement(_extractors_configuration.GrokExtractorConfiguration, { configuration: this.props.configuration,\n\t          exampleMessage: this.props.exampleMessage,\n\t          onChange: this.props.onChange,\n\t          onExtractorPreviewLoad: this._onExtractorPreviewLoad });\n\t        break;\n\t      case _ExtractorUtils2.default.ExtractorTypes.JSON:\n\t        extractorConfiguration = _react2.default.createElement(_extractors_configuration.JSONExtractorConfiguration, { configuration: this.props.configuration,\n\t          exampleMessage: this.props.exampleMessage,\n\t          onChange: this.props.onChange,\n\t          onExtractorPreviewLoad: this._onExtractorPreviewLoad });\n\t        break;\n\t      case _ExtractorUtils2.default.ExtractorTypes.REGEX:\n\t        extractorConfiguration = _react2.default.createElement(_extractors_configuration.RegexExtractorConfiguration, { configuration: this.props.configuration,\n\t          exampleMessage: this.props.exampleMessage,\n\t          onChange: this.props.onChange,\n\t          onExtractorPreviewLoad: this._onExtractorPreviewLoad });\n\t        break;\n\t      case _ExtractorUtils2.default.ExtractorTypes.REGEX_REPLACE:\n\t        extractorConfiguration = _react2.default.createElement(_extractors_configuration.RegexReplaceExtractorConfiguration, { configuration: this.props.configuration,\n\t          exampleMessage: this.props.exampleMessage,\n\t          onChange: this.props.onChange,\n\t          onExtractorPreviewLoad: this._onExtractorPreviewLoad });\n\t        break;\n\t      case _ExtractorUtils2.default.ExtractorTypes.SUBSTRING:\n\t        extractorConfiguration = _react2.default.createElement(_extractors_configuration.SubstringExtractorConfiguration, { configuration: this.props.configuration,\n\t          exampleMessage: this.props.exampleMessage,\n\t          onChange: this.props.onChange,\n\t          onExtractorPreviewLoad: this._onExtractorPreviewLoad });\n\t        break;\n\t      case _ExtractorUtils2.default.ExtractorTypes.SPLIT_AND_INDEX:\n\t        extractorConfiguration = _react2.default.createElement(_extractors_configuration.SplitAndIndexExtractorConfiguration, { configuration: this.props.configuration,\n\t          exampleMessage: this.props.exampleMessage,\n\t          onChange: this.props.onChange,\n\t          onExtractorPreviewLoad: this._onExtractorPreviewLoad });\n\t        break;\n\t      default:\n\t        console.warn('Unsupported extractor type ' + this.props.extractorType);\n\t    }\n\t\n\t    var extractorPreview = void 0;\n\t\n\t    if (this.state.extractorPreview !== undefined) {\n\t      extractorPreview = _react2.default.createElement(\n\t        'div',\n\t        { className: 'form-group' },\n\t        _react2.default.createElement(\n\t          _reactBootstrap.Col,\n\t          { md: 10, mdOffset: 2 },\n\t          _react2.default.createElement(\n\t            _reactBootstrap.Panel,\n\t            { header: 'Extractor preview', bsStyle: 'info' },\n\t            this.state.extractorPreview === '' ? _react2.default.createElement(\n\t              'em',\n\t              null,\n\t              'Nothing will be extracted'\n\t            ) : this.state.extractorPreview\n\t          )\n\t        )\n\t      );\n\t    }\n\t\n\t    return _react2.default.createElement(\n\t      'div',\n\t      null,\n\t      extractorConfiguration,\n\t      extractorPreview\n\t    );\n\t  }\n\t});\n\t\n\texports.default = EditExtractorConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 261:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _common = __webpack_require__(5);\n\t\n\tvar _converters_configuration = __webpack_require__(275);\n\t\n\tvar _ExtractorUtils = __webpack_require__(45);\n\t\n\tvar _ExtractorUtils2 = _interopRequireDefault(_ExtractorUtils);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar EditExtractorConverters = _react2.default.createClass({\n\t  displayName: 'EditExtractorConverters',\n\t\n\t  propTypes: {\n\t    extractorType: _react.PropTypes.string.isRequired,\n\t    converters: _react.PropTypes.array.isRequired,\n\t    onChange: _react.PropTypes.func.isRequired\n\t  },\n\t  getInitialState: function getInitialState() {\n\t    return {\n\t      displayedConverters: this.props.converters.map(function (converter) {\n\t        return converter.type;\n\t      }),\n\t      disabledConverters: {}, // Keep disabled converters configuration, so the user doesn't need to type it again\n\t      selectedConverter: undefined\n\t    };\n\t  },\n\t  _onConverterSelect: function _onConverterSelect(newValue) {\n\t    this.setState({ selectedConverter: newValue });\n\t  },\n\t  _onConverterAdd: function _onConverterAdd() {\n\t    var newDisplayedConverters = this.state.displayedConverters;\n\t    newDisplayedConverters.push(this.state.selectedConverter);\n\t    this.setState({ selectedConverter: undefined, converters: newDisplayedConverters });\n\t  },\n\t  _onConverterChange: function _onConverterChange(converterType, converter) {\n\t    if (converter) {\n\t      var newDisabledConverters = this.state.disabledConverters;\n\t      if (newDisabledConverters.hasOwnProperty(converterType)) {\n\t        delete newDisabledConverters[converterType];\n\t        this.setState({ disabledConverters: newDisabledConverters });\n\t      }\n\t    } else {\n\t      var _newDisabledConverters = this.state.disabledConverters;\n\t      _newDisabledConverters[converterType] = this._getConverterByType(converterType);\n\t      this.setState({ disabledConverters: _newDisabledConverters });\n\t    }\n\t\n\t    this.props.onChange(converterType, converter);\n\t  },\n\t  _getConverterOptions: function _getConverterOptions() {\n\t    var _this = this;\n\t\n\t    var converterOptions = [];\n\t    Object.keys(_ExtractorUtils2.default.ConverterTypes).forEach(function (converterType) {\n\t      var type = _ExtractorUtils2.default.ConverterTypes[converterType];\n\t      var disabled = _this.state.displayedConverters.indexOf(type) !== -1;\n\t      converterOptions.push({\n\t        value: type,\n\t        label: _ExtractorUtils2.default.getReadableConverterTypeName(type),\n\t        disabled: disabled\n\t      });\n\t    });\n\t\n\t    return converterOptions;\n\t  },\n\t  _getConverterByType: function _getConverterByType(converterType) {\n\t    var currentConverter = this.props.converters.filter(function (converter) {\n\t      return converter.type === converterType;\n\t    })[0];\n\t    return currentConverter ? currentConverter.config : {};\n\t  },\n\t  _getConvertersConfiguration: function _getConvertersConfiguration() {\n\t    var _this2 = this;\n\t\n\t    var controls = this.state.displayedConverters.map(function (converterType) {\n\t      // Get converter configuration from disabledConverters if it was disabled\n\t      var converterConfig = _this2._getConverterByType(converterType);\n\t      if (Object.keys(converterConfig).length === 0 && _this2.state.disabledConverters.hasOwnProperty(converterType)) {\n\t        converterConfig = _this2.state.disabledConverters[converterType];\n\t      }\n\t\n\t      switch (converterType) {\n\t        case _ExtractorUtils2.default.ConverterTypes.NUMERIC:\n\t          return _react2.default.createElement(_converters_configuration.NumericConverterConfiguration, { key: converterType,\n\t            type: converterType,\n\t            configuration: converterConfig,\n\t            onChange: _this2._onConverterChange });\n\t        case _ExtractorUtils2.default.ConverterTypes.DATE:\n\t          return _react2.default.createElement(_converters_configuration.DateConverterConfiguration, { key: converterType,\n\t            type: converterType,\n\t            configuration: converterConfig,\n\t            onChange: _this2._onConverterChange });\n\t        case _ExtractorUtils2.default.ConverterTypes.HASH:\n\t          return _react2.default.createElement(_converters_configuration.HashConverterConfiguration, { key: converterType,\n\t            type: converterType,\n\t            configuration: converterConfig,\n\t            onChange: _this2._onConverterChange });\n\t        case _ExtractorUtils2.default.ConverterTypes.SPLIT_AND_COUNT:\n\t          return _react2.default.createElement(_converters_configuration.SplitAndCountConverterConfiguration, { key: converterType,\n\t            type: converterType,\n\t            configuration: converterConfig,\n\t            onChange: _this2._onConverterChange });\n\t        case _ExtractorUtils2.default.ConverterTypes.IP_ANONYMIZER:\n\t          return _react2.default.createElement(_converters_configuration.IpAnonymizerConverterConfiguration, { key: converterType,\n\t            type: converterType,\n\t            configuration: converterConfig,\n\t            onChange: _this2._onConverterChange });\n\t        case _ExtractorUtils2.default.ConverterTypes.SYSLOG_PRI_LEVEL:\n\t          return _react2.default.createElement(_converters_configuration.SyslogPriLevelConverterConfiguration, { key: converterType,\n\t            type: converterType,\n\t            configuration: converterConfig,\n\t            onChange: _this2._onConverterChange });\n\t        case _ExtractorUtils2.default.ConverterTypes.SYSLOG_PRI_FACILITY:\n\t          return _react2.default.createElement(_converters_configuration.SyslogPriFacilityConverterConfiguration, { key: converterType,\n\t            type: converterType,\n\t            configuration: converterConfig,\n\t            onChange: _this2._onConverterChange });\n\t        case _ExtractorUtils2.default.ConverterTypes.TOKENIZER:\n\t          return _react2.default.createElement(_converters_configuration.TokenizerConverterConfiguration, { key: converterType,\n\t            type: converterType,\n\t            configuration: converterConfig,\n\t            onChange: _this2._onConverterChange });\n\t        case _ExtractorUtils2.default.ConverterTypes.CSV:\n\t          return _react2.default.createElement(_converters_configuration.CSVConverterConfiguration, { key: converterType,\n\t            type: converterType,\n\t            configuration: converterConfig,\n\t            onChange: _this2._onConverterChange });\n\t        case _ExtractorUtils2.default.ConverterTypes.LOWERCASE:\n\t          return _react2.default.createElement(_converters_configuration.LowercaseConverterConfiguration, { key: converterType,\n\t            type: converterType,\n\t            configuration: converterConfig,\n\t            onChange: _this2._onConverterChange });\n\t        case _ExtractorUtils2.default.ConverterTypes.UPPERCASE:\n\t          return _react2.default.createElement(_converters_configuration.UppercaseConverterConfiguration, { key: converterType,\n\t            type: converterType,\n\t            configuration: converterConfig,\n\t            onChange: _this2._onConverterChange });\n\t        case _ExtractorUtils2.default.ConverterTypes.FLEXDATE:\n\t          return _react2.default.createElement(_converters_configuration.FlexdateConverterConfiguration, { key: converterType,\n\t            type: converterType,\n\t            configuration: converterConfig,\n\t            onChange: _this2._onConverterChange });\n\t        default:\n\t          console.warn('Converter type ' + converterType + ' is not supported.');\n\t      }\n\t    });\n\t\n\t    return controls;\n\t  },\n\t  render: function render() {\n\t    if (this.props.extractorType === _ExtractorUtils2.default.ExtractorTypes.GROK || this.props.extractorType === _ExtractorUtils2.default.ExtractorTypes.JSON) {\n\t      return _react2.default.createElement(\n\t        'div',\n\t        { className: 'form-group' },\n\t        _react2.default.createElement(\n\t          'div',\n\t          { className: 'col-md-offset-2 col-md-10' },\n\t          _react2.default.createElement(\n\t            _reactBootstrap.Panel,\n\t            { bsStyle: 'info', style: { marginBottom: 0 } },\n\t            'Cannot add converters to',\n\t            ' ',\n\t            _react2.default.createElement(\n\t              'em',\n\t              null,\n\t              _ExtractorUtils2.default.getReadableExtractorTypeName(this.props.extractorType)\n\t            ),\n\t            ' extractors.'\n\t          )\n\t        )\n\t      );\n\t    }\n\t\n\t    return _react2.default.createElement(\n\t      'div',\n\t      null,\n\t      _react2.default.createElement(\n\t        _reactBootstrap.Input,\n\t        { id: 'add-converter',\n\t          label: 'Add converter',\n\t          labelClassName: 'col-md-2',\n\t          wrapperClassName: 'col-md-10',\n\t          help: 'Add converters to transform the extracted value.' },\n\t        _react2.default.createElement(\n\t          _reactBootstrap.Row,\n\t          { className: 'row-sm' },\n\t          _react2.default.createElement(\n\t            _reactBootstrap.Col,\n\t            { md: 11 },\n\t            _react2.default.createElement(_common.Select, { ref: 'addConverter',\n\t              id: 'add-converter',\n\t              placeholder: 'Select a converter',\n\t              options: this._getConverterOptions(),\n\t              value: this.state.selectedConverter,\n\t              onChange: this._onConverterSelect })\n\t          ),\n\t          _react2.default.createElement(\n\t            _reactBootstrap.Col,\n\t            { md: 1, className: 'text-right' },\n\t            _react2.default.createElement(\n\t              _reactBootstrap.Button,\n\t              { bsStyle: 'info', onClick: this._onConverterAdd, disabled: !this.state.selectedConverter },\n\t              'Add'\n\t            )\n\t          )\n\t        )\n\t      ),\n\t      this._getConvertersConfiguration()\n\t    );\n\t  }\n\t});\n\t\n\texports.default = EditExtractorConverters;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 262:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _MessageLoader = __webpack_require__(103);\n\t\n\tvar _MessageLoader2 = _interopRequireDefault(_MessageLoader);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar ExtractorExampleMessage = _react2.default.createClass({\n\t  displayName: 'ExtractorExampleMessage',\n\t\n\t  propTypes: {\n\t    field: _react.PropTypes.string.isRequired,\n\t    example: _react.PropTypes.string,\n\t    onExampleLoad: _react.PropTypes.func\n\t  },\n\t  _onExampleLoad: function _onExampleLoad(message) {\n\t    var newExample = message.fields[this.props.field];\n\t    this.props.onExampleLoad(newExample);\n\t  },\n\t  render: function render() {\n\t    var originalMessage = _react2.default.createElement(\n\t      'span',\n\t      { id: 'xtrc-original-example', style: { display: 'none' } },\n\t      this.props.example\n\t    );\n\t    var messagePreview = void 0;\n\t\n\t    if (this.props.example) {\n\t      messagePreview = _react2.default.createElement(\n\t        'div',\n\t        { className: 'well well-sm xtrc-new-example' },\n\t        _react2.default.createElement(\n\t          'span',\n\t          { id: 'xtrc-example' },\n\t          this.props.example\n\t        )\n\t      );\n\t    } else {\n\t      messagePreview = _react2.default.createElement(\n\t        'div',\n\t        { className: 'alert alert-warning xtrc-no-example' },\n\t        'Could not load an example of field \\'',\n\t        this.props.field,\n\t        '\\'. It is not possible to test the extractor before updating it.'\n\t      );\n\t    }\n\t\n\t    return _react2.default.createElement(\n\t      'div',\n\t      null,\n\t      originalMessage,\n\t      messagePreview,\n\t      _react2.default.createElement(_MessageLoader2.default, { onMessageLoaded: this._onExampleLoad })\n\t    );\n\t  }\n\t});\n\t\n\texports.default = ExtractorExampleMessage;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 263:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar CSVConverterConfiguration = _react2.default.createClass({\n\t  displayName: 'CSVConverterConfiguration',\n\t\n\t  propTypes: {\n\t    type: _react.PropTypes.string.isRequired,\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    onChange: _react.PropTypes.func.isRequired\n\t  },\n\t  componentDidMount: function componentDidMount() {\n\t    this.props.onChange(this.props.type, this._getConverterObject());\n\t  },\n\t  _getConverterObject: function _getConverterObject(configuration) {\n\t    return { type: this.props.type, config: configuration || this.props.configuration };\n\t  },\n\t  _toggleConverter: function _toggleConverter(event) {\n\t    var converter = void 0;\n\t    if (_FormsUtils2.default.getValueFromInput(event.target) === true) {\n\t      converter = this._getConverterObject();\n\t    }\n\t\n\t    this.props.onChange(this.props.type, converter);\n\t  },\n\t  _onChange: function _onChange(key) {\n\t    var _this = this;\n\t\n\t    return function (event) {\n\t      var newConfig = _this.props.configuration;\n\t      newConfig[key] = _FormsUtils2.default.getValueFromInput(event.target);\n\t      _this.props.onChange(_this.props.type, _this._getConverterObject(newConfig));\n\t    };\n\t  },\n\t  render: function render() {\n\t    var separatorHelpMessage = _react2.default.createElement(\n\t      'span',\n\t      null,\n\t      'For example ',\n\t      _react2.default.createElement(\n\t        'code',\n\t        null,\n\t        ','\n\t      ),\n\t      ', ',\n\t      _react2.default.createElement(\n\t        'code',\n\t        null,\n\t        '\\\\n'\n\t      ),\n\t      ', and ',\n\t      _react2.default.createElement(\n\t        'code',\n\t        null,\n\t        '\\\\t'\n\t      ),\n\t      ' will be translated to a single character.'\n\t    );\n\t\n\t    return _react2.default.createElement(\n\t      'div',\n\t      { className: 'xtrc-converter' },\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'checkbox',\n\t        ref: 'converterEnabled',\n\t        id: 'enable-' + this.props.type + '-converter',\n\t        label: 'Add CSV columns as fields',\n\t        wrapperClassName: 'col-md-offset-2 col-md-10',\n\t        defaultChecked: true,\n\t        onChange: this._toggleConverter }),\n\t      _react2.default.createElement(\n\t        _reactBootstrap.Row,\n\t        { className: 'row-sm' },\n\t        _react2.default.createElement(\n\t          _reactBootstrap.Col,\n\t          { md: 9, mdOffset: 2 },\n\t          _react2.default.createElement(\n\t            'div',\n\t            { className: 'xtrc-converter-subfields' },\n\t            _react2.default.createElement(_reactBootstrap.Input, { type: 'text',\n\t              id: this.props.type + '_converter_column_header',\n\t              label: 'Field names',\n\t              defaultValue: this.props.configuration.column_header,\n\t              labelClassName: 'col-md-3',\n\t              wrapperClassName: 'col-md-9',\n\t              placeholder: 'field1,field2,field3',\n\t              onChange: this._onChange('column_header'),\n\t              required: this.refs.converterEnabled && this.refs.converterEnabled.getChecked() }),\n\t            _react2.default.createElement(_reactBootstrap.Input, { type: 'text',\n\t              id: this.props.type + '_converter_separator',\n\t              label: 'Separator character',\n\t              defaultValue: this.props.configuration.separator || ',',\n\t              labelClassName: 'col-md-3',\n\t              wrapperClassName: 'col-md-9',\n\t              maxLength: '2',\n\t              onChange: this._onChange('separator'),\n\t              help: separatorHelpMessage }),\n\t            _react2.default.createElement(_reactBootstrap.Input, { type: 'text',\n\t              id: this.props.type + '_converter_quote_char',\n\t              label: 'Quote character',\n\t              defaultValue: this.props.configuration.quote_char || '\"',\n\t              labelClassName: 'col-md-3',\n\t              wrapperClassName: 'col-md-9',\n\t              maxLength: '1',\n\t              onChange: this._onChange('quote_char') }),\n\t            _react2.default.createElement(_reactBootstrap.Input, { type: 'text',\n\t              id: this.props.type + '_converter_escape_char',\n\t              label: 'Escape character',\n\t              defaultValue: this.props.configuration.escape_char || '\\\\',\n\t              labelClassName: 'col-md-3',\n\t              wrapperClassName: 'col-md-9',\n\t              maxLength: '1',\n\t              onChange: this._onChange('escape_char'),\n\t              help: 'Character used to escape the separator and quote characters.' }),\n\t            _react2.default.createElement(_reactBootstrap.Input, { type: 'checkbox',\n\t              id: this.props.type + '_converter_strict_quotes',\n\t              label: 'Use strict quotes',\n\t              wrapperClassName: 'col-md-offset-3 col-md-9',\n\t              defaultChecked: this.props.configuration.strict_quotes,\n\t              onChange: this._onChange('strict_quotes'),\n\t              help: 'Ignore content outside of quotes.' }),\n\t            _react2.default.createElement(_reactBootstrap.Input, { type: 'checkbox',\n\t              id: this.props.type + '_converter_trim_leading_whitespace',\n\t              label: 'Trim leading whitespace',\n\t              wrapperClassName: 'col-md-offset-3 col-md-9',\n\t              defaultChecked: this.props.configuration.trim_leading_whitespace,\n\t              onChange: this._onChange('trim_leading_whitespace') })\n\t          )\n\t        )\n\t      )\n\t    );\n\t  }\n\t});\n\t\n\texports.default = CSVConverterConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 264:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _common = __webpack_require__(5);\n\t\n\tvar _DocumentationLink = __webpack_require__(29);\n\t\n\tvar _DocumentationLink2 = _interopRequireDefault(_DocumentationLink);\n\t\n\tvar _DocsHelper = __webpack_require__(17);\n\t\n\tvar _DocsHelper2 = _interopRequireDefault(_DocsHelper);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar DateConverterConfiguration = _react2.default.createClass({\n\t  displayName: 'DateConverterConfiguration',\n\t\n\t  propTypes: {\n\t    type: _react.PropTypes.string.isRequired,\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    onChange: _react.PropTypes.func.isRequired\n\t  },\n\t  componentDidMount: function componentDidMount() {\n\t    this.props.onChange(this.props.type, this._getConverterObject());\n\t  },\n\t  _getConverterObject: function _getConverterObject(configuration) {\n\t    return { type: this.props.type, config: configuration || this.props.configuration };\n\t  },\n\t  _toggleConverter: function _toggleConverter(event) {\n\t    var converter = void 0;\n\t    if (_FormsUtils2.default.getValueFromInput(event.target) === true) {\n\t      converter = this._getConverterObject();\n\t    }\n\t\n\t    this.props.onChange(this.props.type, converter);\n\t  },\n\t  _onChange: function _onChange(key) {\n\t    var _this = this;\n\t\n\t    return function (data) {\n\t      var newConfig = _this.props.configuration;\n\t      // data can be an event or a value, we need to check its type :sick:\n\t      newConfig[key] = (typeof data === 'undefined' ? 'undefined' : _typeof(data)) === 'object' ? _FormsUtils2.default.getValueFromInput(data.target) : data;\n\t      _this.props.onChange(_this.props.type, _this._getConverterObject(newConfig));\n\t    };\n\t  },\n\t  render: function render() {\n\t    var dateFormatHelpMessage = _react2.default.createElement(\n\t      'span',\n\t      null,\n\t      'String format the date uses. Read more in the ',\n\t      _react2.default.createElement(_DocumentationLink2.default, {\n\t        page: _DocsHelper2.default.PAGES.PAGE_STANDARD_DATE_CONVERTER, text: 'documentation' }),\n\t      '.'\n\t    );\n\t\n\t    var timezoneHelpMessage = _react2.default.createElement(\n\t      'span',\n\t      null,\n\t      'Time zone to apply to date. Read more in the ',\n\t      _react2.default.createElement(_DocumentationLink2.default, {\n\t        page: _DocsHelper2.default.PAGES.PAGE_STANDARD_DATE_CONVERTER, text: 'documentation' }),\n\t      '.'\n\t    );\n\t\n\t    return _react2.default.createElement(\n\t      'div',\n\t      { className: 'xtrc-converter' },\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'checkbox',\n\t        ref: 'converterEnabled',\n\t        id: 'enable-' + this.props.type + '-converter',\n\t        label: 'Convert to date type',\n\t        wrapperClassName: 'col-md-offset-2 col-md-10',\n\t        defaultChecked: true,\n\t        onChange: this._toggleConverter }),\n\t      _react2.default.createElement(\n\t        _reactBootstrap.Row,\n\t        { className: 'row-sm' },\n\t        _react2.default.createElement(\n\t          _reactBootstrap.Col,\n\t          { md: 9, mdOffset: 2 },\n\t          _react2.default.createElement(\n\t            'div',\n\t            { className: 'xtrc-converter-subfields' },\n\t            _react2.default.createElement(_reactBootstrap.Input, { type: 'text',\n\t              id: this.props.type + '_converter_date_format',\n\t              label: 'Format string',\n\t              defaultValue: this.props.configuration.date_format,\n\t              labelClassName: 'col-md-3',\n\t              wrapperClassName: 'col-md-9',\n\t              placeholder: 'yyyy-MM-dd HH:mm:ss.SSS',\n\t              onChange: this._onChange('date_format'),\n\t              required: this.refs.converterEnabled && this.refs.converterEnabled.getChecked(),\n\t              help: dateFormatHelpMessage }),\n\t            _react2.default.createElement(\n\t              _reactBootstrap.Input,\n\t              { label: 'Time Zone',\n\t                id: this.props.type + '_converter_timezone',\n\t                labelClassName: 'col-sm-3',\n\t                wrapperClassName: 'col-sm-9',\n\t                help: timezoneHelpMessage },\n\t              _react2.default.createElement(_common.TimezoneSelect, { ref: 'timezone',\n\t                id: this.props.type + '_converter_timezone',\n\t                className: 'timezone-select',\n\t                value: this.props.configuration.time_zone,\n\t                onChange: this._onChange('time_zone') })\n\t            )\n\t          )\n\t        )\n\t      )\n\t    );\n\t  }\n\t});\n\t\n\texports.default = DateConverterConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 265:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _common = __webpack_require__(5);\n\t\n\tvar _DocumentationLink = __webpack_require__(29);\n\t\n\tvar _DocumentationLink2 = _interopRequireDefault(_DocumentationLink);\n\t\n\tvar _DocsHelper = __webpack_require__(17);\n\t\n\tvar _DocsHelper2 = _interopRequireDefault(_DocsHelper);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar FlexdateConverterConfiguration = _react2.default.createClass({\n\t  displayName: 'FlexdateConverterConfiguration',\n\t\n\t  propTypes: {\n\t    type: _react.PropTypes.string.isRequired,\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    onChange: _react.PropTypes.func.isRequired\n\t  },\n\t  componentDidMount: function componentDidMount() {\n\t    this.props.onChange(this.props.type, this._getConverterObject());\n\t  },\n\t  _getConverterObject: function _getConverterObject(configuration) {\n\t    return { type: this.props.type, config: configuration || this.props.configuration };\n\t  },\n\t  _toggleConverter: function _toggleConverter(event) {\n\t    var converter = void 0;\n\t    if (_FormsUtils2.default.getValueFromInput(event.target) === true) {\n\t      converter = this._getConverterObject();\n\t    }\n\t\n\t    this.props.onChange(this.props.type, converter);\n\t  },\n\t  _onChange: function _onChange(key) {\n\t    var _this = this;\n\t\n\t    return function (data) {\n\t      var newConfig = _this.props.configuration;\n\t      // data can be an event or a value, we need to check its type :sick:\n\t      newConfig[key] = (typeof data === 'undefined' ? 'undefined' : _typeof(data)) === 'object' ? _FormsUtils2.default.getValueFromInput(data.target) : data;\n\t      _this.props.onChange(_this.props.type, _this._getConverterObject(newConfig));\n\t    };\n\t  },\n\t  render: function render() {\n\t    var timezoneHelpMessage = _react2.default.createElement(\n\t      'span',\n\t      null,\n\t      'Time zone to apply to date. Read more in the ',\n\t      _react2.default.createElement(_DocumentationLink2.default, {\n\t        page: _DocsHelper2.default.PAGES.PAGE_FLEXIBLE_DATE_CONVERTER, text: 'documentation' }),\n\t      '.'\n\t    );\n\t\n\t    return _react2.default.createElement(\n\t      'div',\n\t      { className: 'xtrc-converter' },\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'checkbox',\n\t        id: 'enable-' + this.props.type + '-converter',\n\t        label: 'Flexibly parse date',\n\t        wrapperClassName: 'col-md-offset-2 col-md-10',\n\t        defaultChecked: true,\n\t        onChange: this._toggleConverter }),\n\t      _react2.default.createElement(\n\t        _reactBootstrap.Row,\n\t        { className: 'row-sm' },\n\t        _react2.default.createElement(\n\t          _reactBootstrap.Col,\n\t          { md: 9, mdOffset: 2 },\n\t          _react2.default.createElement(\n\t            'div',\n\t            { className: 'xtrc-converter-subfields' },\n\t            _react2.default.createElement(\n\t              _reactBootstrap.Input,\n\t              { label: 'Time Zone',\n\t                id: this.props.type + '_converter_timezone',\n\t                labelClassName: 'col-sm-3',\n\t                wrapperClassName: 'col-sm-9',\n\t                help: timezoneHelpMessage },\n\t              _react2.default.createElement(_common.TimezoneSelect, { ref: 'timezone',\n\t                id: this.props.type + '_converter_timezone',\n\t                className: 'timezone-select',\n\t                value: this.props.configuration.time_zone,\n\t                onChange: this._onChange('time_zone') })\n\t            )\n\t          )\n\t        )\n\t      )\n\t    );\n\t  }\n\t});\n\t\n\texports.default = FlexdateConverterConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 266:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar HashConverterConfiguration = _react2.default.createClass({\n\t  displayName: 'HashConverterConfiguration',\n\t\n\t  propTypes: {\n\t    type: _react.PropTypes.string.isRequired,\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    onChange: _react.PropTypes.func.isRequired\n\t  },\n\t  componentDidMount: function componentDidMount() {\n\t    this.props.onChange(this.props.type, this._getConverterObject());\n\t  },\n\t  _getConverterObject: function _getConverterObject() {\n\t    return { type: this.props.type, config: this.props.configuration };\n\t  },\n\t  _toggleConverter: function _toggleConverter(event) {\n\t    var converter = void 0;\n\t    if (_FormsUtils2.default.getValueFromInput(event.target) === true) {\n\t      converter = this._getConverterObject();\n\t    }\n\t\n\t    this.props.onChange(this.props.type, converter);\n\t  },\n\t  render: function render() {\n\t    return _react2.default.createElement(\n\t      'div',\n\t      { className: 'xtrc-converter' },\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'checkbox',\n\t        id: 'enable-' + this.props.type + '-converter',\n\t        label: 'Build MD5 hash from value',\n\t        wrapperClassName: 'col-md-offset-2 col-md-10',\n\t        defaultChecked: true,\n\t        onChange: this._toggleConverter })\n\t    );\n\t  }\n\t});\n\t\n\texports.default = HashConverterConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 267:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar IpAnonymizerConverterConfiguration = _react2.default.createClass({\n\t  displayName: 'IpAnonymizerConverterConfiguration',\n\t\n\t  propTypes: {\n\t    type: _react.PropTypes.string.isRequired,\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    onChange: _react.PropTypes.func.isRequired\n\t  },\n\t  componentDidMount: function componentDidMount() {\n\t    this.props.onChange(this.props.type, this._getConverterObject());\n\t  },\n\t  _getConverterObject: function _getConverterObject() {\n\t    return { type: this.props.type, config: this.props.configuration };\n\t  },\n\t  _toggleConverter: function _toggleConverter(event) {\n\t    var converter = void 0;\n\t    if (_FormsUtils2.default.getValueFromInput(event.target) === true) {\n\t      converter = this._getConverterObject();\n\t    }\n\t\n\t    this.props.onChange(this.props.type, converter);\n\t  },\n\t  render: function render() {\n\t    return _react2.default.createElement(\n\t      'div',\n\t      { className: 'xtrc-converter' },\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'checkbox',\n\t        id: 'enable-' + this.props.type + '-converter',\n\t        label: 'Anonymize IPv4 addresses by replacing last octet',\n\t        wrapperClassName: 'col-md-offset-2 col-md-10',\n\t        defaultChecked: true,\n\t        onChange: this._toggleConverter })\n\t    );\n\t  }\n\t});\n\t\n\texports.default = IpAnonymizerConverterConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 268:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar LowercaseConverterConfiguration = _react2.default.createClass({\n\t  displayName: 'LowercaseConverterConfiguration',\n\t\n\t  propTypes: {\n\t    type: _react.PropTypes.string.isRequired,\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    onChange: _react.PropTypes.func.isRequired\n\t  },\n\t  componentDidMount: function componentDidMount() {\n\t    this.props.onChange(this.props.type, this._getConverterObject());\n\t  },\n\t  _getConverterObject: function _getConverterObject() {\n\t    return { type: this.props.type, config: this.props.configuration };\n\t  },\n\t  _toggleConverter: function _toggleConverter(event) {\n\t    var converter = void 0;\n\t    if (_FormsUtils2.default.getValueFromInput(event.target) === true) {\n\t      converter = this._getConverterObject();\n\t    }\n\t\n\t    this.props.onChange(this.props.type, converter);\n\t  },\n\t  render: function render() {\n\t    return _react2.default.createElement(\n\t      'div',\n\t      { className: 'xtrc-converter' },\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'checkbox',\n\t        id: 'enable-' + this.props.type + '-converter',\n\t        label: 'Transform value to lowercase',\n\t        wrapperClassName: 'col-md-offset-2 col-md-10',\n\t        defaultChecked: true,\n\t        onChange: this._toggleConverter })\n\t    );\n\t  }\n\t});\n\t\n\texports.default = LowercaseConverterConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 269:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar NumericConverterConfiguration = _react2.default.createClass({\n\t  displayName: 'NumericConverterConfiguration',\n\t\n\t  propTypes: {\n\t    type: _react.PropTypes.string.isRequired,\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    onChange: _react.PropTypes.func.isRequired\n\t  },\n\t  componentDidMount: function componentDidMount() {\n\t    this.props.onChange(this.props.type, this._getConverterObject());\n\t  },\n\t  _getConverterObject: function _getConverterObject() {\n\t    return { type: this.props.type, config: this.props.configuration };\n\t  },\n\t  _toggleConverter: function _toggleConverter(event) {\n\t    var converter = void 0;\n\t    if (_FormsUtils2.default.getValueFromInput(event.target) === true) {\n\t      converter = this._getConverterObject();\n\t    }\n\t\n\t    this.props.onChange(this.props.type, converter);\n\t  },\n\t  render: function render() {\n\t    return _react2.default.createElement(\n\t      'div',\n\t      { className: 'xtrc-converter' },\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'checkbox',\n\t        id: 'enable-' + this.props.type + '-converter',\n\t        label: 'Convert to numeric value',\n\t        wrapperClassName: 'col-md-offset-2 col-md-10',\n\t        defaultChecked: true,\n\t        onChange: this._toggleConverter })\n\t    );\n\t  }\n\t});\n\t\n\texports.default = NumericConverterConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 270:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar SplitAndCountConverterConfiguration = _react2.default.createClass({\n\t  displayName: 'SplitAndCountConverterConfiguration',\n\t\n\t  propTypes: {\n\t    type: _react.PropTypes.string.isRequired,\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    onChange: _react.PropTypes.func.isRequired\n\t  },\n\t  componentDidMount: function componentDidMount() {\n\t    this.props.onChange(this.props.type, this._getConverterObject());\n\t  },\n\t  _getConverterObject: function _getConverterObject(configuration) {\n\t    return { type: this.props.type, config: configuration || this.props.configuration };\n\t  },\n\t  _toggleConverter: function _toggleConverter(event) {\n\t    var converter = void 0;\n\t    if (_FormsUtils2.default.getValueFromInput(event.target) === true) {\n\t      converter = this._getConverterObject();\n\t    }\n\t\n\t    this.props.onChange(this.props.type, converter);\n\t  },\n\t  _onChange: function _onChange(key) {\n\t    var _this = this;\n\t\n\t    return function (event) {\n\t      var newConfig = _this.props.configuration;\n\t      newConfig[key] = _FormsUtils2.default.getValueFromInput(event.target);\n\t      _this.props.onChange(_this.props.type, _this._getConverterObject(newConfig));\n\t    };\n\t  },\n\t  render: function render() {\n\t    var splitByHelpMessage = _react2.default.createElement(\n\t      'span',\n\t      null,\n\t      'The Split & Count converter is splitting the extracted part by the defined character and stores the token',\n\t      ' ',\n\t      'count as field. ',\n\t      _react2.default.createElement(\n\t        'strong',\n\t        null,\n\t        'Example:'\n\t      ),\n\t      ' ',\n\t      _react2.default.createElement(\n\t        'em',\n\t        null,\n\t        '?fields=first_name,last_name,zip'\n\t      ),\n\t      ' split by ',\n\t      _react2.default.createElement(\n\t        'em',\n\t        null,\n\t        ','\n\t      ),\n\t      ' ',\n\t      'results in ',\n\t      _react2.default.createElement(\n\t        'em',\n\t        null,\n\t        '3'\n\t      ),\n\t      '. You just counted the requested fields of a GET user REST request.'\n\t    );\n\t\n\t    return _react2.default.createElement(\n\t      'div',\n\t      { className: 'xtrc-converter' },\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'checkbox',\n\t        ref: 'converterEnabled',\n\t        id: 'enable-' + this.props.type + '-converter',\n\t        label: 'Split & Count',\n\t        wrapperClassName: 'col-md-offset-2 col-md-10',\n\t        defaultChecked: true,\n\t        onChange: this._toggleConverter }),\n\t      _react2.default.createElement(\n\t        _reactBootstrap.Row,\n\t        { className: 'row-sm' },\n\t        _react2.default.createElement(\n\t          _reactBootstrap.Col,\n\t          { md: 9, mdOffset: 2 },\n\t          _react2.default.createElement(\n\t            'div',\n\t            { className: 'xtrc-converter-subfields' },\n\t            _react2.default.createElement(_reactBootstrap.Input, { type: 'text',\n\t              id: this.props.type + '_converter_split_by',\n\t              label: 'Split by',\n\t              defaultValue: this.props.configuration.split_by,\n\t              labelClassName: 'col-md-3',\n\t              wrapperClassName: 'col-md-9',\n\t              onChange: this._onChange('split_by'),\n\t              required: this.refs.converterEnabled && this.refs.converterEnabled.getChecked(),\n\t              help: splitByHelpMessage })\n\t          )\n\t        )\n\t      )\n\t    );\n\t  }\n\t});\n\t\n\texports.default = SplitAndCountConverterConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 271:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar SyslogPriFacilityConverterConfiguration = _react2.default.createClass({\n\t  displayName: 'SyslogPriFacilityConverterConfiguration',\n\t\n\t  propTypes: {\n\t    type: _react.PropTypes.string.isRequired,\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    onChange: _react.PropTypes.func.isRequired\n\t  },\n\t  componentDidMount: function componentDidMount() {\n\t    this.props.onChange(this.props.type, this._getConverterObject());\n\t  },\n\t  _getConverterObject: function _getConverterObject() {\n\t    return { type: this.props.type, config: this.props.configuration };\n\t  },\n\t  _toggleConverter: function _toggleConverter(event) {\n\t    var converter = void 0;\n\t    if (_FormsUtils2.default.getValueFromInput(event.target) === true) {\n\t      converter = this._getConverterObject();\n\t    }\n\t\n\t    this.props.onChange(this.props.type, converter);\n\t  },\n\t  render: function render() {\n\t    return _react2.default.createElement(\n\t      'div',\n\t      { className: 'xtrc-converter' },\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'checkbox',\n\t        id: 'enable-' + this.props.type + '-converter',\n\t        label: 'Convert from PRI to syslog facility',\n\t        wrapperClassName: 'col-md-offset-2 col-md-10',\n\t        defaultChecked: true,\n\t        onChange: this._toggleConverter })\n\t    );\n\t  }\n\t});\n\t\n\texports.default = SyslogPriFacilityConverterConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 272:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar SyslogPriLevelConverterConfiguration = _react2.default.createClass({\n\t  displayName: 'SyslogPriLevelConverterConfiguration',\n\t\n\t  propTypes: {\n\t    type: _react.PropTypes.string.isRequired,\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    onChange: _react.PropTypes.func.isRequired\n\t  },\n\t  componentDidMount: function componentDidMount() {\n\t    this.props.onChange(this.props.type, this._getConverterObject());\n\t  },\n\t  _getConverterObject: function _getConverterObject() {\n\t    return { type: this.props.type, config: this.props.configuration };\n\t  },\n\t  _toggleConverter: function _toggleConverter(event) {\n\t    var converter = void 0;\n\t    if (_FormsUtils2.default.getValueFromInput(event.target) === true) {\n\t      converter = this._getConverterObject();\n\t    }\n\t\n\t    this.props.onChange(this.props.type, converter);\n\t  },\n\t  render: function render() {\n\t    return _react2.default.createElement(\n\t      'div',\n\t      { className: 'xtrc-converter' },\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'checkbox',\n\t        id: 'enable-' + this.props.type + '-converter',\n\t        label: 'Convert from PRI to syslog level',\n\t        wrapperClassName: 'col-md-offset-2 col-md-10',\n\t        defaultChecked: true,\n\t        onChange: this._toggleConverter })\n\t    );\n\t  }\n\t});\n\t\n\texports.default = SyslogPriLevelConverterConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 273:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar TokenizerConverterConfiguration = _react2.default.createClass({\n\t  displayName: 'TokenizerConverterConfiguration',\n\t\n\t  propTypes: {\n\t    type: _react.PropTypes.string.isRequired,\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    onChange: _react.PropTypes.func.isRequired\n\t  },\n\t  componentDidMount: function componentDidMount() {\n\t    this.props.onChange(this.props.type, this._getConverterObject());\n\t  },\n\t  _getConverterObject: function _getConverterObject() {\n\t    return { type: this.props.type, config: this.props.configuration };\n\t  },\n\t  _toggleConverter: function _toggleConverter(event) {\n\t    var converter = void 0;\n\t    if (_FormsUtils2.default.getValueFromInput(event.target) === true) {\n\t      converter = this._getConverterObject();\n\t    }\n\t\n\t    this.props.onChange(this.props.type, converter);\n\t  },\n\t  render: function render() {\n\t    return _react2.default.createElement(\n\t      'div',\n\t      { className: 'xtrc-converter' },\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'checkbox',\n\t        id: 'enable-' + this.props.type + '-converter',\n\t        label: 'Add Key=Value pairs as fields',\n\t        wrapperClassName: 'col-md-offset-2 col-md-10',\n\t        defaultChecked: true,\n\t        onChange: this._toggleConverter })\n\t    );\n\t  }\n\t});\n\t\n\texports.default = TokenizerConverterConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 274:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar UppercaseConverterConfiguration = _react2.default.createClass({\n\t  displayName: 'UppercaseConverterConfiguration',\n\t\n\t  propTypes: {\n\t    type: _react.PropTypes.string.isRequired,\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    onChange: _react.PropTypes.func.isRequired\n\t  },\n\t  componentDidMount: function componentDidMount() {\n\t    this.props.onChange(this.props.type, this._getConverterObject());\n\t  },\n\t  _getConverterObject: function _getConverterObject() {\n\t    return { type: this.props.type, config: this.props.configuration };\n\t  },\n\t  _toggleConverter: function _toggleConverter(event) {\n\t    var converter = void 0;\n\t    if (_FormsUtils2.default.getValueFromInput(event.target) === true) {\n\t      converter = this._getConverterObject();\n\t    }\n\t\n\t    this.props.onChange(this.props.type, converter);\n\t  },\n\t  render: function render() {\n\t    return _react2.default.createElement(\n\t      'div',\n\t      { className: 'xtrc-converter' },\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'checkbox',\n\t        id: 'enable-' + this.props.type + '-converter',\n\t        label: 'Transform value to uppercase',\n\t        wrapperClassName: 'col-md-offset-2 col-md-10',\n\t        defaultChecked: true,\n\t        onChange: this._toggleConverter })\n\t    );\n\t  }\n\t});\n\t\n\texports.default = UppercaseConverterConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 275:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _CSVConverterConfiguration = __webpack_require__(263);\n\t\n\tObject.defineProperty(exports, 'CSVConverterConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_CSVConverterConfiguration).default;\n\t  }\n\t});\n\t\n\tvar _DateConverterConfiguration = __webpack_require__(264);\n\t\n\tObject.defineProperty(exports, 'DateConverterConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_DateConverterConfiguration).default;\n\t  }\n\t});\n\t\n\tvar _FlexdateConverterConfiguration = __webpack_require__(265);\n\t\n\tObject.defineProperty(exports, 'FlexdateConverterConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_FlexdateConverterConfiguration).default;\n\t  }\n\t});\n\t\n\tvar _HashConverterConfiguration = __webpack_require__(266);\n\t\n\tObject.defineProperty(exports, 'HashConverterConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_HashConverterConfiguration).default;\n\t  }\n\t});\n\t\n\tvar _IpAnonymizerConverterConfiguration = __webpack_require__(267);\n\t\n\tObject.defineProperty(exports, 'IpAnonymizerConverterConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_IpAnonymizerConverterConfiguration).default;\n\t  }\n\t});\n\t\n\tvar _LowercaseConverterConfiguration = __webpack_require__(268);\n\t\n\tObject.defineProperty(exports, 'LowercaseConverterConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_LowercaseConverterConfiguration).default;\n\t  }\n\t});\n\t\n\tvar _NumericConverterConfiguration = __webpack_require__(269);\n\t\n\tObject.defineProperty(exports, 'NumericConverterConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_NumericConverterConfiguration).default;\n\t  }\n\t});\n\t\n\tvar _SplitAndCountConverterConfiguration = __webpack_require__(270);\n\t\n\tObject.defineProperty(exports, 'SplitAndCountConverterConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_SplitAndCountConverterConfiguration).default;\n\t  }\n\t});\n\t\n\tvar _SyslogPriFacilityConverterConfiguration = __webpack_require__(271);\n\t\n\tObject.defineProperty(exports, 'SyslogPriFacilityConverterConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_SyslogPriFacilityConverterConfiguration).default;\n\t  }\n\t});\n\t\n\tvar _SyslogPriLevelConverterConfiguration = __webpack_require__(272);\n\t\n\tObject.defineProperty(exports, 'SyslogPriLevelConverterConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_SyslogPriLevelConverterConfiguration).default;\n\t  }\n\t});\n\t\n\tvar _TokenizerConverterConfiguration = __webpack_require__(273);\n\t\n\tObject.defineProperty(exports, 'TokenizerConverterConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_TokenizerConverterConfiguration).default;\n\t  }\n\t});\n\t\n\tvar _UppercaseConverterConfiguration = __webpack_require__(274);\n\t\n\tObject.defineProperty(exports, 'UppercaseConverterConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_UppercaseConverterConfiguration).default;\n\t  }\n\t});\n\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/***/ },\n\n/***/ 276:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar CopyInputExtractorConfiguration = _react2.default.createClass({\n\t  displayName: 'CopyInputExtractorConfiguration',\n\t  render: function render() {\n\t    return _react2.default.createElement(\n\t      'div',\n\t      { className: 'form-group' },\n\t      _react2.default.createElement(\n\t        'div',\n\t        { className: 'col-md-offset-2 col-md-10' },\n\t        _react2.default.createElement(\n\t          _reactBootstrap.Panel,\n\t          { bsStyle: 'info', style: { marginBottom: 0 } },\n\t          'The entire input will be copied verbatim.'\n\t        )\n\t      )\n\t    );\n\t  }\n\t});\n\texports.default = CopyInputExtractorConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 277:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _reactRouterBootstrap = __webpack_require__(18);\n\t\n\tvar _Routes = __webpack_require__(11);\n\t\n\tvar _Routes2 = _interopRequireDefault(_Routes);\n\t\n\tvar _UserNotification = __webpack_require__(8);\n\t\n\tvar _UserNotification2 = _interopRequireDefault(_UserNotification);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tvar _StoreProvider = __webpack_require__(3);\n\t\n\tvar _StoreProvider2 = _interopRequireDefault(_StoreProvider);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar ToolsStore = _StoreProvider2.default.getStore('Tools');\n\t\n\tvar GrokExtractorConfiguration = _react2.default.createClass({\n\t  displayName: 'GrokExtractorConfiguration',\n\t\n\t  propTypes: {\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    exampleMessage: _react.PropTypes.string,\n\t    onChange: _react.PropTypes.func.isRequired,\n\t    onExtractorPreviewLoad: _react.PropTypes.func.isRequired\n\t  },\n\t  getInitialState: function getInitialState() {\n\t    return {\n\t      trying: false\n\t    };\n\t  },\n\t  _onChange: function _onChange(key) {\n\t    var _this = this;\n\t\n\t    return function (event) {\n\t      _this.props.onExtractorPreviewLoad(undefined);\n\t      var newConfig = _this.props.configuration;\n\t      newConfig[key] = _FormsUtils2.default.getValueFromInput(event.target);\n\t      _this.props.onChange(newConfig);\n\t    };\n\t  },\n\t  _onTryClick: function _onTryClick() {\n\t    var _this2 = this;\n\t\n\t    this.setState({ trying: true });\n\t\n\t    var promise = ToolsStore.testGrok(this.props.configuration.grok_pattern, this.props.configuration.named_captures_only, this.props.exampleMessage);\n\t    promise.then(function (result) {\n\t      if (!result.matched) {\n\t        _UserNotification2.default.warning('We were not able to run the grok extraction. Please check your parameters.');\n\t        return;\n\t      }\n\t\n\t      var matches = [];\n\t      result.matches.map(function (match) {\n\t        matches.push(_react2.default.createElement(\n\t          'dt',\n\t          { key: match.name + '-name' },\n\t          match.name\n\t        ));\n\t        matches.push(_react2.default.createElement(\n\t          'dd',\n\t          { key: match.name + '-value' },\n\t          _react2.default.createElement(\n\t            'samp',\n\t            null,\n\t            match.match\n\t          )\n\t        ));\n\t      });\n\t\n\t      var preview = matches.length === 0 ? '' : _react2.default.createElement(\n\t        'dl',\n\t        null,\n\t        matches\n\t      );\n\t      _this2.props.onExtractorPreviewLoad(preview);\n\t    });\n\t\n\t    promise.finally(function () {\n\t      return _this2.setState({ trying: false });\n\t    });\n\t  },\n\t  _isTryButtonDisabled: function _isTryButtonDisabled() {\n\t    return this.state.trying || !this.props.configuration.grok_pattern || !this.props.exampleMessage;\n\t  },\n\t  render: function render() {\n\t    var helpMessage = _react2.default.createElement(\n\t      'span',\n\t      null,\n\t      'Matches the field against the current Grok pattern list, use ',\n\t      _react2.default.createElement(\n\t        'b',\n\t        null,\n\t        '%{PATTERN-NAME}'\n\t      ),\n\t      ' to refer to a',\n\t      ' ',\n\t      _react2.default.createElement(\n\t        _reactRouterBootstrap.LinkContainer,\n\t        { to: _Routes2.default.SYSTEM.GROKPATTERNS },\n\t        _react2.default.createElement(\n\t          'a',\n\t          null,\n\t          'stored pattern'\n\t        )\n\t      ),\n\t      '.'\n\t    );\n\t\n\t    return _react2.default.createElement(\n\t      'div',\n\t      null,\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'checkbox',\n\t        id: 'named_captures_only',\n\t        label: 'Named captures only',\n\t        wrapperClassName: 'col-md-offset-2 col-md-10',\n\t        defaultChecked: this.props.configuration.named_captures_only,\n\t        onChange: this._onChange('named_captures_only'),\n\t        help: 'Only put the explicitly named captures into the message.' }),\n\t      _react2.default.createElement(\n\t        _reactBootstrap.Input,\n\t        { id: 'grok_pattern',\n\t          label: 'Grok pattern',\n\t          labelClassName: 'col-md-2',\n\t          wrapperClassName: 'col-md-10',\n\t          help: helpMessage },\n\t        _react2.default.createElement(\n\t          _reactBootstrap.Row,\n\t          { className: 'row-sm' },\n\t          _react2.default.createElement(\n\t            _reactBootstrap.Col,\n\t            { md: 11 },\n\t            _react2.default.createElement('input', { type: 'text', id: 'grok_pattern', className: 'form-control',\n\t              defaultValue: this.props.configuration.grok_pattern,\n\t              onChange: this._onChange('grok_pattern'),\n\t              required: true })\n\t          ),\n\t          _react2.default.createElement(\n\t            _reactBootstrap.Col,\n\t            { md: 1, className: 'text-right' },\n\t            _react2.default.createElement(\n\t              _reactBootstrap.Button,\n\t              { bsStyle: 'info', onClick: this._onTryClick, disabled: this._isTryButtonDisabled() },\n\t              this.state.trying ? _react2.default.createElement('i', { className: 'fa fa-spin fa-spinner' }) : 'Try'\n\t            )\n\t          )\n\t        )\n\t      )\n\t    );\n\t  }\n\t});\n\t\n\texports.default = GrokExtractorConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 278:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _StoreProvider = __webpack_require__(3);\n\t\n\tvar _StoreProvider2 = _interopRequireDefault(_StoreProvider);\n\t\n\tvar _ExtractorUtils = __webpack_require__(45);\n\t\n\tvar _ExtractorUtils2 = _interopRequireDefault(_ExtractorUtils);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar ToolsStore = _StoreProvider2.default.getStore('Tools');\n\t\n\tvar JSONExtractorConfiguration = _react2.default.createClass({\n\t  displayName: 'JSONExtractorConfiguration',\n\t\n\t  propTypes: {\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    exampleMessage: _react.PropTypes.string,\n\t    onChange: _react.PropTypes.func.isRequired,\n\t    onExtractorPreviewLoad: _react.PropTypes.func.isRequired\n\t  },\n\t  getInitialState: function getInitialState() {\n\t    return {\n\t      trying: false,\n\t      configuration: this._getEffectiveConfiguration(this.props.configuration)\n\t    };\n\t  },\n\t  componentDidMount: function componentDidMount() {\n\t    this.props.onChange(this.state.configuration);\n\t  },\n\t  componentWillReceiveProps: function componentWillReceiveProps(nextProps) {\n\t    this.setState({ configuration: this._getEffectiveConfiguration(nextProps.configuration) });\n\t  },\n\t\n\t  DEFAULT_CONFIGURATION: {\n\t    list_separator: ', ',\n\t    key_separator: '_',\n\t    kv_separator: '=',\n\t    key_prefix: '',\n\t    replace_key_whitespace: false,\n\t    key_whitespace_replacement: '_'\n\t  },\n\t  _getEffectiveConfiguration: function _getEffectiveConfiguration(configuration) {\n\t    return _ExtractorUtils2.default.getEffectiveConfiguration(this.DEFAULT_CONFIGURATION, configuration);\n\t  },\n\t  _onChange: function _onChange(key) {\n\t    var _this = this;\n\t\n\t    return function (event) {\n\t      _this.props.onExtractorPreviewLoad(undefined);\n\t      var newConfig = _this.state.configuration;\n\t      newConfig[key] = _FormsUtils2.default.getValueFromInput(event.target);\n\t      _this.props.onChange(newConfig);\n\t    };\n\t  },\n\t  _onTryClick: function _onTryClick() {\n\t    var _this2 = this;\n\t\n\t    this.setState({ trying: true });\n\t\n\t    var configuration = this.state.configuration;\n\t    var 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\t\n\t    promise.then(function (result) {\n\t      var matches = [];\n\t      for (var match in result.matches) {\n\t        if (result.matches.hasOwnProperty(match)) {\n\t          matches.push(_react2.default.createElement(\n\t            'dt',\n\t            { key: match + '-name' },\n\t            match\n\t          ));\n\t          matches.push(_react2.default.createElement(\n\t            'dd',\n\t            { key: match + '-value' },\n\t            _react2.default.createElement(\n\t              'samp',\n\t              null,\n\t              result.matches[match]\n\t            )\n\t          ));\n\t        }\n\t      }\n\t\n\t      var preview = matches.length === 0 ? '' : _react2.default.createElement(\n\t        'dl',\n\t        null,\n\t        matches\n\t      );\n\t      _this2.props.onExtractorPreviewLoad(preview);\n\t    });\n\t\n\t    promise.finally(function () {\n\t      return _this2.setState({ trying: false });\n\t    });\n\t  },\n\t  _isTryButtonDisabled: function _isTryButtonDisabled() {\n\t    return this.state.trying || !this.props.exampleMessage;\n\t  },\n\t  render: function render() {\n\t    return _react2.default.createElement(\n\t      'div',\n\t      null,\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'checkbox',\n\t        id: 'flatten',\n\t        label: 'Flatten structures',\n\t        wrapperClassName: 'col-md-offset-2 col-md-10',\n\t        defaultChecked: this.state.configuration.flatten,\n\t        onChange: this._onChange('flatten'),\n\t        help: 'Whether to flatten JSON objects into a single message field or to expand into multiple fields.' }),\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'text',\n\t        id: 'list_separator',\n\t        label: 'List item separator',\n\t        labelClassName: 'col-md-2',\n\t        wrapperClassName: 'col-md-10',\n\t        defaultValue: this.state.configuration.list_separator,\n\t        required: true,\n\t        onChange: this._onChange('list_separator'),\n\t        help: 'What string to use to concatenate items of a JSON list.' }),\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'text',\n\t        id: 'key_separator',\n\t        label: 'Key separator',\n\t        labelClassName: 'col-md-2',\n\t        wrapperClassName: 'col-md-10',\n\t        defaultValue: this.state.configuration.key_separator,\n\t        required: true,\n\t        onChange: this._onChange('key_separator'),\n\t        help: _react2.default.createElement(\n\t          'span',\n\t          null,\n\t          'What string to use to concatenate different keys of a nested JSON object (only used if ',\n\t          _react2.default.createElement(\n\t            'em',\n\t            null,\n\t            'not'\n\t          ),\n\t          ' flattened).'\n\t        ) }),\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'text',\n\t        id: 'kv_separator',\n\t        label: 'Key/value separator',\n\t        labelClassName: 'col-md-2',\n\t        wrapperClassName: 'col-md-10',\n\t        defaultValue: this.state.configuration.kv_separator,\n\t        required: true,\n\t        onChange: this._onChange('kv_separator'),\n\t        help: 'What string to use when concatenating key/value pairs of a JSON object (only used if flattened).' }),\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'text',\n\t        id: 'key_prefix',\n\t        label: 'Key prefix',\n\t        labelClassName: 'col-md-2',\n\t        wrapperClassName: 'col-md-10',\n\t        defaultValue: this.state.configuration.key_prefix,\n\t        onChange: this._onChange('key_prefix'),\n\t        help: 'Text to prepend to each key extracted from the JSON object.' }),\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'checkbox',\n\t        id: 'replace_key_whitespace',\n\t        label: 'Replace whitespaces in keys',\n\t        wrapperClassName: 'col-md-offset-2 col-md-10',\n\t        defaultChecked: this.state.configuration.replace_key_whitespace,\n\t        onChange: this._onChange('replace_key_whitespace'),\n\t        help: 'Field keys containing whitespaces will be discarded when storing the extracted message. Check this box to replace whitespaces in JSON keys with another character.' }),\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'text',\n\t        id: 'key_whitespace_replacement',\n\t        label: 'Key whitespace replacement',\n\t        labelClassName: 'col-md-2',\n\t        wrapperClassName: 'col-md-10',\n\t        defaultValue: this.state.configuration.key_whitespace_replacement,\n\t        disabled: !this.state.configuration.replace_key_whitespace,\n\t        required: true,\n\t        onChange: this._onChange('key_whitespace_replacement'),\n\t        help: 'What character to use when replacing whitespaces in message keys. Please ensure the replacement character is valid in Lucene, e.g. \\'-\\' or \\'_\\'.' }),\n\t      _react2.default.createElement(\n\t        _reactBootstrap.Input,\n\t        { wrapperClassName: 'col-md-offset-2 col-md-10' },\n\t        _react2.default.createElement(\n\t          _reactBootstrap.Button,\n\t          { bsStyle: 'info', onClick: this._onTryClick, disabled: this._isTryButtonDisabled() },\n\t          this.state.trying ? _react2.default.createElement('i', { className: 'fa fa-spin fa-spinner' }) : 'Try'\n\t        )\n\t      )\n\t    );\n\t  }\n\t});\n\t\n\texports.default = JSONExtractorConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 279:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _DocumentationLink = __webpack_require__(29);\n\t\n\tvar _DocumentationLink2 = _interopRequireDefault(_DocumentationLink);\n\t\n\tvar _DocsHelper = __webpack_require__(17);\n\t\n\tvar _DocsHelper2 = _interopRequireDefault(_DocsHelper);\n\t\n\tvar _UserNotification = __webpack_require__(8);\n\t\n\tvar _UserNotification2 = _interopRequireDefault(_UserNotification);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tvar _StoreProvider = __webpack_require__(3);\n\t\n\tvar _StoreProvider2 = _interopRequireDefault(_StoreProvider);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar ToolsStore = _StoreProvider2.default.getStore('Tools');\n\t\n\tvar RegexExtractorConfiguration = _react2.default.createClass({\n\t  displayName: 'RegexExtractorConfiguration',\n\t\n\t  propTypes: {\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    exampleMessage: _react.PropTypes.string,\n\t    onChange: _react.PropTypes.func.isRequired,\n\t    onExtractorPreviewLoad: _react.PropTypes.func.isRequired\n\t  },\n\t  getInitialState: function getInitialState() {\n\t    return {\n\t      trying: false\n\t    };\n\t  },\n\t  _onChange: function _onChange(key) {\n\t    var _this = this;\n\t\n\t    return function (event) {\n\t      _this.props.onExtractorPreviewLoad(undefined);\n\t      var newConfig = _this.props.configuration;\n\t      newConfig[key] = _FormsUtils2.default.getValueFromInput(event.target);\n\t      _this.props.onChange(newConfig);\n\t    };\n\t  },\n\t  _onTryClick: function _onTryClick() {\n\t    var _this2 = this;\n\t\n\t    this.setState({ trying: true });\n\t\n\t    var promise = ToolsStore.testRegex(this.props.configuration.regex_value, this.props.exampleMessage);\n\t    promise.then(function (result) {\n\t      if (!result.matched) {\n\t        _UserNotification2.default.warning('Regular expression did not match.');\n\t        return;\n\t      }\n\t\n\t      if (!result.match) {\n\t        _UserNotification2.default.warning('Regular expression does not contain any matcher group to extract.');\n\t        return;\n\t      }\n\t\n\t      var preview = result.match.match ? _react2.default.createElement(\n\t        'samp',\n\t        null,\n\t        result.match.match\n\t      ) : '';\n\t      _this2.props.onExtractorPreviewLoad(preview);\n\t    });\n\t\n\t    promise.finally(function () {\n\t      return _this2.setState({ trying: false });\n\t    });\n\t  },\n\t  _isTryButtonDisabled: function _isTryButtonDisabled() {\n\t    return this.state.trying || !this.props.configuration.regex_value || !this.props.exampleMessage;\n\t  },\n\t  render: function render() {\n\t    var helpMessage = _react2.default.createElement(\n\t      'span',\n\t      null,\n\t      'The regular expression used for extraction. First matcher group is used.',\n\t      ' ',\n\t      'Learn more in the ',\n\t      _react2.default.createElement(_DocumentationLink2.default, { page: _DocsHelper2.default.PAGES.EXTRACTORS, text: 'documentation' }),\n\t      '.'\n\t    );\n\t\n\t    return _react2.default.createElement(\n\t      'div',\n\t      null,\n\t      _react2.default.createElement(\n\t        _reactBootstrap.Input,\n\t        { label: 'Regular expression',\n\t          labelClassName: 'col-md-2',\n\t          wrapperClassName: 'col-md-10',\n\t          help: helpMessage },\n\t        _react2.default.createElement(\n\t          _reactBootstrap.Row,\n\t          { className: 'row-sm' },\n\t          _react2.default.createElement(\n\t            _reactBootstrap.Col,\n\t            { md: 11 },\n\t            _react2.default.createElement('input', { type: 'text', id: 'regex_value', className: 'form-control',\n\t              defaultValue: this.props.configuration.regex_value,\n\t              placeholder: '^.*string(.+)$',\n\t              onChange: this._onChange('regex_value'),\n\t              required: true })\n\t          ),\n\t          _react2.default.createElement(\n\t            _reactBootstrap.Col,\n\t            { md: 1, className: 'text-right' },\n\t            _react2.default.createElement(\n\t              _reactBootstrap.Button,\n\t              { bsStyle: 'info', onClick: this._onTryClick, disabled: this._isTryButtonDisabled() },\n\t              this.state.trying ? _react2.default.createElement('i', { className: 'fa fa-spin fa-spinner' }) : 'Try'\n\t            )\n\t          )\n\t        )\n\t      )\n\t    );\n\t  }\n\t});\n\t\n\texports.default = RegexExtractorConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 280:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _DocumentationLink = __webpack_require__(29);\n\t\n\tvar _DocumentationLink2 = _interopRequireDefault(_DocumentationLink);\n\t\n\tvar _DocsHelper = __webpack_require__(17);\n\t\n\tvar _DocsHelper2 = _interopRequireDefault(_DocsHelper);\n\t\n\tvar _UserNotification = __webpack_require__(8);\n\t\n\tvar _UserNotification2 = _interopRequireDefault(_UserNotification);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tvar _StoreProvider = __webpack_require__(3);\n\t\n\tvar _StoreProvider2 = _interopRequireDefault(_StoreProvider);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar ToolsStore = _StoreProvider2.default.getStore('Tools');\n\t\n\tvar RegexReplaceExtractorConfiguration = _react2.default.createClass({\n\t  displayName: 'RegexReplaceExtractorConfiguration',\n\t\n\t  propTypes: {\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    exampleMessage: _react.PropTypes.string,\n\t    onChange: _react.PropTypes.func.isRequired,\n\t    onExtractorPreviewLoad: _react.PropTypes.func.isRequired\n\t  },\n\t  getInitialState: function getInitialState() {\n\t    return {\n\t      trying: false\n\t    };\n\t  },\n\t  _onChange: function _onChange(key) {\n\t    var _this = this;\n\t\n\t    return function (event) {\n\t      _this.props.onExtractorPreviewLoad(undefined);\n\t      var newConfig = _this.props.configuration;\n\t      newConfig[key] = _FormsUtils2.default.getValueFromInput(event.target);\n\t      _this.props.onChange(newConfig);\n\t    };\n\t  },\n\t  _onTryClick: function _onTryClick() {\n\t    var _this2 = this;\n\t\n\t    this.setState({ trying: true });\n\t\n\t    var configuration = this.props.configuration;\n\t    var promise = ToolsStore.testRegexReplace(configuration.regex, configuration.replacement, configuration.replace_all, this.props.exampleMessage);\n\t    promise.then(function (result) {\n\t      if (!result.matched) {\n\t        _UserNotification2.default.warning('Regular expression did not match.');\n\t        return;\n\t      }\n\t\n\t      if (!result.match) {\n\t        _UserNotification2.default.warning('Regular expression does not contain any matcher group to extract.');\n\t        return;\n\t      }\n\t\n\t      var preview = result.match.match ? _react2.default.createElement(\n\t        'samp',\n\t        null,\n\t        result.match.match\n\t      ) : '';\n\t      _this2.props.onExtractorPreviewLoad(preview);\n\t    });\n\t\n\t    promise.finally(function () {\n\t      return _this2.setState({ trying: false });\n\t    });\n\t  },\n\t  _isTryButtonDisabled: function _isTryButtonDisabled() {\n\t    return this.state.trying || !this.props.configuration.regex || !this.props.configuration.replacement || !this.props.exampleMessage;\n\t  },\n\t  render: function render() {\n\t    var regexHelpMessage = _react2.default.createElement(\n\t      'span',\n\t      null,\n\t      'The regular expression used for extraction.',\n\t      ' ',\n\t      'Learn more in the ',\n\t      _react2.default.createElement(_DocumentationLink2.default, { page: _DocsHelper2.default.PAGES.EXTRACTORS, text: 'documentation' }),\n\t      '.'\n\t    );\n\t\n\t    var replacementHelpMessage = _react2.default.createElement(\n\t      'span',\n\t      null,\n\t      'The replacement used for the matching text. Please refer to the',\n\t      ' ',\n\t      _react2.default.createElement(\n\t        'a',\n\t        { target: '_blank',\n\t          href: 'https://docs.oracle.com/javase/7/docs/api/java/util/regex/Matcher.html#replaceAll(java.lang.String)' },\n\t        'Matcher'\n\t      ),\n\t      ' ',\n\t      'API documentation for the possible options.'\n\t    );\n\t\n\t    return _react2.default.createElement(\n\t      'div',\n\t      null,\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'text',\n\t        id: 'regex',\n\t        label: 'Regular expression',\n\t        labelClassName: 'col-md-2',\n\t        placeholder: '^.*string(.+)$',\n\t        onChange: this._onChange('regex'),\n\t        wrapperClassName: 'col-md-10',\n\t        defaultValue: this.props.configuration.regex,\n\t        required: true,\n\t        help: regexHelpMessage }),\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'text',\n\t        id: 'replacement',\n\t        label: 'Replacement',\n\t        labelClassName: 'col-md-2',\n\t        placeholder: '$1',\n\t        onChange: this._onChange('replacement'),\n\t        wrapperClassName: 'col-md-10',\n\t        defaultValue: this.props.configuration.replacement,\n\t        required: true,\n\t        help: replacementHelpMessage }),\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'checkbox',\n\t        id: 'replace_all',\n\t        label: 'Replace all occurrences of the pattern',\n\t        wrapperClassName: 'col-md-offset-2 col-md-10',\n\t        defaultChecked: this.props.configuration.replace_all,\n\t        onChange: this._onChange('replace_all'),\n\t        help: 'Whether to replace all occurrences of the given pattern or only the first occurrence.' }),\n\t      _react2.default.createElement(\n\t        _reactBootstrap.Input,\n\t        { wrapperClassName: 'col-md-offset-2 col-md-10' },\n\t        _react2.default.createElement(\n\t          _reactBootstrap.Button,\n\t          { bsStyle: 'info', onClick: this._onTryClick, disabled: this._isTryButtonDisabled() },\n\t          this.state.trying ? _react2.default.createElement('i', { className: 'fa fa-spin fa-spinner' }) : 'Try'\n\t        )\n\t      )\n\t    );\n\t  }\n\t});\n\t\n\texports.default = RegexReplaceExtractorConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 281:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _StoreProvider = __webpack_require__(3);\n\t\n\tvar _StoreProvider2 = _interopRequireDefault(_StoreProvider);\n\t\n\tvar _UserNotification = __webpack_require__(8);\n\t\n\tvar _UserNotification2 = _interopRequireDefault(_UserNotification);\n\t\n\tvar _ExtractorUtils = __webpack_require__(45);\n\t\n\tvar _ExtractorUtils2 = _interopRequireDefault(_ExtractorUtils);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar ToolsStore = _StoreProvider2.default.getStore('Tools');\n\t\n\tvar SplitAndIndexExtractorConfiguration = _react2.default.createClass({\n\t  displayName: 'SplitAndIndexExtractorConfiguration',\n\t\n\t  propTypes: {\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    exampleMessage: _react.PropTypes.string,\n\t    onChange: _react.PropTypes.func.isRequired,\n\t    onExtractorPreviewLoad: _react.PropTypes.func.isRequired\n\t  },\n\t  getInitialState: function getInitialState() {\n\t    return {\n\t      trying: false,\n\t      configuration: this._getEffectiveConfiguration(this.props.configuration)\n\t    };\n\t  },\n\t  componentDidMount: function componentDidMount() {\n\t    this.props.onChange(this.state.configuration);\n\t  },\n\t  componentWillReceiveProps: function componentWillReceiveProps(nextProps) {\n\t    this.setState({ configuration: this._getEffectiveConfiguration(nextProps.configuration) });\n\t  },\n\t\n\t  DEFAULT_CONFIGURATION: { index: 1 },\n\t  _getEffectiveConfiguration: function _getEffectiveConfiguration(configuration) {\n\t    return _ExtractorUtils2.default.getEffectiveConfiguration(this.DEFAULT_CONFIGURATION, configuration);\n\t  },\n\t  _onChange: function _onChange(key) {\n\t    var _this = this;\n\t\n\t    return function (event) {\n\t      _this.props.onExtractorPreviewLoad(undefined);\n\t      var newConfig = _this.state.configuration;\n\t      newConfig[key] = _FormsUtils2.default.getValueFromInput(event.target);\n\t      _this.props.onChange(newConfig);\n\t    };\n\t  },\n\t  _onTryClick: function _onTryClick() {\n\t    var _this2 = this;\n\t\n\t    this.setState({ trying: true });\n\t\n\t    var promise = ToolsStore.testSplitAndIndex(this.state.configuration.split_by, this.state.configuration.index, this.props.exampleMessage);\n\t\n\t    promise.then(function (result) {\n\t      if (!result.successful) {\n\t        _UserNotification2.default.warning('We were not able to run the split and index extraction. Please check your parameters.');\n\t        return;\n\t      }\n\t\n\t      var preview = result.cut ? _react2.default.createElement(\n\t        'samp',\n\t        null,\n\t        result.cut\n\t      ) : '';\n\t      _this2.props.onExtractorPreviewLoad(preview);\n\t    });\n\t\n\t    promise.finally(function () {\n\t      return _this2.setState({ trying: false });\n\t    });\n\t  },\n\t  _isTryButtonDisabled: function _isTryButtonDisabled() {\n\t    var configuration = this.state.configuration;\n\t    return this.state.trying || configuration.split_by === '' || configuration.index === undefined || configuration.index < 1 || !this.props.exampleMessage;\n\t  },\n\t  render: function render() {\n\t    var splitByHelpMessage = _react2.default.createElement(\n\t      'span',\n\t      null,\n\t      'What character to split on. ',\n\t      _react2.default.createElement(\n\t        'strong',\n\t        null,\n\t        'Example:'\n\t      ),\n\t      ' A whitespace character will split',\n\t      ' ',\n\t      _react2.default.createElement(\n\t        'em',\n\t        null,\n\t        'foo bar baz'\n\t      ),\n\t      ' to ',\n\t      _react2.default.createElement(\n\t        'em',\n\t        null,\n\t        '[foo,bar,baz]'\n\t      ),\n\t      '.'\n\t    );\n\t\n\t    var indexHelpMessage = _react2.default.createElement(\n\t      'span',\n\t      null,\n\t      'What part of the split string to you want to use? ',\n\t      _react2.default.createElement(\n\t        'strong',\n\t        null,\n\t        'Example:'\n\t      ),\n\t      ' ',\n\t      _react2.default.createElement(\n\t        'em',\n\t        null,\n\t        '2'\n\t      ),\n\t      ' selects ',\n\t      _react2.default.createElement(\n\t        'em',\n\t        null,\n\t        'bar'\n\t      ),\n\t      ' ',\n\t      'from ',\n\t      _react2.default.createElement(\n\t        'em',\n\t        null,\n\t        'foo bar baz'\n\t      ),\n\t      ' when split by whitespace.'\n\t    );\n\t\n\t    return _react2.default.createElement(\n\t      'div',\n\t      null,\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'text',\n\t        id: 'split_by',\n\t        label: 'Split by',\n\t        labelClassName: 'col-md-2',\n\t        wrapperClassName: 'col-md-10',\n\t        defaultValue: this.state.configuration.split_by,\n\t        onChange: this._onChange('split_by'),\n\t        required: true,\n\t        help: splitByHelpMessage }),\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'number',\n\t        id: 'index',\n\t        label: 'Target index',\n\t        labelClassName: 'col-md-2',\n\t        wrapperClassName: 'col-md-10',\n\t        defaultValue: this.state.configuration.index,\n\t        onChange: this._onChange('index'),\n\t        min: '1',\n\t        required: true,\n\t        help: indexHelpMessage }),\n\t      _react2.default.createElement(\n\t        _reactBootstrap.Input,\n\t        { wrapperClassName: 'col-md-offset-2 col-md-10' },\n\t        _react2.default.createElement(\n\t          _reactBootstrap.Button,\n\t          { bsStyle: 'info', onClick: this._onTryClick, disabled: this._isTryButtonDisabled() },\n\t          this.state.trying ? _react2.default.createElement('i', { className: 'fa fa-spin fa-spinner' }) : 'Try'\n\t        )\n\t      )\n\t    );\n\t  }\n\t});\n\t\n\texports.default = SplitAndIndexExtractorConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 282:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactBootstrap = __webpack_require__(2);\n\t\n\tvar _StoreProvider = __webpack_require__(3);\n\t\n\tvar _StoreProvider2 = _interopRequireDefault(_StoreProvider);\n\t\n\tvar _UserNotification = __webpack_require__(8);\n\t\n\tvar _UserNotification2 = _interopRequireDefault(_UserNotification);\n\t\n\tvar _ExtractorUtils = __webpack_require__(45);\n\t\n\tvar _ExtractorUtils2 = _interopRequireDefault(_ExtractorUtils);\n\t\n\tvar _FormsUtils = __webpack_require__(16);\n\t\n\tvar _FormsUtils2 = _interopRequireDefault(_FormsUtils);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar ToolsStore = _StoreProvider2.default.getStore('Tools');\n\t\n\tvar SubstringExtractorConfiguration = _react2.default.createClass({\n\t  displayName: 'SubstringExtractorConfiguration',\n\t\n\t  propTypes: {\n\t    configuration: _react.PropTypes.object.isRequired,\n\t    exampleMessage: _react.PropTypes.string,\n\t    onChange: _react.PropTypes.func.isRequired,\n\t    onExtractorPreviewLoad: _react.PropTypes.func.isRequired\n\t  },\n\t  getInitialState: function getInitialState() {\n\t    return {\n\t      trying: false,\n\t      configuration: this._getEffectiveConfiguration(this.props.configuration)\n\t    };\n\t  },\n\t  componentDidMount: function componentDidMount() {\n\t    this.props.onChange(this.state.configuration);\n\t  },\n\t  componentWillReceiveProps: function componentWillReceiveProps(nextProps) {\n\t    this.setState({ configuration: this._getEffectiveConfiguration(nextProps.configuration) });\n\t  },\n\t\n\t  DEFAULT_CONFIGURATION: { begin_index: 0, end_index: 1 },\n\t  _getEffectiveConfiguration: function _getEffectiveConfiguration(configuration) {\n\t    return _ExtractorUtils2.default.getEffectiveConfiguration(this.DEFAULT_CONFIGURATION, configuration);\n\t  },\n\t  _onChange: function _onChange(key) {\n\t    var _this = this;\n\t\n\t    return function (event) {\n\t      _this.props.onExtractorPreviewLoad(undefined);\n\t      var newConfig = _this.state.configuration;\n\t      newConfig[key] = _FormsUtils2.default.getValueFromInput(event.target);\n\t      _this.props.onChange(newConfig);\n\t    };\n\t  },\n\t  _verifySubstringInputs: function _verifySubstringInputs() {\n\t    var beginIndex = this.refs.beginIndex.getInputDOMNode();\n\t    var endIndex = this.refs.endIndex.getInputDOMNode();\n\t\n\t    if (this.state.configuration.begin_index === undefined || this.state.configuration.begin_index < 0) {\n\t      beginIndex.value = 0;\n\t      this._onChange('begin_index')({ target: beginIndex });\n\t    }\n\t\n\t    if (this.state.configuration.end_index === undefined || this.state.configuration.end_index < 0) {\n\t      endIndex.value = 0;\n\t      this._onChange('end_index')({ target: endIndex });\n\t    }\n\t\n\t    if (this.state.configuration.begin_index > this.state.configuration.end_index) {\n\t      beginIndex.value = this.state.configuration.end_index;\n\t      this._onChange('begin_index')({ target: beginIndex });\n\t    }\n\t  },\n\t  _onTryClick: function _onTryClick() {\n\t    var _this2 = this;\n\t\n\t    this.setState({ trying: true });\n\t\n\t    this._verifySubstringInputs();\n\t\n\t    if (this.state.configuration.begin_index === this.state.configuration.end_index) {\n\t      this.props.onExtractorPreviewLoad('');\n\t      this.setState({ trying: false });\n\t    } else {\n\t      var promise = ToolsStore.testSubstring(this.state.configuration.begin_index, this.state.configuration.end_index, this.props.exampleMessage);\n\t\n\t      promise.then(function (result) {\n\t        if (!result.successful) {\n\t          _UserNotification2.default.warning('We were not able to run the substring extraction. Please check index boundaries.');\n\t          return;\n\t        }\n\t        _this2.props.onExtractorPreviewLoad(_react2.default.createElement(\n\t          'samp',\n\t          null,\n\t          result.cut\n\t        ));\n\t      });\n\t\n\t      promise.finally(function () {\n\t        return _this2.setState({ trying: false });\n\t      });\n\t    }\n\t  },\n\t  _isTryButtonDisabled: function _isTryButtonDisabled() {\n\t    var configuration = this.state.configuration;\n\t    return this.state.trying || configuration.begin_index === undefined || configuration.begin_index < 0 || configuration.end_index === undefined || configuration.end_index < 0 || !this.props.exampleMessage;\n\t  },\n\t  render: function render() {\n\t    var endIndexHelpMessage = _react2.default.createElement(\n\t      'span',\n\t      null,\n\t      'Where to end extracting. (Exclusive)',\n\t      ' ',\n\t      _react2.default.createElement(\n\t        'strong',\n\t        null,\n\t        'Example:'\n\t      ),\n\t      ' ',\n\t      _react2.default.createElement(\n\t        'em',\n\t        null,\n\t        '1,5'\n\t      ),\n\t      ' cuts ',\n\t      _react2.default.createElement(\n\t        'em',\n\t        null,\n\t        'love'\n\t      ),\n\t      ' from the string ',\n\t      _react2.default.createElement(\n\t        'em',\n\t        null,\n\t        'ilovelogs'\n\t      ),\n\t      '.'\n\t    );\n\t    return _react2.default.createElement(\n\t      'div',\n\t      null,\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'number',\n\t        ref: 'beginIndex',\n\t        id: 'begin_index',\n\t        label: 'Begin index',\n\t        labelClassName: 'col-md-2',\n\t        wrapperClassName: 'col-md-10',\n\t        defaultValue: this.state.configuration.begin_index,\n\t        onChange: this._onChange('begin_index'),\n\t        min: '0',\n\t        required: true,\n\t        help: 'Character position from where to start extracting. (Inclusive)' }),\n\t      _react2.default.createElement(_reactBootstrap.Input, { type: 'number',\n\t        ref: 'endIndex',\n\t        id: 'end_index',\n\t        label: 'End index',\n\t        labelClassName: 'col-md-2',\n\t        wrapperClassName: 'col-md-10',\n\t        defaultValue: this.state.configuration.end_index,\n\t        onChange: this._onChange('end_index'),\n\t        min: '0',\n\t        required: true,\n\t        help: endIndexHelpMessage }),\n\t      _react2.default.createElement(\n\t        _reactBootstrap.Input,\n\t        { wrapperClassName: 'col-md-offset-2 col-md-10' },\n\t        _react2.default.createElement(\n\t          _reactBootstrap.Button,\n\t          { bsStyle: 'info', onClick: this._onTryClick, disabled: this._isTryButtonDisabled() },\n\t          this.state.trying ? _react2.default.createElement('i', { className: 'fa fa-spin fa-spinner' }) : 'Try'\n\t        )\n\t      )\n\t    );\n\t  }\n\t});\n\t\n\texports.default = SubstringExtractorConfiguration;\n\tmodule.exports = exports['default'];\n\n/***/ },\n\n/***/ 283:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _CopyInputExtractorConfiguration = __webpack_require__(276);\n\t\n\tObject.defineProperty(exports, 'CopyInputExtractorConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_CopyInputExtractorConfiguration).default;\n\t  }\n\t});\n\t\n\tvar _GrokExtractorConfiguration = __webpack_require__(277);\n\t\n\tObject.defineProperty(exports, 'GrokExtractorConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_GrokExtractorConfiguration).default;\n\t  }\n\t});\n\t\n\tvar _JSONExtractorConfiguration = __webpack_require__(278);\n\t\n\tObject.defineProperty(exports, 'JSONExtractorConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_JSONExtractorConfiguration).default;\n\t  }\n\t});\n\t\n\tvar _RegexExtractorConfiguration = __webpack_require__(279);\n\t\n\tObject.defineProperty(exports, 'RegexExtractorConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_RegexExtractorConfiguration).default;\n\t  }\n\t});\n\t\n\tvar _RegexReplaceExtractorConfiguration = __webpack_require__(280);\n\t\n\tObject.defineProperty(exports, 'RegexReplaceExtractorConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_RegexReplaceExtractorConfiguration).default;\n\t  }\n\t});\n\t\n\tvar _SplitAndIndexExtractorConfiguration = __webpack_require__(281);\n\t\n\tObject.defineProperty(exports, 'SplitAndIndexExtractorConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_SplitAndIndexExtractorConfiguration).default;\n\t  }\n\t});\n\t\n\tvar _SubstringExtractorConfiguration = __webpack_require__(282);\n\t\n\tObject.defineProperty(exports, 'SubstringExtractorConfiguration', {\n\t  enumerable: true,\n\t  get: function get() {\n\t    return _interopRequireDefault(_SubstringExtractorConfiguration).default;\n\t  }\n\t});\n\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/***/ },\n\n/***/ 850:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reflux = __webpack_require__(4);\n\t\n\tvar _reflux2 = _interopRequireDefault(_reflux);\n\t\n\tvar _Spinner = __webpack_require__(28);\n\t\n\tvar _Spinner2 = _interopRequireDefault(_Spinner);\n\t\n\tvar _PageHeader = __webpack_require__(39);\n\t\n\tvar _PageHeader2 = _interopRequireDefault(_PageHeader);\n\t\n\tvar _DocumentationLink = __webpack_require__(29);\n\t\n\tvar _DocumentationLink2 = _interopRequireDefault(_DocumentationLink);\n\t\n\tvar _EditExtractor = __webpack_require__(259);\n\t\n\tvar _EditExtractor2 = _interopRequireDefault(_EditExtractor);\n\t\n\tvar _DocsHelper = __webpack_require__(17);\n\t\n\tvar _DocsHelper2 = _interopRequireDefault(_DocsHelper);\n\t\n\tvar _Routes = __webpack_require__(11);\n\t\n\tvar _Routes2 = _interopRequireDefault(_Routes);\n\t\n\tvar _StoreProvider = __webpack_require__(3);\n\t\n\tvar _StoreProvider2 = _interopRequireDefault(_StoreProvider);\n\t\n\tvar _ActionsProvider = __webpack_require__(6);\n\t\n\tvar _ActionsProvider2 = _interopRequireDefault(_ActionsProvider);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar ExtractorsStore = _StoreProvider2.default.getStore('Extractors');\n\tvar InputsStore = _StoreProvider2.default.getStore('Inputs');\n\t// eslint-disable-next-line no-unused-vars\n\tvar MessagesStore = _StoreProvider2.default.getStore('Messages');\n\t\n\tvar InputsActions = _ActionsProvider2.default.getActions('Inputs');\n\tvar MessagesActions = _ActionsProvider2.default.getActions('Messages');\n\t\n\tvar CreateExtractorsPage = _react2.default.createClass({\n\t  displayName: 'CreateExtractorsPage',\n\t\n\t  propTypes: {\n\t    params: _react.PropTypes.object.isRequired,\n\t    location: _react.PropTypes.object.isRequired,\n\t    history: _react.PropTypes.object.isRequired\n\t  },\n\t  mixins: [_reflux2.default.connect(InputsStore)],\n\t  getInitialState: function getInitialState() {\n\t    var query = this.props.location.query;\n\t\n\t\n\t    return {\n\t      extractor: ExtractorsStore.new(query.extractor_type, query.field),\n\t      input: undefined,\n\t      exampleMessage: undefined,\n\t      extractorType: query.extractor_type,\n\t      field: query.field,\n\t      exampleIndex: query.example_index,\n\t      exampleId: query.example_id\n\t    };\n\t  },\n\t  componentDidMount: function componentDidMount() {\n\t    var _this = this;\n\t\n\t    InputsActions.get.triggerPromise(this.props.params.inputId);\n\t    MessagesActions.loadMessage.triggerPromise(this.state.exampleIndex, this.state.exampleId).then(function (message) {\n\t      return _this.setState({ exampleMessage: message });\n\t    });\n\t  },\n\t  _isLoading: function _isLoading() {\n\t    return !(this.state.input && this.state.exampleMessage);\n\t  },\n\t  _extractorSaved: function _extractorSaved() {\n\t    var url = void 0;\n\t    if (this.state.input.global) {\n\t      url = _Routes2.default.global_input_extractors(this.props.params.inputId);\n\t    } else {\n\t      url = _Routes2.default.local_input_extractors(this.props.params.nodeId, this.props.params.inputId);\n\t    }\n\t\n\t    this.props.history.pushState(null, url);\n\t  },\n\t  render: function render() {\n\t    if (this._isLoading()) {\n\t      return _react2.default.createElement(_Spinner2.default, null);\n\t    }\n\t\n\t    return _react2.default.createElement(\n\t      'div',\n\t      null,\n\t      _react2.default.createElement(\n\t        _PageHeader2.default,\n\t        { title: _react2.default.createElement(\n\t            'span',\n\t            null,\n\t            'New extractor for input ',\n\t            _react2.default.createElement(\n\t              'em',\n\t              null,\n\t              this.state.input.title\n\t            )\n\t          ) },\n\t        _react2.default.createElement(\n\t          'span',\n\t          null,\n\t          'Extractors are applied on every message that is received by an input. Use them to extract and transform',\n\t          ' ',\n\t          'any text data into fields that allow you easy filtering and analysis later on.'\n\t        ),\n\t        _react2.default.createElement(\n\t          'span',\n\t          null,\n\t          'Find more information about extractors in the',\n\t          ' ',\n\t          _react2.default.createElement(_DocumentationLink2.default, { page: _DocsHelper2.default.PAGES.EXTRACTORS, text: 'documentation' }),\n\t          '.'\n\t        )\n\t      ),\n\t      _react2.default.createElement(_EditExtractor2.default, { action: 'create',\n\t        extractor: this.state.extractor,\n\t        inputId: this.state.input.id,\n\t        exampleMessage: this.state.exampleMessage.fields[this.state.field],\n\t        onSave: this._extractorSaved })\n\t    );\n\t  }\n\t});\n\t\n\texports.default = CreateExtractorsPage;\n\tmodule.exports = exports['default'];\n\n/***/ }\n\n});\n\n\n/** WEBPACK FOOTER **\n ** 10.10.a37bd6c43e2b13149f99.js\n **/","import React, {PropTypes} from 'react';\n\nimport ActionsProvider from 'injection/ActionsProvider';\nconst MessagesActions = ActionsProvider.getActions('Messages');\n\nimport StoreProvider from 'injection/StoreProvider';\n// eslint-disable-next-line no-unused-vars\nconst MessagesStore = StoreProvider.getStore('Messages');\n\nconst MessageLoader = React.createClass({\n  propTypes: {\n    hidden: PropTypes.bool,\n    hideText: PropTypes.bool,\n    onMessageLoaded: PropTypes.func,\n  },\n  getDefaultProps() {\n    return {\n      hidden: true,\n    };\n  },\n  getInitialState() {\n    return ({\n      hidden: this.props.hidden,\n      loading: false,\n    });\n  },\n\n  toggleMessageForm() {\n    this.setState({hidden: !this.state.hidden}, this._focusMessageLoaderForm);\n  },\n  _focusMessageLoaderForm() {\n    if (!this.state.hidden) {\n      this.refs.messageId.focus();\n    }\n  },\n  loadMessage(event) {\n    const messageId = this.refs.messageId.value;\n    const index = this.refs.index.value;\n    if (messageId === '' || index === '') {\n      return;\n    }\n    this.setState({ loading: true });\n    const promise = MessagesActions.loadMessage.triggerPromise(index, messageId);\n    promise.then(data => this.props.onMessageLoaded(data));\n    promise.finally(() => this.setState({ loading: false }));\n\n    event.preventDefault();\n  },\n  submit(messageId, index) {\n    this.refs.messageId.value = messageId;\n    this.refs.index.value = index;\n    this.refs.submitButton.click();\n  },\n  render() {\n    let explanatoryText;\n    if (!this.props.hideText) {\n      explanatoryText = (\n        

\n Wrong example? You can{' '}\n .\n

\n );\n }\n const loadMessageForm = (\n
\n
\n \n \n \n
\n
\n );\n return (\n
\n {explanatoryText}\n {this.state.hidden ? null : loadMessageForm}\n
\n );\n },\n});\n\nexport default MessageLoader;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/MessageLoader.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Row, Col, Input, Button, FormControls} from 'react-bootstrap';\n\nimport ExtractorExampleMessage from './ExtractorExampleMessage';\nimport EditExtractorConfiguration from './EditExtractorConfiguration';\nimport EditExtractorConverters from './EditExtractorConverters';\n\nimport ActionsProvider from 'injection/ActionsProvider';\nconst ExtractorsActions = ActionsProvider.getActions('Extractors');\n\nimport ExtractorUtils from 'util/ExtractorUtils';\nimport FormUtils from 'util/FormsUtils';\n\nimport StoreProvider from 'injection/StoreProvider';\nconst ToolsStore = StoreProvider.getStore('Tools');\n\nconst EditExtractor = React.createClass({\n propTypes: {\n action: PropTypes.oneOf(['create', 'edit']).isRequired,\n extractor: PropTypes.object.isRequired,\n inputId: PropTypes.string.isRequired,\n exampleMessage: PropTypes.string,\n onSave: PropTypes.func.isRequired,\n },\n getInitialState() {\n return {\n updatedExtractor: this.props.extractor,\n conditionTestResult: undefined,\n exampleMessage: this.props.exampleMessage,\n };\n },\n\n componentWillReceiveProps(nextProps) {\n if (this.props.exampleMessage !== nextProps.exampleMessage) {\n this._updateExampleMessage(nextProps.exampleMessage);\n }\n },\n\n _updateExampleMessage(nextExample) {\n this.setState({ exampleMessage: nextExample });\n },\n\n // Ensures the target field only contains alphanumeric characters and underscores\n _onTargetFieldChange(event) {\n const value = event.target.value;\n const newValue = value.replace(/[^\\w\\d_]/g, '');\n\n if (value !== newValue) {\n this.refs.targetField.getInputDOMNode().value = newValue;\n }\n\n this._onFieldChange('target_field')(event);\n },\n _onFieldChange(key) {\n return (event) => {\n const nextState = {};\n const updatedExtractor = this.state.updatedExtractor;\n updatedExtractor[key] = FormUtils.getValueFromInput(event.target);\n nextState.updatedExtractor = updatedExtractor;\n\n // Reset result of testing condition after a change in the input\n if (key === 'condition_value') {\n nextState.conditionTestResult = undefined;\n }\n\n this.setState(nextState);\n };\n },\n _onConfigurationChange(newConfiguration) {\n const updatedExtractor = this.state.updatedExtractor;\n updatedExtractor.extractor_config = newConfiguration;\n this.setState({updatedExtractor: updatedExtractor});\n },\n _onConverterChange(converterType, newConverter) {\n const updatedExtractor = this.state.updatedExtractor;\n const previousConverter = updatedExtractor.converters.filter(converter => converter.type === converterType)[0];\n\n if (previousConverter) {\n // Remove converter from the list\n const position = updatedExtractor.converters.indexOf(previousConverter);\n updatedExtractor.converters.splice(position, 1);\n }\n\n if (newConverter) {\n updatedExtractor.converters.push(newConverter);\n }\n\n this.setState({updatedExtractor: updatedExtractor});\n },\n _testCondition() {\n const promise = ToolsStore.testRegex(this.state.updatedExtractor.condition_value, this.state.exampleMessage);\n promise.then(result => this.setState({conditionTestResult: result.matched}));\n },\n _tryButtonDisabled() {\n return this.state.updatedExtractor.condition_value === '' || this.state.updatedExtractor.condition_value === undefined || !this.state.exampleMessage;\n },\n _getExtractorConditionControls() {\n if (!this.state.updatedExtractor.condition_type || this.state.updatedExtractor.condition_type === 'none') {\n return
;\n }\n\n let conditionInputLabel;\n let conditionInputHelp;\n\n if (this.state.updatedExtractor.condition_type === 'string') {\n conditionInputLabel = 'Field contains string';\n conditionInputHelp = 'Type a string that the field should contain in order to attempt the extraction.';\n } else {\n conditionInputLabel = 'Field matches regular expression';\n conditionInputHelp = 'Type a regular expression that the field should contain in order to attempt the extraction.';\n }\n\n let inputStyle;\n if (this.state.conditionTestResult === true) {\n inputStyle = 'success';\n conditionInputHelp = 'Matches! Extractor would run against this example.';\n } else if (this.state.conditionTestResult === false) {\n inputStyle = 'error';\n conditionInputHelp = 'Does not match! Extractor would not run.';\n }\n\n return (\n
\n \n \n \n \n \n \n \n \n \n \n
\n );\n },\n _saveExtractor(event) {\n event.preventDefault();\n ExtractorsActions.save.triggerPromise(this.props.inputId, this.state.updatedExtractor)\n .then(() => this.props.onSave());\n },\n render() {\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{' '}\n underscores. Example: http_response_code.\n \n );\n\n let storeAsFieldInput;\n // Grok and JSON extractors create their required fields, so no need to add an input for them\n if (this.state.updatedExtractor.type !== ExtractorUtils.ExtractorTypes.GROK && this.state.updatedExtractor.type !== ExtractorUtils.ExtractorTypes.JSON) {\n storeAsFieldInput = (\n \n );\n }\n\n return (\n
\n \n \n

Example message

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

Extractor configuration

\n \n \n
\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\nexport default EditExtractor;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/EditExtractor.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Col, Panel} from 'react-bootstrap';\n\nimport {\n CopyInputExtractorConfiguration,\n GrokExtractorConfiguration,\n JSONExtractorConfiguration,\n RegexExtractorConfiguration,\n RegexReplaceExtractorConfiguration,\n SplitAndIndexExtractorConfiguration,\n SubstringExtractorConfiguration,\n} from 'components/extractors/extractors_configuration';\n\nimport ExtractorUtils from 'util/ExtractorUtils';\n\nconst EditExtractorConfiguration = React.createClass({\n propTypes: {\n extractorType: PropTypes.oneOf(ExtractorUtils.EXTRACTOR_TYPES).isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n exampleMessage: PropTypes.string,\n },\n getInitialState() {\n return {\n extractorPreview: undefined,\n };\n },\n _onExtractorPreviewLoad(extractorPreviewNode) {\n this.setState({extractorPreview: extractorPreviewNode});\n },\n render() {\n let extractorConfiguration;\n\n switch (this.props.extractorType) {\n case ExtractorUtils.ExtractorTypes.COPY_INPUT:\n extractorConfiguration = ;\n break;\n case ExtractorUtils.ExtractorTypes.GROK:\n extractorConfiguration = (\n \n );\n break;\n case ExtractorUtils.ExtractorTypes.JSON:\n extractorConfiguration = (\n \n );\n break;\n case ExtractorUtils.ExtractorTypes.REGEX:\n extractorConfiguration = (\n \n );\n break;\n case ExtractorUtils.ExtractorTypes.REGEX_REPLACE:\n extractorConfiguration = (\n \n );\n break;\n case ExtractorUtils.ExtractorTypes.SUBSTRING:\n extractorConfiguration = (\n \n );\n break;\n case ExtractorUtils.ExtractorTypes.SPLIT_AND_INDEX:\n extractorConfiguration = (\n \n );\n break;\n default:\n console.warn(`Unsupported extractor type ${this.props.extractorType}`);\n }\n\n let extractorPreview;\n\n if (this.state.extractorPreview !== undefined) {\n extractorPreview = (\n
\n \n \n {this.state.extractorPreview === '' ? Nothing will be extracted : this.state.extractorPreview}\n \n \n
\n );\n }\n\n return (\n
\n {extractorConfiguration}\n {extractorPreview}\n
\n );\n },\n});\n\nexport default EditExtractorConfiguration;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/EditExtractorConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Row, Col, Input, Button, Panel} from 'react-bootstrap';\nimport {Select} from 'components/common';\n\nimport {\n CSVConverterConfiguration,\n DateConverterConfiguration,\n FlexdateConverterConfiguration,\n HashConverterConfiguration,\n IpAnonymizerConverterConfiguration,\n LowercaseConverterConfiguration,\n NumericConverterConfiguration,\n SplitAndCountConverterConfiguration,\n SyslogPriFacilityConverterConfiguration,\n SyslogPriLevelConverterConfiguration,\n TokenizerConverterConfiguration,\n UppercaseConverterConfiguration,\n} from 'components/extractors/converters_configuration';\n\nimport ExtractorUtils from 'util/ExtractorUtils';\n\nconst EditExtractorConverters = React.createClass({\n propTypes: {\n extractorType: PropTypes.string.isRequired,\n converters: PropTypes.array.isRequired,\n onChange: PropTypes.func.isRequired,\n },\n getInitialState() {\n return {\n displayedConverters: this.props.converters.map(converter => converter.type),\n disabledConverters: {}, // Keep disabled converters configuration, so the user doesn't need to type it again\n selectedConverter: undefined,\n };\n },\n _onConverterSelect(newValue) {\n this.setState({selectedConverter: newValue});\n },\n _onConverterAdd() {\n const newDisplayedConverters = this.state.displayedConverters;\n newDisplayedConverters.push(this.state.selectedConverter);\n this.setState({selectedConverter: undefined, converters: newDisplayedConverters});\n },\n _onConverterChange(converterType, converter) {\n if (converter) {\n const newDisabledConverters = this.state.disabledConverters;\n if (newDisabledConverters.hasOwnProperty(converterType)) {\n delete newDisabledConverters[converterType];\n this.setState({disabledConverters: newDisabledConverters});\n }\n } else {\n const newDisabledConverters = this.state.disabledConverters;\n newDisabledConverters[converterType] = this._getConverterByType(converterType);\n this.setState({disabledConverters: newDisabledConverters});\n }\n\n this.props.onChange(converterType, converter);\n },\n _getConverterOptions() {\n const converterOptions = [];\n Object.keys(ExtractorUtils.ConverterTypes).forEach(converterType => {\n const type = ExtractorUtils.ConverterTypes[converterType];\n const disabled = this.state.displayedConverters.indexOf(type) !== -1;\n converterOptions.push({\n value: type,\n label: ExtractorUtils.getReadableConverterTypeName(type),\n disabled: disabled,\n });\n });\n\n return converterOptions;\n },\n _getConverterByType(converterType) {\n const currentConverter = this.props.converters.filter(converter => converter.type === converterType)[0];\n return (currentConverter ? currentConverter.config : {});\n },\n _getConvertersConfiguration() {\n const controls = this.state.displayedConverters.map(converterType => {\n // Get converter configuration from disabledConverters if it was disabled\n let converterConfig = this._getConverterByType(converterType);\n if (Object.keys(converterConfig).length === 0 && this.state.disabledConverters.hasOwnProperty(converterType)) {\n converterConfig = this.state.disabledConverters[converterType];\n }\n\n switch (converterType) {\n case ExtractorUtils.ConverterTypes.NUMERIC:\n return (\n \n );\n case ExtractorUtils.ConverterTypes.DATE:\n return (\n \n );\n case ExtractorUtils.ConverterTypes.HASH:\n return (\n \n );\n case ExtractorUtils.ConverterTypes.SPLIT_AND_COUNT:\n return (\n \n );\n case ExtractorUtils.ConverterTypes.IP_ANONYMIZER:\n return (\n \n );\n case ExtractorUtils.ConverterTypes.SYSLOG_PRI_LEVEL:\n return (\n \n );\n case ExtractorUtils.ConverterTypes.SYSLOG_PRI_FACILITY:\n return (\n \n );\n case ExtractorUtils.ConverterTypes.TOKENIZER:\n return (\n \n );\n case ExtractorUtils.ConverterTypes.CSV:\n return (\n \n );\n case ExtractorUtils.ConverterTypes.LOWERCASE:\n return (\n \n );\n case ExtractorUtils.ConverterTypes.UPPERCASE:\n return (\n \n );\n case ExtractorUtils.ConverterTypes.FLEXDATE:\n return (\n \n );\n default:\n console.warn(`Converter type ${converterType} is not supported.`);\n }\n });\n\n return controls;\n },\n render() {\n if (this.props.extractorType === ExtractorUtils.ExtractorTypes.GROK || this.props.extractorType === ExtractorUtils.ExtractorTypes.JSON) {\n return (\n
\n
\n \n Cannot add converters to{' '}\n {ExtractorUtils.getReadableExtractorTypeName(this.props.extractorType)} extractors.\n \n
\n
\n );\n }\n\n return (\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 CSVConverterConfiguration;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/converters_configuration/CSVConverterConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Row, Col, Input} from 'react-bootstrap';\n\nimport {TimezoneSelect} from 'components/common';\nimport DocumentationLink from 'components/support/DocumentationLink';\n\nimport DocsHelper from 'util/DocsHelper';\nimport FormUtils from 'util/FormsUtils';\n\nconst DateConverterConfiguration = React.createClass({\n propTypes: {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n },\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n },\n _getConverterObject(configuration) {\n return {type: this.props.type, config: configuration || this.props.configuration};\n },\n _toggleConverter(event) {\n let converter;\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n },\n _onChange(key) {\n return (data) => {\n const newConfig = this.props.configuration;\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 return (\n
\n \n \n \n
\n \n\n \n \n \n
\n \n
\n
\n );\n },\n});\n\nexport default DateConverterConfiguration;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/converters_configuration/DateConverterConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Row, Col, Input} from 'react-bootstrap';\n\nimport {TimezoneSelect} from 'components/common';\nimport DocumentationLink from 'components/support/DocumentationLink';\n\nimport DocsHelper from 'util/DocsHelper';\nimport FormUtils from 'util/FormsUtils';\n\nconst FlexdateConverterConfiguration = React.createClass({\n propTypes: {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n },\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n },\n _getConverterObject(configuration) {\n return {type: this.props.type, config: configuration || this.props.configuration};\n },\n _toggleConverter(event) {\n let converter;\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n },\n _onChange(key) {\n return (data) => {\n const newConfig = this.props.configuration;\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\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/converters_configuration/FlexdateConverterConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Input} from 'react-bootstrap';\n\nimport FormUtils from 'util/FormsUtils';\n\nconst HashConverterConfiguration = React.createClass({\n propTypes: {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n },\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n },\n _getConverterObject() {\n return {type: this.props.type, config: this.props.configuration};\n },\n _toggleConverter(event) {\n let converter;\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n },\n render() {\n return (\n
\n \n
\n );\n },\n});\n\nexport default HashConverterConfiguration;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/converters_configuration/HashConverterConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Input} from 'react-bootstrap';\n\nimport FormUtils from 'util/FormsUtils';\n\nconst IpAnonymizerConverterConfiguration = React.createClass({\n propTypes: {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n },\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n },\n _getConverterObject() {\n return {type: this.props.type, config: this.props.configuration};\n },\n _toggleConverter(event) {\n let converter;\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n },\n render() {\n return (\n
\n \n
\n );\n },\n});\n\nexport default IpAnonymizerConverterConfiguration;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/converters_configuration/IpAnonymizerConverterConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Input} from 'react-bootstrap';\n\nimport FormUtils from 'util/FormsUtils';\n\nconst LowercaseConverterConfiguration = React.createClass({\n propTypes: {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n },\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n },\n _getConverterObject() {\n return {type: this.props.type, config: this.props.configuration};\n },\n _toggleConverter(event) {\n let converter;\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n },\n render() {\n return (\n
\n \n
\n );\n },\n});\n\nexport default LowercaseConverterConfiguration;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/converters_configuration/LowercaseConverterConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Input} from 'react-bootstrap';\n\nimport FormUtils from 'util/FormsUtils';\n\nconst NumericConverterConfiguration = React.createClass({\n propTypes: {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n },\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n },\n _getConverterObject() {\n return {type: this.props.type, config: this.props.configuration};\n },\n _toggleConverter(event) {\n let converter;\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n },\n render() {\n return (\n
\n \n
\n );\n },\n});\n\nexport default NumericConverterConfiguration;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/converters_configuration/NumericConverterConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Row, Col, Input} from 'react-bootstrap';\n\nimport FormUtils from 'util/FormsUtils';\n\nconst SplitAndCountConverterConfiguration = React.createClass({\n propTypes: {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n },\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n },\n _getConverterObject(configuration) {\n return {type: this.props.type, config: configuration || this.props.configuration};\n },\n _toggleConverter(event) {\n let converter;\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n },\n _onChange(key) {\n return (event) => {\n const newConfig = this.props.configuration;\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 \n \n \n
\n \n
\n \n
\n
\n );\n },\n});\n\nexport default SplitAndCountConverterConfiguration;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/converters_configuration/SplitAndCountConverterConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Input} from 'react-bootstrap';\n\nimport FormUtils from 'util/FormsUtils';\n\nconst SyslogPriFacilityConverterConfiguration = React.createClass({\n propTypes: {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n },\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n },\n _getConverterObject() {\n return {type: this.props.type, config: this.props.configuration};\n },\n _toggleConverter(event) {\n let converter;\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n },\n render() {\n return (\n
\n \n
\n );\n },\n});\n\nexport default SyslogPriFacilityConverterConfiguration;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/converters_configuration/SyslogPriFacilityConverterConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Input} from 'react-bootstrap';\n\nimport FormUtils from 'util/FormsUtils';\n\nconst SyslogPriLevelConverterConfiguration = React.createClass({\n propTypes: {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n },\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n },\n _getConverterObject() {\n return {type: this.props.type, config: this.props.configuration};\n },\n _toggleConverter(event) {\n let converter;\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n },\n render() {\n return (\n
\n \n
\n );\n },\n});\n\nexport default SyslogPriLevelConverterConfiguration;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/converters_configuration/SyslogPriLevelConverterConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Input} from 'react-bootstrap';\n\nimport FormUtils from 'util/FormsUtils';\n\nconst TokenizerConverterConfiguration = React.createClass({\n propTypes: {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n },\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n },\n _getConverterObject() {\n return {type: this.props.type, config: this.props.configuration};\n },\n _toggleConverter(event) {\n let converter;\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n },\n render() {\n return (\n
\n \n
\n );\n },\n});\n\nexport default TokenizerConverterConfiguration;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/converters_configuration/TokenizerConverterConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Input} from 'react-bootstrap';\n\nimport FormUtils from 'util/FormsUtils';\n\nconst UppercaseConverterConfiguration = React.createClass({\n propTypes: {\n type: PropTypes.string.isRequired,\n configuration: PropTypes.object.isRequired,\n onChange: PropTypes.func.isRequired,\n },\n componentDidMount() {\n this.props.onChange(this.props.type, this._getConverterObject());\n },\n _getConverterObject() {\n return {type: this.props.type, config: this.props.configuration};\n },\n _toggleConverter(event) {\n let converter;\n if (FormUtils.getValueFromInput(event.target) === true) {\n converter = this._getConverterObject();\n }\n\n this.props.onChange(this.props.type, converter);\n },\n render() {\n return (\n
\n \n
\n );\n },\n});\n\nexport default UppercaseConverterConfiguration;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/converters_configuration/UppercaseConverterConfiguration.jsx\n **/","import React from 'react';\nimport {Panel} from 'react-bootstrap';\n\nconst CopyInputExtractorConfiguration = React.createClass({\n render() {\n return (\n
\n
\n \n The entire input will be copied verbatim.\n \n
\n
\n );\n },\n});\nexport default CopyInputExtractorConfiguration;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/extractors_configuration/CopyInputExtractorConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Row, Col, Input, Button} from 'react-bootstrap';\nimport {LinkContainer} from 'react-router-bootstrap';\n\nimport Routes from 'routing/Routes';\nimport UserNotification from 'util/UserNotification';\nimport FormUtils from 'util/FormsUtils';\n\nimport StoreProvider from 'injection/StoreProvider';\nconst ToolsStore = StoreProvider.getStore('Tools');\n\nconst GrokExtractorConfiguration = React.createClass({\n propTypes: {\n configuration: PropTypes.object.isRequired,\n exampleMessage: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n onExtractorPreviewLoad: PropTypes.func.isRequired,\n },\n getInitialState() {\n return {\n trying: false,\n };\n },\n _onChange(key) {\n return (event) => {\n this.props.onExtractorPreviewLoad(undefined);\n const newConfig = this.props.configuration;\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.testGrok(this.props.configuration.grok_pattern, this.props.configuration.named_captures_only, this.props.exampleMessage);\n promise.then(result => {\n if (!result.matched) {\n UserNotification.warning('We were not able to run the grok extraction. Please check your parameters.');\n return;\n }\n\n const matches = [];\n result.matches.map(match => {\n matches.push(
{match.name}
);\n matches.push(
{match.match}
);\n });\n\n const preview = (matches.length === 0 ? '' :
{matches}
);\n this.props.onExtractorPreviewLoad(preview);\n });\n\n promise.finally(() => this.setState({trying: false}));\n },\n _isTryButtonDisabled() {\n return this.state.trying || !this.props.configuration.grok_pattern || !this.props.exampleMessage;\n },\n render() {\n const helpMessage = (\n \n Matches the field against the current Grok pattern list, use {'%{PATTERN-NAME}'} to refer to a{' '}\n stored pattern.\n \n );\n\n return (\n
\n \n\n \n \n \n \n \n \n \n \n \n \n
\n );\n },\n});\n\nexport default GrokExtractorConfiguration;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/extractors_configuration/GrokExtractorConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Input, Button} from 'react-bootstrap';\n\nimport StoreProvider from 'injection/StoreProvider';\nconst ToolsStore = StoreProvider.getStore('Tools');\n\nimport ExtractorUtils from 'util/ExtractorUtils';\nimport FormUtils from 'util/FormsUtils';\n\nconst JSONExtractorConfiguration = React.createClass({\n propTypes: {\n configuration: PropTypes.object.isRequired,\n exampleMessage: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n onExtractorPreviewLoad: PropTypes.func.isRequired,\n },\n getInitialState() {\n return {\n trying: false,\n configuration: this._getEffectiveConfiguration(this.props.configuration),\n };\n },\n componentDidMount() {\n this.props.onChange(this.state.configuration);\n },\n componentWillReceiveProps(nextProps) {\n this.setState({configuration: this._getEffectiveConfiguration(nextProps.configuration)});\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 _getEffectiveConfiguration(configuration) {\n return ExtractorUtils.getEffectiveConfiguration(this.DEFAULT_CONFIGURATION, configuration);\n },\n _onChange(key) {\n return (event) => {\n this.props.onExtractorPreviewLoad(undefined);\n const newConfig = this.state.configuration;\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.state.configuration;\n const promise = ToolsStore.testJSON(configuration.flatten, configuration.list_separator,\n configuration.key_separator, configuration.kv_separator, configuration.replace_key_whitespace,\n configuration.key_whitespace_replacement, configuration.key_prefix, this.props.exampleMessage);\n\n promise.then(result => {\n const matches = [];\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 this.props.onExtractorPreviewLoad(preview);\n });\n\n promise.finally(() => this.setState({trying: false}));\n },\n _isTryButtonDisabled() {\n return this.state.trying || !this.props.exampleMessage;\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\nexport default JSONExtractorConfiguration;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/extractors_configuration/JSONExtractorConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Row, Col, Input, Button} from 'react-bootstrap';\n\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport DocsHelper from 'util/DocsHelper';\n\nimport UserNotification from 'util/UserNotification';\nimport FormUtils from 'util/FormsUtils';\n\nimport StoreProvider from 'injection/StoreProvider';\nconst ToolsStore = StoreProvider.getStore('Tools');\n\nconst RegexExtractorConfiguration = React.createClass({\n propTypes: {\n configuration: PropTypes.object.isRequired,\n exampleMessage: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n onExtractorPreviewLoad: PropTypes.func.isRequired,\n },\n getInitialState() {\n return {\n trying: false,\n };\n },\n _onChange(key) {\n return (event) => {\n this.props.onExtractorPreviewLoad(undefined);\n const newConfig = this.props.configuration;\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 promise.then(result => {\n if (!result.matched) {\n UserNotification.warning('Regular expression did not match.');\n return;\n }\n\n if (!result.match) {\n UserNotification.warning('Regular expression does not contain any matcher group to extract.');\n return;\n }\n\n const preview = (result.match.match ? {result.match.match} : '');\n this.props.onExtractorPreviewLoad(preview);\n });\n\n promise.finally(() => this.setState({trying: false}));\n },\n _isTryButtonDisabled() {\n return 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\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/extractors_configuration/RegexExtractorConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Input, Button} from 'react-bootstrap';\n\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport DocsHelper from 'util/DocsHelper';\n\nimport UserNotification from 'util/UserNotification';\nimport FormUtils from 'util/FormsUtils';\n\nimport StoreProvider from 'injection/StoreProvider';\nconst ToolsStore = StoreProvider.getStore('Tools');\n\nconst RegexReplaceExtractorConfiguration = React.createClass({\n propTypes: {\n configuration: PropTypes.object.isRequired,\n exampleMessage: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n onExtractorPreviewLoad: PropTypes.func.isRequired,\n },\n getInitialState() {\n return {\n trying: false,\n };\n },\n _onChange(key) {\n return (event) => {\n this.props.onExtractorPreviewLoad(undefined);\n const newConfig = this.props.configuration;\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.configuration;\n const promise = ToolsStore.testRegexReplace(configuration.regex, configuration.replacement,\n configuration.replace_all, this.props.exampleMessage);\n promise.then(result => {\n if (!result.matched) {\n UserNotification.warning('Regular expression did not match.');\n return;\n }\n\n if (!result.match) {\n UserNotification.warning('Regular expression does not contain any matcher group to extract.');\n return;\n }\n\n const preview = (result.match.match ? {result.match.match} : '');\n this.props.onExtractorPreviewLoad(preview);\n });\n\n promise.finally(() => this.setState({trying: false}));\n },\n _isTryButtonDisabled() {\n return 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 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\nexport default RegexReplaceExtractorConfiguration;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/extractors_configuration/RegexReplaceExtractorConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Input, Button} from 'react-bootstrap';\n\nimport StoreProvider from 'injection/StoreProvider';\nconst ToolsStore = StoreProvider.getStore('Tools');\n\nimport UserNotification from 'util/UserNotification';\nimport ExtractorUtils from 'util/ExtractorUtils';\nimport FormUtils from 'util/FormsUtils';\n\nconst SplitAndIndexExtractorConfiguration = React.createClass({\n propTypes: {\n configuration: PropTypes.object.isRequired,\n exampleMessage: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n onExtractorPreviewLoad: PropTypes.func.isRequired,\n },\n getInitialState() {\n return {\n trying: false,\n configuration: this._getEffectiveConfiguration(this.props.configuration),\n };\n },\n componentDidMount() {\n this.props.onChange(this.state.configuration);\n },\n componentWillReceiveProps(nextProps) {\n this.setState({configuration: this._getEffectiveConfiguration(nextProps.configuration)});\n },\n DEFAULT_CONFIGURATION: {index: 1},\n _getEffectiveConfiguration(configuration) {\n return ExtractorUtils.getEffectiveConfiguration(this.DEFAULT_CONFIGURATION, configuration);\n },\n _onChange(key) {\n return (event) => {\n this.props.onExtractorPreviewLoad(undefined);\n const newConfig = this.state.configuration;\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.testSplitAndIndex(this.state.configuration.split_by, this.state.configuration.index,\n this.props.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 return;\n }\n\n const preview = (result.cut ? {result.cut} : '');\n this.props.onExtractorPreviewLoad(preview);\n });\n\n promise.finally(() => this.setState({trying: false}));\n },\n _isTryButtonDisabled() {\n const configuration = this.state.configuration;\n return this.state.trying || configuration.split_by === '' || configuration.index === undefined || configuration.index < 1 || !this.props.exampleMessage;\n },\n render() {\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 return (\n
\n \n\n \n\n \n \n \n
\n );\n },\n});\n\nexport default SplitAndIndexExtractorConfiguration;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/extractors_configuration/SplitAndIndexExtractorConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport {Input, Button} from 'react-bootstrap';\n\nimport StoreProvider from 'injection/StoreProvider';\nconst ToolsStore = StoreProvider.getStore('Tools');\n\nimport UserNotification from 'util/UserNotification';\nimport ExtractorUtils from 'util/ExtractorUtils';\nimport FormUtils from 'util/FormsUtils';\n\nconst SubstringExtractorConfiguration = React.createClass({\n propTypes: {\n configuration: PropTypes.object.isRequired,\n exampleMessage: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n onExtractorPreviewLoad: PropTypes.func.isRequired,\n },\n getInitialState() {\n return {\n trying: false,\n configuration: this._getEffectiveConfiguration(this.props.configuration),\n };\n },\n componentDidMount() {\n this.props.onChange(this.state.configuration);\n },\n componentWillReceiveProps(nextProps) {\n this.setState({configuration: this._getEffectiveConfiguration(nextProps.configuration)});\n },\n DEFAULT_CONFIGURATION: {begin_index: 0, end_index: 1},\n _getEffectiveConfiguration(configuration) {\n return ExtractorUtils.getEffectiveConfiguration(this.DEFAULT_CONFIGURATION, configuration);\n },\n _onChange(key) {\n return (event) => {\n this.props.onExtractorPreviewLoad(undefined);\n const newConfig = this.state.configuration;\n newConfig[key] = FormUtils.getValueFromInput(event.target);\n this.props.onChange(newConfig);\n };\n },\n _verifySubstringInputs() {\n const beginIndex = this.refs.beginIndex.getInputDOMNode();\n const endIndex = this.refs.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 _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,\n 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 return;\n }\n this.props.onExtractorPreviewLoad({result.cut});\n });\n\n promise.finally(() => this.setState({trying: false}));\n }\n },\n _isTryButtonDisabled() {\n const configuration = this.state.configuration;\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 render() {\n const endIndexHelpMessage = (\n \n Where to end extracting. (Exclusive){' '}\n Example: 1,5 cuts love from the string ilovelogs.\n \n );\n return (\n
\n \n\n \n\n \n \n \n
\n );\n },\n});\n\nexport default SubstringExtractorConfiguration;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/components/extractors/extractors_configuration/SubstringExtractorConfiguration.jsx\n **/","import React, {PropTypes} from 'react';\nimport Reflux from 'reflux';\n\nimport Spinner from 'components/common/Spinner';\nimport PageHeader from 'components/common/PageHeader';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport EditExtractor from 'components/extractors/EditExtractor';\n\nimport DocsHelper from 'util/DocsHelper';\nimport Routes from 'routing/Routes';\n\nimport StoreProvider from 'injection/StoreProvider';\nconst ExtractorsStore = StoreProvider.getStore('Extractors');\nconst InputsStore = StoreProvider.getStore('Inputs');\n// eslint-disable-next-line no-unused-vars\nconst MessagesStore = StoreProvider.getStore('Messages');\n\nimport ActionsProvider from 'injection/ActionsProvider';\nconst InputsActions = ActionsProvider.getActions('Inputs');\nconst MessagesActions = ActionsProvider.getActions('Messages');\n\nconst CreateExtractorsPage = React.createClass({\n propTypes: {\n params: PropTypes.object.isRequired,\n location: PropTypes.object.isRequired,\n history: PropTypes.object.isRequired,\n },\n mixins: [Reflux.connect(InputsStore)],\n getInitialState() {\n const { query } = this.props.location;\n\n return {\n extractor: ExtractorsStore.new(query.extractor_type, query.field),\n input: undefined,\n exampleMessage: undefined,\n extractorType: query.extractor_type,\n field: query.field,\n exampleIndex: query.example_index,\n exampleId: query.example_id,\n };\n },\n componentDidMount() {\n InputsActions.get.triggerPromise(this.props.params.inputId);\n MessagesActions.loadMessage.triggerPromise(this.state.exampleIndex, this.state.exampleId)\n .then(message => this.setState({exampleMessage: message}));\n },\n _isLoading() {\n return !(this.state.input && this.state.exampleMessage);\n },\n _extractorSaved() {\n let url;\n if (this.state.input.global) {\n url = Routes.global_input_extractors(this.props.params.inputId);\n } else {\n url = Routes.local_input_extractors(this.props.params.nodeId, this.props.params.inputId);\n }\n\n this.props.history.pushState(null, url);\n },\n render() {\n if (this._isLoading()) {\n return ;\n }\n\n return (\n
\n New extractor for input {this.state.input.title}}>\n \n Extractors are applied on every message that is received by an input. Use them to extract and transform{' '}\n any text data into fields that allow you easy filtering and analysis later on.\n \n\n \n Find more information about extractors in the\n {' '}.\n \n \n \n
\n );\n },\n});\n\nexport default CreateExtractorsPage;\n\n\n\n/** WEBPACK FOOTER **\n ** ./src/pages/CreateExtractorsPage.jsx\n **/"],"sourceRoot":""}