Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
(window.webpackJsonp=window.webpackJsonp||[]).push([["2e3af218-83"],{yR95Gh9F:function(e,t,n){"use strict";n.r(t);var r=n("oBIKikY9"),o=n("BpTi3BgK"),a=n("ii0bleBb"),i=n.n(a),c=n("ivGQtwpr"),l=n.n(c),s=n("PcYM+wZ7"),u=n.n(s),m=n("4KF7VOU5"),f=n.n(m),p=n("qoq4u5Uq"),d=n("8FtKQWAV"),h=n.n(d),y=n("fQFnrO3i"),E=n("N/I/utFl"),b=n("dPcQVUca");function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){for(var n=0;n1&&(e=l.a.createElement(p.c,{bsSize:"xsmall",bsStyle:"primary",className:"pull-right",onClick:this._openSortModal},"Sort extractors"));var n=this.state.extractors.sort((function(e,t){return h()(e.order,t.order)})).map(this._formatExtractor);return l.a.createElement("div",null,l.a.createElement(I,{inputId:this.props.input.id}),l.a.createElement(p.I,{className:"content extractor-list"},l.a.createElement(p.h,{md:12},l.a.createElement(p.I,{className:"row-sm"},l.a.createElement(p.h,{md:8},l.a.createElement("h2",null,"Configured extractors")),l.a.createElement(p.h,{md:4},e)),l.a.createElement(R.a,{bsNoItemsStyle:"info",noItemsText:"This input has no configured extractors.",items:n}))),l.a.createElement(le,{ref:function(e){t.sortModal=e},input:this.props.input,extractors:this.state.extractors}))}}),fe=n("jHp4XH0b"),pe=n("mc0qlNhN"),de=N.a.getActions("Nodes"),he=N.a.getActions("Inputs"),ye=k.a.getStore("Nodes"),Ee=u()({displayName:"ExtractorsPage",propTypes:{params:i.a.object.isRequired},mixins:[f.a.listenTo(ye,"onNodesChange")],getInitialState:function(){return{node:void 0}},componentDidMount:function(){var e=this,t=this.props.params;he.get(t.inputId).then((function(t){return e.setState({input:t})})),de.list()},onNodesChange:function(e){var t=this.props.params,n=t.nodeId?e.nodes[t.nodeId]:Object.values(e.nodes).filter((function(e){return e.is_master})),r=this.state.node;r&&r.node_id===n.node_id||this.setState({node:n})},_isLoading:function(){var e=this.state,t=e.node;return!(e.input&&t)},render:function(){if(this._isLoading())return l.a.createElement(r.L,null);var e=this.state,t=e.node,n=e.input;return l.a.createElement(r.i,{title:"Extractors of ".concat(n.title)},l.a.createElement("div",null,l.a.createElement(o.a,{title:l.a.createElement("span",null,"Extractors of ",l.a.createElement("em",null,n.title))},l.a.createElement("span",null,"Extractors are applied on every message that is received by this input. Use them to extract and transform"," ","any text data into fields that allow you easy filtering and analysis later on."," ","Example: Extract the HTTP response code from a log message, transform it to a numeric field and attach it"," ","as ",l.a.createElement("em",null,"http_response_code")," to the message."),l.a.createElement("span",null,"Find more information about extractors in the"," ",l.a.createElement(fe.a,{page:pe.a.PAGES.EXTRACTORS,text:"documentation"}),"."),l.a.createElement(p.k,{bsStyle:"info",bsSize:"large",id:"extractor-actions-dropdown",title:"Actions",pullRight:!0},l.a.createElement(P.LinkContainer,{to:F.a.import_extractors(t.node_id,n.id)},l.a.createElement(p.v,null,"Import extractors")),l.a.createElement(P.LinkContainer,{to:F.a.export_extractors(t.node_id,n.id)},l.a.createElement(p.v,null,"Export extractors")))),l.a.createElement(me,{input:n,node:t})))}});t.default=Ee}}]);
//# sourceMappingURL=2e3af218-83.9b2e86bdaee1c2fcd4e0.js.map