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

web-interface.assets.57e33c6c-94.11b9f72925818240e61d.js Maven / Gradle / Ivy

There is a newer version: 6.0.2
Show newest version
(window.webpackJsonp=window.webpackJsonp||[]).push([["57e33c6c-94"],{yR95Gh9F:function(e,t,n){"use strict";n.r(t);var r=n("PcYM+wZ7"),o=n.n(r),a=n("ii0bleBb"),i=n.n(a),c=n("ivGQtwpr"),l=n.n(c),s=n("4KF7VOU5"),u=n.n(s),m=n("X+7LuFrS"),f=n("0tVB/fkh"),p=n("R1bYEKAv"),d=n("8FtKQWAV"),y=n.n(d),h=n("qoq4u5Uq"),E=n("3MLSbCDi"),b=n("N/I/utFl"),v=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 _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var n=0;n1&&(e=l.a.createElement(h.e,{bsSize:"xsmall",bsStyle:"primary",className:"pull-right",onClick:this._openSortModal},"Sort extractors"));var n=this.state.extractors.sort((function(e,t){return y()(e.order,t.order)})).map(this._formatExtractor);return l.a.createElement("div",null,l.a.createElement(C,{inputId:this.props.input.id}),l.a.createElement(h.L,{className:"content extractor-list"},l.a.createElement(h.j,{md:12},l.a.createElement(h.L,{className:"row-sm"},l.a.createElement(h.j,{md:8},l.a.createElement("h2",null,"Configured extractors")),l.a.createElement(h.j,{md:4},e)),l.a.createElement(P.a,{bsNoItemsStyle:"info",noItemsText:"This input has no configured extractors.",items:n}))),l.a.createElement(ue,{ref:function(e){t.sortModal=e},input:this.props.input,extractors:this.state.extractors}))}}),de=n("jHp4XH0b"),ye=n("mc0qlNhN"),he=n("1/asf7rI"),Ee=T.a.getActions("Nodes"),be=T.a.getActions("Inputs"),ve=k.a.getStore("Nodes"),ge=o()({displayName:"ExtractorsPage",propTypes:{params:i.a.object.isRequired},mixins:[u.a.listenTo(ve,"onNodesChange")],getInitialState:function(){return{node:void 0}},componentDidMount:function(){var e=this,t=this.props.params;be.get(t.inputId).then((function(t){return e.setState({input:t})})),Ee.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(f.db,null);var e=this.state,t=e.node,n=e.input;return l.a.createElement(f.j,{title:"Extractors of ".concat(n.title)},l.a.createElement("div",null,l.a.createElement(p.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(de.a,{page:ye.a.PAGES.EXTRACTORS,text:"documentation"}),"."),l.a.createElement(h.m,{bsStyle:"info",bsSize:"large",id:"extractor-actions-dropdown",title:"Actions",pullRight:!0},l.a.createElement(m.b,{to:B.a.import_extractors(t.node_id,n.id)},l.a.createElement(h.y,null,"Import extractors")),l.a.createElement(m.b,{to:B.a.export_extractors(t.node_id,n.id)},l.a.createElement(h.y,null,"Export extractors")))),l.a.createElement(pe,{input:n,node:t})))}});t.default=Object(he.a)(ge)}}]);
//# sourceMappingURL=57e33c6c-94.11b9f72925818240e61d.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy