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

web-interface.assets.bb8c8232-171.2e0dcb23e39639dcc36f.js Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
"use strict";(()=>{(self.webpackChunkgraylog_web_interface=self.webpackChunkgraylog_web_interface||[]).push([["bb8c8232-171"],{"+Qqic3/j":(D,E,e)=>{e.r(E),e.d(E,{default:()=>v});var c=e("ii0bleBb"),P=e.n(c),s=e("Z7aTuO5B"),r=e("D4SbLiE/"),l=e.n(r),m=e("JnTtTRmZ"),i=e.n(m),t=e("rIl5IEuP"),n=e("IOI9nV80"),d=e("c9JM82dZ"),o=e("WE0xQIRH"),_=e("J1ga+jW6"),a=e("Vg8s2y9S");function O(u){return u.nodes?u.nodes[this.props.params.nodeId]:u.nodes}const g=l()({displayName:"ProcessBufferDumpPage",propTypes:{params:P().object.isRequired},mixins:[i().connect(_.y),i().connectFilter(a.j,"node",O)],componentDidMount(){const{params:u}=this.props;o.T.processbufferDump(u.nodeId).then(M=>this.setState({processbufferDump:M}))},_isLoading(){return!this.state.node},render(){if(this._isLoading())return s.createElement(n.y$,null);const{node:u,processbufferDump:M}=this.state,T=s.createElement("span",null,"Process-buffer dump of node ",u.short_node_id," / ",u.hostname,"\xA0",s.createElement("small",null,"Taken at ",s.createElement(n.Dc,{dateTime:new Date})," ")),f=M?s.createElement("pre",{className:"processbufferdump"},JSON.stringify(M,null,2)):s.createElement(n.y$,null);return s.createElement(n.Qc,{title:`Process-buffer dump of node ${u.short_node_id} / ${u.hostname}`},s.createElement("div",null,s.createElement(n.zY,{title:T}),s.createElement(t.Row,{className:"content"},s.createElement(t.Col,{md:12},f))))}}),v=(0,d.A)(g)},c9JM82dZ:(D,E,e)=>{e.d(E,{A:()=>r});var c=e("Z7aTuO5B"),P=e("yAXMqwrl");const r=l=>m=>{const i=(0,P.useParams)();return c.createElement(l,{...m,params:i})}},WE0xQIRH:(D,E,e)=>{e.d(E,{T:()=>d});var c=e("JnTtTRmZ"),P=e.n(c),s=e("MdYBRjRJ"),r=e("jAGDuYSC"),l=e("eFxcQyPT"),m=e("IA3Ku5lS"),i=e("Vg8s2y9S"),t=e("+pX1WsJ3"),n=e("l8PdZtMi");const d=(0,m.Bv)("core.ClusterOverview",()=>P().createStore({sourceUrl:"/cluster",clusterOverview:void 0,init(){this.cluster(),this.listenTo(n.W,this.cluster),this.listenTo(t.R,this.cluster),this.listenTo(i.j,this.cluster)},getInitialState(){return{clusterOverview:this.clusterOverview}},cluster(){const o=(0,l.Ur)("GET",s.H3(this.sourceUrl));return o.then(_=>{this.clusterOverview=_,this.trigger({clusterOverview:this.clusterOverview})},_=>r.A.error(`Getting cluster overview failed: ${_}`,"Could not get cluster overview")),o},threadDump(o){return(0,l.Ay)("GET",s.H3(`${this.sourceUrl}/${o}/threaddump`)).then(a=>a.threaddump,a=>r.A.error(`Getting thread dump for node '${o}' failed: ${a}`,"Could not get thread dump"))},processbufferDump(o){return(0,l.Ay)("GET",s.H3(`${this.sourceUrl}/${o}/processbufferdump`)).then(a=>a.processbuffer_dump,a=>r.A.error(`Getting process buffer dump for node '${o}' failed: ${a}`,"Could not get process buffer dump"))},systemLogs(o,_){return(0,l.gB)("GET",s.H3(`${this.sourceUrl}/system/loggers/messages/recent/${o}?limit=${_}`)).then(O=>O,O=>r.A.error(`Getting system log messages for node '${o}' failed: ${O}`,"Could not get system log messages"))},jvm(o){const _=(0,l.Ay)("GET",s.H3(`${this.sourceUrl}/${o}/jvm`));return _.catch(a=>r.A.error(`Getting JVM information for node '${o}' failed: ${a}`,"Could not get JVM information")),_}}))},"+pX1WsJ3":(D,E,e)=>{e.d(E,{R:()=>i});var c=e("JnTtTRmZ"),P=e.n(c),s=e("MdYBRjRJ"),r=e("jAGDuYSC"),l=e("eFxcQyPT"),m=e("IA3Ku5lS");const i=(0,m.Bv)("core.SystemLoadBalancer",()=>P().createStore({sourceUrl:t=>`/cluster/${t}/lbstatus`,override(t,n){return(0,l.Ay)("PUT",s.H3(`${this.sourceUrl(t)}/override/${n}`)).then(()=>{this.trigger({}),r.A.success(`Load balancer status successfully changed do '${n}' in node '${t}'`)},d=>{r.A.error(`Changing load balancer status in '${t}' failed: ${d}`,`Could not change load balancer status to '${n}' in node '${t}'`)})}}))},l8PdZtMi:(D,E,e)=>{e.d(E,{W:()=>i});var c=e("JnTtTRmZ"),P=e.n(c),s=e("MdYBRjRJ"),r=e("jAGDuYSC"),l=e("eFxcQyPT"),m=e("IA3Ku5lS");const i=(0,m.Bv)("core.SystemProcessing",()=>P().createStore({sourceUrl:t=>`/cluster/${t}/processing`,pause(t){return(0,l.Ay)("POST",s.H3(`${this.sourceUrl(t)}/pause`)).then(()=>{this.trigger({}),r.A.success(`Message processing paused successfully in '${t}'`)},n=>{r.A.error(`Pausing message processing in '${t}' failed: ${n}`,`Could not pause message processing in node '${t}'`)})},resume(t){return(0,l.Ay)("POST",s.H3(`${this.sourceUrl(t)}/resume`)).then(()=>{this.trigger({}),r.A.success(`Message processing resumed successfully in '${t}'`)},n=>{r.A.error(`Resuming message processing in '${t}' failed: ${n}`,`Could not resume message processing in node '${t}'`)})}}))}}]);})();

//# sourceMappingURL=bb8c8232-171.2e0dcb23e39639dcc36f.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy