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

web-interface.assets.1255d548-2012.0dde2e50340a6b6e45f7.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([["1255d548-2012"],{"+Qqic3/j":(O,E,e)=>{e.r(E),e.d(E,{default:()=>f});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("uZqmR+ju"),n=e("/GOzvPf6"),d=e("c9JM82dZ"),o=e("WE0xQIRH"),_=e("J1ga+jW6"),a=e("Vg8s2y9S");function D(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(_.D),i().connectFilter(a.S,"node",D)],componentDidMount(){const{params:u}=this.props;o.i.processbufferDump(u.nodeId).then(M=>this.setState({processbufferDump:M}))},_isLoading(){return!this.state.node},render(){if(this._isLoading())return s.createElement(n.$j,null);const{node:u,processbufferDump:M}=this.state,v=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.EK,{dateTime:new Date})," ")),T=M?s.createElement("pre",{className:"processbufferdump"},JSON.stringify(M,null,2)):s.createElement(n.$j,null);return s.createElement(n.$4,{title:`Process-buffer dump of node ${u.short_node_id} / ${u.hostname}`},s.createElement("div",null,s.createElement(n.mr,{title:v}),s.createElement(t.Row,{className:"content"},s.createElement(t.Col,{md:12},T))))}}),f=(0,d.Z)(g)},c9JM82dZ:(O,E,e)=>{e.d(E,{Z:()=>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:(O,E,e)=>{e.d(E,{i:()=>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.dS)("core.ClusterOverview",()=>P().createStore({sourceUrl:"/cluster",clusterOverview:void 0,init(){this.cluster(),this.listenTo(n.g,this.cluster),this.listenTo(t.t,this.cluster),this.listenTo(i.S,this.cluster)},getInitialState(){return{clusterOverview:this.clusterOverview}},cluster(){const o=(0,l.vl)("GET",s.DC(this.sourceUrl));return o.then(_=>{this.clusterOverview=_,this.trigger({clusterOverview:this.clusterOverview})},_=>r.Z.error(`Getting cluster overview failed: ${_}`,"Could not get cluster overview")),o},threadDump(o){return(0,l.ZP)("GET",s.DC(`${this.sourceUrl}/${o}/threaddump`)).then(a=>a.threaddump,a=>r.Z.error(`Getting thread dump for node '${o}' failed: ${a}`,"Could not get thread dump"))},processbufferDump(o){return(0,l.ZP)("GET",s.DC(`${this.sourceUrl}/${o}/processbufferdump`)).then(a=>a.processbuffer_dump,a=>r.Z.error(`Getting process buffer dump for node '${o}' failed: ${a}`,"Could not get process buffer dump"))},systemLogs(o,_){return(0,l.wR)("GET",s.DC(`${this.sourceUrl}/system/loggers/messages/recent/${o}?limit=${_}`)).then(D=>D,D=>r.Z.error(`Getting system log messages for node '${o}' failed: ${D}`,"Could not get system log messages"))},jvm(o){const _=(0,l.ZP)("GET",s.DC(`${this.sourceUrl}/${o}/jvm`));return _.catch(a=>r.Z.error(`Getting JVM information for node '${o}' failed: ${a}`,"Could not get JVM information")),_}}))},"+pX1WsJ3":(O,E,e)=>{e.d(E,{t:()=>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.dS)("core.SystemLoadBalancer",()=>P().createStore({sourceUrl:t=>`/cluster/${t}/lbstatus`,override(t,n){return(0,l.ZP)("PUT",s.DC(`${this.sourceUrl(t)}/override/${n}`)).then(()=>{this.trigger({}),r.Z.success(`Load balancer status successfully changed do '${n}' in node '${t}'`)},d=>{r.Z.error(`Changing load balancer status in '${t}' failed: ${d}`,`Could not change load balancer status to '${n}' in node '${t}'`)})}}))},l8PdZtMi:(O,E,e)=>{e.d(E,{g:()=>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.dS)("core.SystemProcessing",()=>P().createStore({sourceUrl:t=>`/cluster/${t}/processing`,pause(t){return(0,l.ZP)("POST",s.DC(`${this.sourceUrl(t)}/pause`)).then(()=>{this.trigger({}),r.Z.success(`Message processing paused successfully in '${t}'`)},n=>{r.Z.error(`Pausing message processing in '${t}' failed: ${n}`,`Could not pause message processing in node '${t}'`)})},resume(t){return(0,l.ZP)("POST",s.DC(`${this.sourceUrl(t)}/resume`)).then(()=>{this.trigger({}),r.Z.success(`Message processing resumed successfully in '${t}'`)},n=>{r.Z.error(`Resuming message processing in '${t}' failed: ${n}`,`Could not resume message processing in node '${t}'`)})}}))}}]);})();

//# sourceMappingURL=1255d548-2012.0dde2e50340a6b6e45f7.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy