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

web-interface.assets.b6fe2bb5-6683.712fc12588ae66d18748.js Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
"use strict";(self.webpackChunkgraylog_web_interface=self.webpackChunkgraylog_web_interface||[]).push([["b6fe2bb5-6683"],{"Dgh7eT+a":(e,t,n)=>{n.r(t),n.d(t,{default:()=>I});var a=n("ii0bleBb"),i=n.n(a),l=n("Z7aTuO5B"),r=n("D4SbLiE/"),s=n.n(r),o=n("JnTtTRmZ"),c=n.n(o),d=n("Mr++nPjW"),m=n("G9VqAO1I"),u=n("AdUszsMQ"),p=n("84eZmzyI"),h=n("vTrIz3Rd"),E=n("sPSK1Bnc"),f=n("DeVaSktS"),b=n("4Js8dUPg"),g=n("BSHS2nUH"),C=n("CfS4XPvw"),S=n("CWgTYPCb"),T=n("xxwliabF"),v=n("6WrsI6bg"),y=s()({displayName:"EditAlertConditionPage",propTypes:{params:i().object.isRequired},mixins:[c().connect(v.D),c().connect(S.j)],getInitialState:function(){return{stream:void 0}},componentDidMount:function(){var e=this;T.sH.get(this.props.params.streamId,(function(t){e.setState({stream:t})})),S.W.get(this.props.params.streamId,this.props.params.conditionId),S.W.available()},_handleUpdate:function(e,t){S.W.get(e,t)},_handleDelete:function(){g.Z.push(f.ZP.LEGACY_ALERTS.CONDITIONS)},_isLoading:function(){return!this.state.stream||!this.state.alertCondition||!this.state.availableConditions},render:function(){if(this._isLoading())return l.createElement(u.$j,null);var e=this.state.alertCondition,t=this.state.availableConditions[e.type],n=this.state.stream;return l.createElement(u.$4,{title:"Condition ".concat(e.title||"Untitled")},l.createElement("div",null,l.createElement(u.mr,{title:l.createElement("span",null,"Condition ",l.createElement("em",null,e.title||"Untitled"))},l.createElement("span",null,"Define an alert condition and configure the way Graylog will notify you when that condition is satisfied."),l.createElement("span",null,"Are the default conditions not flexible enough? You can write your own! Read more about alerting in the"," ",l.createElement(m.Z,{page:b.Z.PAGES.ALERTS,text:"documentation"}),"."),l.createElement("span",null,l.createElement(p.CC,{active:f.ZP.LEGACY_ALERTS.CONDITIONS}))),l.createElement(d.X2,{className:"content"},l.createElement(d.JX,{md:12},l.createElement(h.v7,{alertCondition:e,conditionType:t,stream:n,onUpdate:this._handleUpdate,onDelete:this._handleDelete}))),l.createElement(d.X2,{className:"content"},l.createElement(d.JX,{md:12},l.createElement(E.bk,{stream:n})))))}});const I=(0,C.Z)(y)}}]);
//# sourceMappingURL=b6fe2bb5-6683.712fc12588ae66d18748.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy