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

web-interface.assets.1255d548-1258.b179013e1fffe51a01dd.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-1258"],{"+ERuxdt7":(D,E,e)=>{e.r(E),e.d(E,{default:()=>i});var s=e("Z7aTuO5B"),m=e("yAXMqwrl"),n=e("uZqmR+ju"),r=e("/GOzvPf6"),u=e("WE0xQIRH"),d=e("Vg8s2y9S"),P=e("8fnsnG21");const i=()=>{const{nodeId:c}=(0,m.useParams)(),{nodes:o}=(0,P.o)(d.S),[l,a]=(0,s.useState)(),_=o==null?void 0:o[c];return(0,s.useEffect)(()=>{c&&u.i.threadDump(c).then(O=>a(O))},[c]),_?s.createElement(r.$4,{title:`Thread dump of node ${_.short_node_id} / ${_.hostname}`},s.createElement("div",null,s.createElement(r.mr,{title:s.createElement("span",null,"Thread dump of node ",_.short_node_id," / ",_.hostname,"\xA0",s.createElement("small",null,"Taken at ",s.createElement(r.EK,{dateTime:new Date})))}),s.createElement(n.Row,{className:"content"},s.createElement(n.Col,{md:12},l?s.createElement("pre",{className:"threaddump"},l):s.createElement(r.$j,null))))):s.createElement(r.$j,null)}},WE0xQIRH:(D,E,e)=>{e.d(E,{i:()=>c});var s=e("JnTtTRmZ"),m=e.n(s),n=e("MdYBRjRJ"),r=e("jAGDuYSC"),u=e("eFxcQyPT"),d=e("IA3Ku5lS"),P=e("Vg8s2y9S"),t=e("+pX1WsJ3"),i=e("l8PdZtMi");const c=(0,d.dS)("core.ClusterOverview",()=>m().createStore({sourceUrl:"/cluster",clusterOverview:void 0,init(){this.cluster(),this.listenTo(i.g,this.cluster),this.listenTo(t.t,this.cluster),this.listenTo(P.S,this.cluster)},getInitialState(){return{clusterOverview:this.clusterOverview}},cluster(){const o=(0,u.vl)("GET",n.DC(this.sourceUrl));return o.then(l=>{this.clusterOverview=l,this.trigger({clusterOverview:this.clusterOverview})},l=>r.Z.error(`Getting cluster overview failed: ${l}`,"Could not get cluster overview")),o},threadDump(o){return(0,u.ZP)("GET",n.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,u.ZP)("GET",n.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,l){return(0,u.wR)("GET",n.DC(`${this.sourceUrl}/system/loggers/messages/recent/${o}?limit=${l}`)).then(_=>_,_=>r.Z.error(`Getting system log messages for node '${o}' failed: ${_}`,"Could not get system log messages"))},jvm(o){const l=(0,u.ZP)("GET",n.DC(`${this.sourceUrl}/${o}/jvm`));return l.catch(a=>r.Z.error(`Getting JVM information for node '${o}' failed: ${a}`,"Could not get JVM information")),l}}))},"+pX1WsJ3":(D,E,e)=>{e.d(E,{t:()=>P});var s=e("JnTtTRmZ"),m=e.n(s),n=e("MdYBRjRJ"),r=e("jAGDuYSC"),u=e("eFxcQyPT"),d=e("IA3Ku5lS");const P=(0,d.dS)("core.SystemLoadBalancer",()=>m().createStore({sourceUrl:t=>`/cluster/${t}/lbstatus`,override(t,i){return(0,u.ZP)("PUT",n.DC(`${this.sourceUrl(t)}/override/${i}`)).then(()=>{this.trigger({}),r.Z.success(`Load balancer status successfully changed do '${i}' in node '${t}'`)},c=>{r.Z.error(`Changing load balancer status in '${t}' failed: ${c}`,`Could not change load balancer status to '${i}' in node '${t}'`)})}}))},l8PdZtMi:(D,E,e)=>{e.d(E,{g:()=>P});var s=e("JnTtTRmZ"),m=e.n(s),n=e("MdYBRjRJ"),r=e("jAGDuYSC"),u=e("eFxcQyPT"),d=e("IA3Ku5lS");const P=(0,d.dS)("core.SystemProcessing",()=>m().createStore({sourceUrl:t=>`/cluster/${t}/processing`,pause(t){return(0,u.ZP)("POST",n.DC(`${this.sourceUrl(t)}/pause`)).then(()=>{this.trigger({}),r.Z.success(`Message processing paused successfully in '${t}'`)},i=>{r.Z.error(`Pausing message processing in '${t}' failed: ${i}`,`Could not pause message processing in node '${t}'`)})},resume(t){return(0,u.ZP)("POST",n.DC(`${this.sourceUrl(t)}/resume`)).then(()=>{this.trigger({}),r.Z.success(`Message processing resumed successfully in '${t}'`)},i=>{r.Z.error(`Resuming message processing in '${t}' failed: ${i}`,`Could not resume message processing in node '${t}'`)})}}))}}]);})();

//# sourceMappingURL=1255d548-1258.b179013e1fffe51a01dd.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy