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

web-interface.assets.bb8c8232-5816.9b97c815c6f8df7d960e.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-5816"],{"+ERuxdt7":(O,E,e)=>{e.r(E),e.d(E,{default:()=>_});var s=e("Z7aTuO5B"),m=e("yAXMqwrl"),n=e("rIl5IEuP"),r=e("IOI9nV80"),a=e("WE0xQIRH"),d=e("Vg8s2y9S"),P=e("8fnsnG21");const _=()=>{const{nodeId:c}=(0,m.useParams)(),{nodes:o}=(0,P.P)(d.j),[l,u]=(0,s.useState)(),i=o==null?void 0:o[c];return(0,s.useEffect)(()=>{c&&a.T.threadDump(c).then(D=>u(D))},[c]),i?s.createElement(r.Qc,{title:`Thread dump of node ${i.short_node_id} / ${i.hostname}`},s.createElement("div",null,s.createElement(r.zY,{title:s.createElement("span",null,"Thread dump of node ",i.short_node_id," / ",i.hostname,"\xA0",s.createElement("small",null,"Taken at ",s.createElement(r.Dc,{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.y$,null))))):s.createElement(r.y$,null)}},WE0xQIRH:(O,E,e)=>{e.d(E,{T:()=>c});var s=e("JnTtTRmZ"),m=e.n(s),n=e("MdYBRjRJ"),r=e("jAGDuYSC"),a=e("eFxcQyPT"),d=e("IA3Ku5lS"),P=e("Vg8s2y9S"),t=e("+pX1WsJ3"),_=e("l8PdZtMi");const c=(0,d.Bv)("core.ClusterOverview",()=>m().createStore({sourceUrl:"/cluster",clusterOverview:void 0,init(){this.cluster(),this.listenTo(_.W,this.cluster),this.listenTo(t.R,this.cluster),this.listenTo(P.j,this.cluster)},getInitialState(){return{clusterOverview:this.clusterOverview}},cluster(){const o=(0,a.Ur)("GET",n.H3(this.sourceUrl));return o.then(l=>{this.clusterOverview=l,this.trigger({clusterOverview:this.clusterOverview})},l=>r.A.error(`Getting cluster overview failed: ${l}`,"Could not get cluster overview")),o},threadDump(o){return(0,a.Ay)("GET",n.H3(`${this.sourceUrl}/${o}/threaddump`)).then(u=>u.threaddump,u=>r.A.error(`Getting thread dump for node '${o}' failed: ${u}`,"Could not get thread dump"))},processbufferDump(o){return(0,a.Ay)("GET",n.H3(`${this.sourceUrl}/${o}/processbufferdump`)).then(u=>u.processbuffer_dump,u=>r.A.error(`Getting process buffer dump for node '${o}' failed: ${u}`,"Could not get process buffer dump"))},systemLogs(o,l){return(0,a.gB)("GET",n.H3(`${this.sourceUrl}/system/loggers/messages/recent/${o}?limit=${l}`)).then(i=>i,i=>r.A.error(`Getting system log messages for node '${o}' failed: ${i}`,"Could not get system log messages"))},jvm(o){const l=(0,a.Ay)("GET",n.H3(`${this.sourceUrl}/${o}/jvm`));return l.catch(u=>r.A.error(`Getting JVM information for node '${o}' failed: ${u}`,"Could not get JVM information")),l}}))},"+pX1WsJ3":(O,E,e)=>{e.d(E,{R:()=>P});var s=e("JnTtTRmZ"),m=e.n(s),n=e("MdYBRjRJ"),r=e("jAGDuYSC"),a=e("eFxcQyPT"),d=e("IA3Ku5lS");const P=(0,d.Bv)("core.SystemLoadBalancer",()=>m().createStore({sourceUrl:t=>`/cluster/${t}/lbstatus`,override(t,_){return(0,a.Ay)("PUT",n.H3(`${this.sourceUrl(t)}/override/${_}`)).then(()=>{this.trigger({}),r.A.success(`Load balancer status successfully changed do '${_}' in node '${t}'`)},c=>{r.A.error(`Changing load balancer status in '${t}' failed: ${c}`,`Could not change load balancer status to '${_}' in node '${t}'`)})}}))},l8PdZtMi:(O,E,e)=>{e.d(E,{W:()=>P});var s=e("JnTtTRmZ"),m=e.n(s),n=e("MdYBRjRJ"),r=e("jAGDuYSC"),a=e("eFxcQyPT"),d=e("IA3Ku5lS");const P=(0,d.Bv)("core.SystemProcessing",()=>m().createStore({sourceUrl:t=>`/cluster/${t}/processing`,pause(t){return(0,a.Ay)("POST",n.H3(`${this.sourceUrl(t)}/pause`)).then(()=>{this.trigger({}),r.A.success(`Message processing paused successfully in '${t}'`)},_=>{r.A.error(`Pausing message processing in '${t}' failed: ${_}`,`Could not pause message processing in node '${t}'`)})},resume(t){return(0,a.Ay)("POST",n.H3(`${this.sourceUrl(t)}/resume`)).then(()=>{this.trigger({}),r.A.success(`Message processing resumed successfully in '${t}'`)},_=>{r.A.error(`Resuming message processing in '${t}' failed: ${_}`,`Could not resume message processing in node '${t}'`)})}}))}}]);})();

//# sourceMappingURL=bb8c8232-5816.9b97c815c6f8df7d960e.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy