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

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

There is a newer version: 6.0.2
Show newest version
(window.webpackJsonp=window.webpackJsonp||[]).push([["57e33c6c-114"],{PXGMUegA:function(e,t,a){"use strict";a.r(t);var n=a("ii0bleBb"),i=a.n(n),o=a("ivGQtwpr"),r=a.n(o),c=a("PcYM+wZ7"),l=a.n(c),u=a("X+7LuFrS"),s=a("qoq4u5Uq"),f=a("0tVB/fkh"),m=a("/lavANvI"),g=a("21p8kIWv"),S=a("f40X60ZD"),d=a("oJCa9+JL"),E=a("+CppQpVm"),p=a("1/asf7rI"),C=g.a.get("CollectorConfigurations").CollectorConfigurationsActions,b=l()({displayName:"SidecarEditConfigurationPage",propTypes:{params:i.a.object.isRequired},getInitialState:function(){return{configuration:void 0}},componentDidMount:function(){this._reloadConfiguration()},_reloadConfiguration:function(){var e=this,t=this.props.params.configurationId;C.getConfiguration(t).then((function(a){e.setState({configuration:a}),C.getConfigurationSidecars(t).then((function(t){return e.setState({configurationSidecars:t})}))}),(function(e){404===e.status&&E.a.push(m.a.SYSTEM.SIDECARS.CONFIGURATION)}))},_isLoading:function(){return!this.state.configuration||!this.state.configurationSidecars},_variableRenameHandler:function(e,t){this.configurationForm.replaceConfigurationVariableName(e,t)},render:function(){var e=this;return this._isLoading()?r.a.createElement(f.db,null):r.a.createElement(f.j,{title:"Collector Configuration"},r.a.createElement("span",null,r.a.createElement(f.M,{title:"Collector Configuration"},r.a.createElement("span",null,"Some words about collector configurations."),r.a.createElement("span",null,"Read more about the Graylog Sidecar in the documentation."),r.a.createElement(s.g,null,r.a.createElement(u.b,{to:m.a.SYSTEM.SIDECARS.OVERVIEW},r.a.createElement(s.e,{bsStyle:"info"},"Overview")),r.a.createElement(u.b,{to:m.a.SYSTEM.SIDECARS.ADMINISTRATION},r.a.createElement(s.e,{bsStyle:"info"},"Administration")),r.a.createElement(u.b,{to:m.a.SYSTEM.SIDECARS.CONFIGURATION},r.a.createElement(s.e,{bsStyle:"info",className:"active"},"Configuration")))),r.a.createElement(s.L,{className:"content"},r.a.createElement(s.j,{md:6},r.a.createElement(S.a,{ref:function(t){e.configurationForm=t},configuration:this.state.configuration,configurationSidecars:this.state.configurationSidecars})),r.a.createElement(s.j,{md:6},r.a.createElement(d.a,{onVariableRename:this._variableRenameHandler})))))}});t.default=Object(p.a)(b)}}]);
//# sourceMappingURL=57e33c6c-114.11b9f72925818240e61d.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy