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

web-interface.assets.LoggedInPage.0aef8764c045e3ebf925.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([["07ba022f-6663"],{Vmfu2XtV:(q,x,t)=>{t.d(x,{Z:()=>L});var e=t("Z7aTuO5B"),W=t("/GOzvPf6"),D=t("uZqmR+ju");const d=({showProfile:n})=>e.createElement(D.Alert,{bsStyle:"info"},"We would like to collect anonymous usage data to help us prioritize improvements and make Graylog better in the future.",e.createElement("br",null),"We do not collect personal data, sensitive information, or content such as logs in your instances.",e.createElement("br",null),"Learn more on our ",e.createElement(W.dL,{href:"https://www.graylog.org/privacy-policy/"},"Privacy Policy"),".",e.createElement("br",null),"You can turn data collection off or on any time",n&&e.createElement("b",null," in the user profile"),!n&&" here",".");d.defaultProps={showProfile:void 0};const L=d},"vMorKP/N":(q,x,t)=>{t.d(x,{Z:()=>D});var e=t("VPaD/Np4"),W=t.n(e);class D{constructor(n,S,l,r,c,h,T,P,Z,g,v,I,u,A,C,N,O,M,R,y,U){this._value={id:n,username:S,fullName:l,firstName:r,lastName:c,email:h,permissions:T,timezone:P,preferences:Z,roles:g,readOnly:v,external:I,sessionTimeoutMs:u,startpage:A,sessionActive:C,clientAddress:N,lastActivity:O,accountStatus:M,grnPermissions:y,serviceAccount:R,authServiceEnabled:U}}get id(){return this._value.id}get username(){return this._value.username}get fullName(){return this._value.fullName}get firstName(){return this._value.firstName}get lastName(){return this._value.lastName}get email(){return this._value.email}get grnPermissions(){return this._value.grnPermissions}get permissions(){return this._value.permissions}get timezone(){return this._value.timezone}get preferences(){return this._value.preferences}get roles(){return this._value.roles}get readOnly(){return this._value.readOnly}get external(){return this._value.external}get accountStatus(){return this._value.accountStatus}get serviceAccount(){return this._value.serviceAccount}get sessionTimeoutMs(){return this._value.sessionTimeoutMs}get sessionTimeout(){if(!this.sessionTimeoutMs)return;const n=24*60*60*1e3,S=60*60*1e3,l=60*1e3,r=1e3,h=(P=>P===0?[r,"Seconds"]:P%n===0?[n,"Days"]:P%S===0?[S,"Hours"]:P%l===0?[l,"Minutes"]:[r,"Seconds"])(this.sessionTimeoutMs);return{value:Math.floor(this.sessionTimeoutMs/h[0]),unitMS:h[0],unitString:h[1]}}get startpage(){return this._value.startpage}get sessionActive(){return this._value.sessionActive}get clientAddress(){return this._value.clientAddress}get lastActivity(){return this._value.lastActivity}get authServiceEnabled(){return this._value.authServiceEnabled}toBuilder(){const{id:n,username:S,fullName:l,firstName:r,lastName:c,email:h,permissions:T,grnPermissions:P,timezone:Z,preferences:g,roles:v,readOnly:I,external:u,sessionTimeoutMs:A,startpage:C,sessionActive:N,clientAddress:O,lastActivity:M,accountStatus:R,serviceAccount:y,authServiceEnabled:U}=this._value;return new d(e.Map({id:n,username:S,fullName:l,firstName:r,lastName:c,email:h,permissions:T,timezone:Z,grnPermissions:P,preferences:g,roles:v,readOnly:I,external:u,sessionTimeoutMs:A,startpage:C,sessionActive:N,clientAddress:O,lastActivity:M,accountStatus:R,serviceAccount:y,authServiceEnabled:U}))}static create(n,S,l,r,c,h,T,P,Z,g,v,I,u,A,C,N,O,M,R,y,U){return new D(n,S,l,r,c,h,T,P,Z,g,v,I,u,A,C,N,O,M,R,y,U)}static empty(){return D.create("","","","",e.List(),"",{},e.Set(),!1,!1,-1,void 0,!1,"","","enabled")}toJSON(){const{id:n,username:S,fullName:l,firstName:r,lastName:c,email:h,grnPermissions:T,permissions:P,timezone:Z,preferences:g,roles:v,readOnly:I,external:u,sessionTimeoutMs:A,startpage:C,sessionActive:N,clientAddress:O,lastActivity:M,accountStatus:R,serviceAccount:y,authServiceEnabled:U}=this._value;return{id:n,username:S,full_name:l,first_name:r,last_name:c,email:h,grn_permissions:T?T.toJS():[],permissions:P?P.toArray():[],timezone:Z,preferences:g,roles:v?v.toArray():[],read_only:I,external:u,session_timeout_ms:A,startpage:C,session_active:N,client_address:O,last_activity:M,account_status:R,service_account:y,auth_service_enabled:U}}static fromJSON(n){const{id:S,username:l,full_name:r,first_name:c,last_name:h,email:T,grn_permissions:P,permissions:Z,timezone:g,preferences:v,roles:I,read_only:u,external:A,session_timeout_ms:C,startpage:N,session_active:O,client_address:M,last_activity:R,account_status:y,service_account:U,auth_service_enabled:X}=n;return D.create(S,l,r,c,h,T,e.List(Z),g,v,e.Set(I),u,A,C,N,O,M,R,y,U,e.List(P),X)}static builder(){return new d}}class d{constructor(n=e.Map()){this.value=n}id(n){return new d(this.value.set("id",n))}username(n){return new d(this.value.set("username",n))}fullName(n){return new d(this.value.set("fullName",n))}firstName(n){return new d(this.value.set("firstName",n))}lastName(n){return new d(this.value.set("lastName",n))}email(n){return new d(this.value.set("email",n))}grnPermissions(n){return new d(this.value.set("grnPermissions",n))}permissions(n){return new d(this.value.set("permissions",n))}timezone(n){return new d(this.value.set("timezone",n))}preferences(n){return new d(this.value.set("preferences",n))}roles(n){return new d(this.value.set("roles",n))}readOnly(n){return new d(this.value.set("readOnly",n))}external(n){return new d(this.value.set("external",n))}sessionTimeoutMs(n){return new d(this.value.set("sessionTimeoutMs",n))}startpage(n){return new d(this.value.set("startpage",n))}sessionActive(n){return new d(this.value.set("sessionActive",n))}clientAddress(n){return new d(this.value.set("clientAddress",n))}lastActivity(n){return new d(this.value.set("lastActivity",n))}accountStatus(n){return new d(this.value.set("accountStatus",n))}serviceAccount(n){return new d(this.value.set("serviceAccount",n))}authServiceEnabled(n){return new d(this.value.set("authServiceEnabled",n))}build(){const{id:n,username:S,fullName:l,firstName:r,lastName:c,email:h,permissions:T,timezone:P,preferences:Z,roles:g,readOnly:v,external:I,sessionTimeoutMs:u,startpage:A,sessionActive:C,clientAddress:N,lastActivity:O,accountStatus:M,serviceAccount:R,grnPermissions:y,authServiceEnabled:U}=this.value.toObject();return new D(n,S,l,r,c,h,T,P,Z,g,v,I,u,A,C,N,O,M,R,y,U)}}},aQ8GUzPu:(q,x,t)=>{t.r(x),t.d(x,{default:()=>fn});var e=t("Z7aTuO5B"),W=t("1jSicls3"),D=t("+w7neh6x"),d=t("0eB11aFj"),L=t("RCNj0OY4"),n=t("d4kzUuQm"),S=t("MdYBRjRJ"),l=t("8jTixuP6");const r=(0,l.Z)(()=>Promise.all([t.e("07ba022f-2378"),t.e("07ba022f-2951")]).then(t.bind(t,"lztJEUoH"))),c=(0,l.Z)(()=>Promise.all([t.e("07ba022f-2378"),t.e("07ba022f-3495")]).then(t.bind(t,"VTwQeCkM"))),h=(0,l.Z)(()=>Promise.all([t.e("07ba022f-2378"),t.e("07ba022f-9582")]).then(t.bind(t,"8hNhUys2"))),T=(0,l.Z)(()=>Promise.all([t.e("07ba022f-2378"),t.e("07ba022f-8440")]).then(t.bind(t,"GyKb0veu"))),P=(0,l.Z)(()=>Promise.all([t.e("07ba022f-2378"),t.e("07ba022f-1899")]).then(t.bind(t,"z8feUxhx"))),Z=(0,l.Z)(()=>Promise.all([t.e("07ba022f-2378"),t.e("07ba022f-832")]).then(t.bind(t,"oOBRVnUG"))),g=(0,l.Z)(()=>t.e("07ba022f-8461").then(t.bind(t,"t+Jkqvd1"))),v=(0,l.Z)(()=>t.e("07ba022f-4376").then(t.bind(t,"upRafL+V"))),I=(0,l.Z)(()=>Promise.all([t.e("07ba022f-3703"),t.e("07ba022f-1449"),t.e("07ba022f-3668"),t.e("07ba022f-9738")]).then(t.bind(t,"hp/AhXwo"))),u=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5673"),t.e("07ba022f-4440")]).then(t.bind(t,"xhcXzwie"))),A=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5843"),t.e("07ba022f-9366"),t.e("07ba022f-8905"),t.e("07ba022f-539"),t.e("07ba022f-8592")]).then(t.bind(t,"fXZFqfJz"))),C=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5843"),t.e("07ba022f-5226")]).then(t.bind(t,"ipCdamDE"))),N=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5673"),t.e("07ba022f-7664"),t.e("07ba022f-1235"),t.e("07ba022f-1917")]).then(t.bind(t,"RR0vGaDi"))),O=(0,l.Z)(()=>Promise.all([t.e("07ba022f-2065"),t.e("07ba022f-7246")]).then(t.bind(t,"eOIP7AmL"))),M=(0,l.Z)(()=>t.e("07ba022f-5205").then(t.bind(t,"fELIV7aL"))),R=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5843"),t.e("07ba022f-9366"),t.e("07ba022f-8905"),t.e("07ba022f-539"),t.e("07ba022f-3486")]).then(t.bind(t,"/kPfgGki"))),y=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5843"),t.e("07ba022f-7947")]).then(t.bind(t,"G3GhAzW+"))),U=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5673"),t.e("07ba022f-7664"),t.e("07ba022f-1235"),t.e("07ba022f-5573")]).then(t.bind(t,"5WTdac/v"))),X=(0,l.Z)(()=>Promise.all([t.e("07ba022f-2065"),t.e("07ba022f-7295")]).then(t.bind(t,"MUgCiC8O"))),ct=(0,l.Z)(()=>Promise.all([t.e("07ba022f-1217"),t.e("07ba022f-3848")]).then(t.bind(t,"QOBe4tCv"))),vt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-9366"),t.e("07ba022f-8905"),t.e("07ba022f-6717")]).then(t.bind(t,"3CnfofFa"))),Zt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5843"),t.e("07ba022f-9985")]).then(t.bind(t,"1hA+0wID"))),gt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-9366"),t.e("07ba022f-8905"),t.e("07ba022f-3945")]).then(t.bind(t,"Sn3eYRx3"))),It=(0,l.Z)(()=>t.e("07ba022f-4889").then(t.bind(t,"ONWJQjEM"))),_=(0,l.Z)(()=>Promise.all([t.e("07ba022f-7375"),t.e("07ba022f-7516"),t.e("07ba022f-6800")]).then(t.bind(t,"+U5Unhmb"))),ut=(0,l.Z)(()=>Promise.all([t.e("07ba022f-64"),t.e("07ba022f-8373")]).then(t.bind(t,"6otxL8V5"))),At=(0,l.Z)(()=>t.e("07ba022f-2507").then(t.bind(t,"2ZvCF5AB"))),Ct=(0,l.Z)(()=>t.e("07ba022f-7644").then(t.bind(t,"ODdtntEF"))),Nt=(0,l.Z)(()=>t.e("07ba022f-795").then(t.bind(t,"ck17yDCE"))),Ot=(0,l.Z)(()=>Promise.all([t.e("07ba022f-3668"),t.e("07ba022f-8940"),t.e("07ba022f-2379")]).then(t.bind(t,"DF0gSDSJ"))),Mt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-3668"),t.e("07ba022f-8940"),t.e("07ba022f-2746")]).then(t.bind(t,"Sc4QlGNN"))),Rt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-3668"),t.e("07ba022f-8940"),t.e("07ba022f-4499")]).then(t.bind(t,"QImtDXel"))),yt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-3668"),t.e("07ba022f-8940"),t.e("07ba022f-6490")]).then(t.bind(t,"mbovFJPp"))),Ut=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5299"),t.e("07ba022f-3580")]).then(t.bind(t,"02tGNaPy"))),Nn=(0,l.Z)(()=>t.e("07ba022f-7899").then(t.bind(t,"on2+SG6N"))),Dt=(0,l.Z)(()=>t.e("07ba022f-6202").then(t.bind(t,"6Q7xl8L7"))),On=(0,l.Z)(()=>t.e("07ba022f-7789").then(t.bind(t,"EdMu6A9M"))),F=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5967"),t.e("07ba022f-4349"),t.e("07ba022f-8966")]).then(t.bind(t,"P66wbtRX"))),V=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5967"),t.e("07ba022f-4349"),t.e("07ba022f-9693")]).then(t.bind(t,"yrynJauy"))),B=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5967"),t.e("07ba022f-4349"),t.e("07ba022f-5372")]).then(t.bind(t,"bw5WaAMC"))),Lt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5299"),t.e("07ba022f-1314")]).then(t.bind(t,"i2F0lxHX"))),Yt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-7691"),t.e("07ba022f-6303")]).then(t.bind(t,"8nUEfzAq"))),tt=(0,l.Z)(()=>Promise.resolve().then(t.bind(t,"sIZ0mQDD"))),xt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5967"),t.e("07ba022f-2032")]).then(t.bind(t,"Y4ZJYI0O"))),Gt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5967"),t.e("07ba022f-9821")]).then(t.bind(t,"rwPgmTJe"))),Kt=(0,l.Z)(()=>t.e("07ba022f-6712").then(t.bind(t,"h9dXfBVx"))),Wt=(0,l.Z)(()=>t.e("07ba022f-6436").then(t.bind(t,"tGaNIta6"))),Ht=(0,l.Z)(()=>t.e("07ba022f-5199").then(t.bind(t,"7f/pGhgG"))),Ft=(0,l.Z)(()=>t.e("07ba022f-699").then(t.bind(t,"DHbpw63n"))),Vt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5967"),t.e("07ba022f-7466")]).then(t.bind(t,"mLWLvpJt"))),Bt=(0,l.Z)(()=>t.e("07ba022f-3135").then(t.bind(t,"UOligA8Q"))),zt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5673"),t.e("07ba022f-7664"),t.e("07ba022f-4126")]).then(t.bind(t,"lm35p+IR"))),Jt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5843"),t.e("07ba022f-8617")]).then(t.bind(t,"TzPJ8l65"))),Qt=(0,l.Z)(()=>t.e("07ba022f-7421").then(t.bind(t,"ZNpXXpDf"))),Xt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5967"),t.e("07ba022f-9145")]).then(t.bind(t,"5kDqexKE"))),jt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-7691"),t.e("07ba022f-3913")]).then(t.bind(t,"HntqvQkd"))),$t=(0,l.Z)(()=>Promise.all([t.e("07ba022f-1727"),t.e("07ba022f-1149")]).then(t.bind(t,"nivIhX0y"))),bt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-1727"),t.e("07ba022f-5210")]).then(t.bind(t,"Lm/630hr"))),pt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-2801"),t.e("07ba022f-7195")]).then(t.bind(t,"WSzoNBGn"))),wt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-7892"),t.e("07ba022f-8988")]).then(t.bind(t,"H5zpvCML"))),kt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-2801"),t.e("07ba022f-6543")]).then(t.bind(t,"ywgbH3dj"))),qt=(0,l.Z)(()=>Promise.all([t.e("07ba022f-7892"),t.e("07ba022f-224")]).then(t.bind(t,"xYWcT9yn"))),_t=(0,l.Z)(()=>t.e("07ba022f-4594").then(t.bind(t,"2bMZsp0q"))),te=(0,l.Z)(()=>t.e("07ba022f-8579").then(t.bind(t,"A0QLPFdm"))),ee=(0,l.Z)(()=>t.e("07ba022f-5912").then(t.bind(t,"qgOA+rtT"))),ne=(0,l.Z)(()=>Promise.all([t.e("07ba022f-7375"),t.e("07ba022f-5208")]).then(t.bind(t,"UkvfjvOJ"))),le=(0,l.Z)(()=>t.e("07ba022f-7604").then(t.bind(t,"BrkhJCqs"))),se=(0,l.Z)(()=>Promise.all([t.e("07ba022f-7375"),t.e("07ba022f-7516"),t.e("07ba022f-2501")]).then(t.bind(t,"VBBnYA0D"))),oe=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5690"),t.e("07ba022f-490")]).then(t.bind(t,"3qcBrIJh"))),ae=(0,l.Z)(()=>t.e("07ba022f-5534").then(t.bind(t,"TVIxvOFy"))),me=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5690"),t.e("07ba022f-3245")]).then(t.bind(t,"PkmK0urH"))),Ee=(0,l.Z)(()=>Promise.all([t.e("07ba022f-1217"),t.e("07ba022f-3519")]).then(t.bind(t,"IMwNIfWz"))),de=(0,l.Z)(()=>t.e("07ba022f-6323").then(t.bind(t,"KvPuPDfl"))),Pe=(0,l.Z)(()=>t.e("07ba022f-1258").then(t.bind(t,"+ERuxdt7"))),ie=(0,l.Z)(()=>t.e("07ba022f-2012").then(t.bind(t,"+Qqic3/j"))),Se=(0,l.Z)(()=>Promise.all([t.e("07ba022f-3601"),t.e("07ba022f-6087")]).then(t.bind(t,"Yul/IdmX"))),he=(0,l.Z)(()=>Promise.all([t.e("07ba022f-3601"),t.e("07ba022f-8956")]).then(t.bind(t,"aXQp/Ie7"))),fe=(0,l.Z)(()=>Promise.all([t.e("07ba022f-3601"),t.e("07ba022f-8890")]).then(t.bind(t,"M4KelNzO"))),re=(0,l.Z)(()=>t.e("07ba022f-6217").then(t.bind(t,"uzHJ6m8N"))),Te=(0,l.Z)(()=>t.e("07ba022f-5831").then(t.bind(t,"+3+DnmaH"))),ce=(0,l.Z)(()=>Promise.all([t.e("07ba022f-5843"),t.e("07ba022f-9366"),t.e("07ba022f-8905"),t.e("07ba022f-7396")]).then(t.bind(t,"hjSh+MWv")));var ve=t("ii0bleBb"),G=t.n(ve),Ze=t("6vcCRWgg"),ge=Object.defineProperty,Ie=(o,s,a)=>s in o?ge(o,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[s]=a,et=(o,s,a)=>(Ie(o,typeof s!="symbol"?s+"":s,a),a);class j extends e.Component{constructor(s){super(s),this.state={}}componentDidCatch(s,a){this.setState({error:s,info:a})}render(){const{error:s,info:a}=this.state,{children:E}=this.props;return s?e.createElement(Ze.Z,{error:s,componentStack:a.componentStack}):E}}et(j,"propTypes",{children:G().node}),et(j,"defaultProps",{children:null});const ue=j;var nt=t("0hhBr0/b"),Ae=t("y2LHvPyS");const lt=({children:o})=>{const s=(0,nt.Z)("globalContextProviders");return!s||(s==null?void 0:s.length)===0?o:s.reduce((a,E)=>e.createElement(Ae.SV,{FallbackComponent:()=>a},e.createElement(E,null,a)),o)},z=({path:o,component:s,parentComponent:a,requiredFeatureFlag:E})=>{if(E&&!L.Z.isFeatureEnabled(E))return null;const f=a!=null?a:e.Fragment,m=()=>e.createElement(f,null,e.createElement(s,null));return{path:(0,S.s6)(o),element:e.createElement(m,null)}},st=o=>o.parentComponent===D.Z,Ce=()=>{const o=(0,nt.Z)("routes"),s=o.filter(i=>i.parentComponent===null).map(i=>z({...i,parentComponent:lt})),a=o.filter(i=>st(i)).map(i=>z({...i,parentComponent:null})),E=o.filter(i=>i.parentComponent&&!st(i)).map(z),f=o.filter(i=>i.parentComponent===void 0).map(z),m=L.Z.isCloud();let Y=!0;L.Z.isCloud()&&(Y=L.Z.isFeatureEnabled("cloud_inputs"));const K=(0,W.aj)([...s,{path:n.ZP.STARTPAGE,element:e.createElement(lt,null,e.createElement(D.Z,null)),children:[{path:n.ZP.STARTPAGE,element:e.createElement(le,null)},{path:n.ZP.SEARCH,element:e.createElement(M,null)},...E,...a,{path:`${L.Z.gl2AppPathPrefix()}/`,element:e.createElement(d.Z,null),children:[{path:n.ZP.message_show(":index",":messageId"),element:e.createElement(Qt,null)},{path:n.ZP.WELCOME,element:e.createElement(ut,null)},{path:n.ZP.STREAMS,element:e.createElement(ae,null)},{path:n.ZP.stream_edit(":streamId"),element:e.createElement(se,null)},!m&&{path:n.ZP.stream_outputs(":streamId"),element:e.createElement(oe,null)},{path:n.ZP.ALERTS.LIST,element:e.createElement(gt,null)},{path:n.ZP.ALERTS.DEFINITIONS.LIST,element:e.createElement(vt,null)},{path:n.ZP.ALERTS.DEFINITIONS.CREATE,element:e.createElement(A,null)},{path:n.ZP.ALERTS.DEFINITIONS.edit(":definitionId"),element:e.createElement(R,null)},{path:n.ZP.ALERTS.DEFINITIONS.show(":definitionId"),element:e.createElement(ce,null)},{path:n.ZP.ALERTS.NOTIFICATIONS.LIST,element:e.createElement(Zt,null)},{path:n.ZP.ALERTS.NOTIFICATIONS.CREATE,element:e.createElement(C,null)},{path:n.ZP.ALERTS.NOTIFICATIONS.edit(":notificationId"),element:e.createElement(y,null)},{path:n.ZP.ALERTS.NOTIFICATIONS.show(":notificationId"),element:e.createElement(Jt,null)},Y&&{path:n.ZP.SYSTEM.INPUTS,element:e.createElement(Ut,null)},!m&&{path:n.ZP.node_inputs(":nodeId"),element:e.createElement(Lt,null)},!m&&{path:n.ZP.global_input_extractors(":inputId"),element:e.createElement(_,null)},!m&&{path:n.ZP.local_input_extractors(":nodeId",":inputId"),element:e.createElement(_,null)},!m&&{path:n.ZP.new_extractor(":nodeId",":inputId"),element:e.createElement(O,null)},!m&&{path:n.ZP.edit_extractor(":nodeId",":inputId",":extractorId"),element:e.createElement(X,null)},!m&&{path:n.ZP.import_extractors(":nodeId",":inputId"),element:e.createElement(Ct,null)},!m&&{path:n.ZP.export_extractors(":nodeId",":inputId"),element:e.createElement(It,null)},{path:`${n.ZP.SYSTEM.CONFIGURATIONS}/*`,element:e.createElement(I,null)},{path:n.ZP.SYSTEM.CONTENTPACKS.LIST,element:e.createElement(u,null)},{path:n.ZP.SYSTEM.CONTENTPACKS.CREATE,element:e.createElement(N,null)},{path:n.ZP.SYSTEM.CONTENTPACKS.edit(":contentPackId",":contentPackRev"),element:e.createElement(U,null)},{path:n.ZP.SYSTEM.CONTENTPACKS.show(":contentPackId"),element:e.createElement(zt,null)},{path:n.ZP.SYSTEM.GROKPATTERNS,element:e.createElement(At,null)},{path:n.ZP.SYSTEM.INDEX_SETS.CREATE,element:e.createElement(Mt,null)},{path:n.ZP.SYSTEM.INDEX_SETS.SHOW(":indexSetId"),element:e.createElement(Rt,null)},{path:n.ZP.SYSTEM.INDEX_SETS.CONFIGURATION(":indexSetId"),element:e.createElement(Ot,null)},{path:n.ZP.SYSTEM.INDICES.LIST,element:e.createElement(yt,null)},!m&&{path:n.ZP.SYSTEM.INDICES.FAILURES,element:e.createElement(Nt,null)},{path:n.ZP.SYSTEM.LOOKUPTABLES.OVERVIEW,element:e.createElement(B,null)},{path:n.ZP.SYSTEM.LOOKUPTABLES.CREATE,element:e.createElement(B,{action:"create"})},{path:n.ZP.SYSTEM.LOOKUPTABLES.show(":tableName"),element:e.createElement(B,{action:"show"})},{path:n.ZP.SYSTEM.LOOKUPTABLES.edit(":tableName"),element:e.createElement(B,{action:"edit"})},{path:n.ZP.SYSTEM.LOOKUPTABLES.CACHES.OVERVIEW,element:e.createElement(F,null)},{path:n.ZP.SYSTEM.LOOKUPTABLES.CACHES.CREATE,element:e.createElement(F,{action:"create"})},{path:n.ZP.SYSTEM.LOOKUPTABLES.CACHES.show(":cacheName"),element:e.createElement(F,{action:"show"})},{path:n.ZP.SYSTEM.LOOKUPTABLES.CACHES.edit(":cacheName"),element:e.createElement(F,{action:"edit"})},{path:n.ZP.SYSTEM.LOOKUPTABLES.DATA_ADAPTERS.OVERVIEW,element:e.createElement(V,null)},{path:n.ZP.SYSTEM.LOOKUPTABLES.DATA_ADAPTERS.CREATE,element:e.createElement(V,{action:"create"})},{path:n.ZP.SYSTEM.LOOKUPTABLES.DATA_ADAPTERS.show(":adapterName"),element:e.createElement(V,{action:"show"})},{path:n.ZP.SYSTEM.LOOKUPTABLES.DATA_ADAPTERS.edit(":adapterName"),element:e.createElement(V,{action:"edit"})},{path:n.ZP.SYSTEM.PIPELINES.OVERVIEW,element:e.createElement(Gt,null)},{path:n.ZP.SYSTEM.PIPELINES.RULES,element:e.createElement(Vt,null)},{path:n.ZP.SYSTEM.PIPELINES.RULE(":ruleId"),element:e.createElement(Ft,null)},{path:n.ZP.SYSTEM.PIPELINES.SIMULATOR,element:e.createElement(ne,null)},{path:n.ZP.SYSTEM.PIPELINES.PIPELINE(":pipelineId"),element:e.createElement(xt,null)},!m&&{path:n.ZP.SYSTEM.LOGGING,element:e.createElement(Dt,null)},{path:n.ZP.SYSTEM.METRICS(":nodeId"),element:e.createElement(Xt,null)},!m&&{path:n.ZP.SYSTEM.NODES.LIST,element:e.createElement(Yt,null)},!m&&{path:n.ZP.SYSTEM.NODES.SHOW(":nodeId"),element:e.createElement(jt,null)},!m&&{path:n.ZP.SYSTEM.OUTPUTS,element:e.createElement(me,null)},!m&&{path:n.ZP.SYSTEM.AUTHENTICATION.BACKENDS.ACTIVE,element:e.createElement(Z,null)},!m&&{path:n.ZP.SYSTEM.AUTHENTICATION.BACKENDS.CREATE,element:e.createElement(T,null)},!m&&{path:n.ZP.SYSTEM.AUTHENTICATION.BACKENDS.OVERVIEW,element:e.createElement(P,null)},!m&&{path:n.ZP.SYSTEM.AUTHENTICATION.BACKENDS.show(":backendId"),element:e.createElement(c,null)},!m&&{path:n.ZP.SYSTEM.AUTHENTICATION.BACKENDS.edit(":backendId"),element:e.createElement(h,null)},!m&&{path:n.ZP.SYSTEM.AUTHENTICATION.BACKENDS.createBackend(":name"),element:e.createElement(r,null)},!m&&{path:n.ZP.SYSTEM.AUTHENTICATION.AUTHENTICATORS.SHOW,element:e.createElement(g,null)},!m&&{path:n.ZP.SYSTEM.AUTHENTICATION.AUTHENTICATORS.EDIT,element:e.createElement(v,null)},{path:n.ZP.SYSTEM.USERS.OVERVIEW,element:e.createElement(Te,null)},{path:n.ZP.SYSTEM.USERS.CREATE,element:e.createElement(Se,null)},{path:n.ZP.SYSTEM.USERS.show(":userId"),element:e.createElement(he,null)},{path:n.ZP.SYSTEM.USERS.edit(":userId"),element:e.createElement(fe,null)},{path:n.ZP.SYSTEM.USERS.TOKENS.edit(":userId"),element:e.createElement(re,null)},{path:n.ZP.SYSTEM.AUTHZROLES.OVERVIEW,element:e.createElement(Ht,null)},{path:n.ZP.SYSTEM.AUTHZROLES.show(":roleId"),element:e.createElement(Kt,null)},{path:n.ZP.SYSTEM.AUTHZROLES.edit(":roleId"),element:e.createElement(Wt,null)},{path:n.ZP.SYSTEM.OVERVIEW,element:e.createElement(Ee,null)},{path:n.ZP.SYSTEM.PROCESSBUFFERDUMP(":nodeId"),element:e.createElement(ie,null)},{path:n.ZP.SYSTEM.THREADDUMP(":nodeId"),element:e.createElement(Pe,null)},{path:n.ZP.SYSTEM.SYSTEMLOGS(":nodeId"),element:e.createElement(de,null)},{path:n.ZP.SYSTEM.ENTERPRISE,element:e.createElement(ct,null)},{path:n.ZP.SECURITY,element:e.createElement(Bt,null)},{path:n.ZP.SYSTEM.SIDECARS.OVERVIEW,element:e.createElement(te,null)},{path:n.ZP.SYSTEM.SIDECARS.STATUS(":sidecarId"),element:e.createElement(ee,null)},{path:n.ZP.SYSTEM.SIDECARS.ADMINISTRATION,element:e.createElement($t,null)},{path:n.ZP.SYSTEM.SIDECARS.CONFIGURATION,element:e.createElement(bt,null)},{path:n.ZP.SYSTEM.SIDECARS.FAILURE_TRACKING,element:e.createElement(_t,null)},{path:n.ZP.SYSTEM.SIDECARS.NEW_CONFIGURATION,element:e.createElement(qt,null)},{path:n.ZP.SYSTEM.SIDECARS.EDIT_CONFIGURATION(":configurationId"),element:e.createElement(wt,null)},{path:n.ZP.SYSTEM.SIDECARS.NEW_COLLECTOR,element:e.createElement(kt,null)},{path:n.ZP.SYSTEM.SIDECARS.EDIT_COLLECTOR(":collectorId"),element:e.createElement(pt,null)},...f,{path:"*",element:e.createElement(tt,{displayPageLayout:!1})}].filter(i=>!!i)},{path:n.ZP.NOTFOUND,element:e.createElement(tt,null)}]}]);return e.createElement(ue,null,e.createElement(W.pG,{router:K}))};var Ne=t("oBEvVL7M"),Oe=t("Ds5vWZ1u"),ot=t("q2j1bVbz"),Me=t("lN93Sbbu");const at=({children:o})=>{const s=(0,ot.Z)(),a=s==null?void 0:s.preferences;return a?e.createElement(Me.Z.Provider,{value:a},o):o};at.propTypes={children:G().node.isRequired};const Re=at;var ye=t("/yh+QgO6"),Ue=t.n(ye),J=t("8fnsnG21"),De=t("vMorKP/N"),Le=t("J1ga+jW6"),Ye=t("fGU5yqDp");const mt=({children:o})=>{const s=(0,J.o)(Le.D,E=>Ue()(E,"currentUser")),a=s?De.Z.fromJSON(s):void 0;return a?e.createElement(Ye.Z.Provider,{value:a},o):o};mt.propTypes={children:G().node.isRequired};const xe=mt;var Ge=t("nrvTDoPl"),$=t("IZYxBTgT");const Ke=(o,s)=>{var a,E;return s||((E=(a=o!=null?o:(0,$.x_)())!=null?a:L.Z.rootTimeZone())!=null?E:"UTC")},Et=({children:o,tz:s})=>{const a=(0,e.useCallback)(m=>(0,$.rG)(m,void 0,s),[s]),E=(0,e.useCallback)((m,Y="default")=>a(m).format($.eZ[Y]),[a]),f=(0,e.useMemo)(()=>({toUserTimezone:a,formatTime:E,userTimezone:s}),[a,E,s]);return e.createElement(Ge.Z.Provider,{value:f},o)},We=({children:o})=>{const s=(0,ot.Z)(),a=(0,e.useMemo)(()=>Ke(s==null?void 0:s.timezone),[s==null?void 0:s.timezone]);return e.createElement(Et,{tz:a},o)},dt=({children:o,tz:s})=>s?e.createElement(Et,{tz:s},o):e.createElement(We,null,o);dt.defaultProps={tz:void 0};const He=dt,Pt=({children:o})=>e.createElement(xe,null,e.createElement(He,null,e.createElement(Re,null,e.createElement(Ne.Z,null,e.createElement(Oe.Z,null),o))));Pt.propTypes={children:G().any.isRequired};const Fe=Pt;var it=t("Cd4wX32x"),Ve=t("gvNRgdyu");const Be=({children:o,streams:s})=>((0,e.useEffect)(()=>{it.s.refresh()},[]),e.createElement(Ve.Z.Provider,{value:s},o)),ze=(0,J.Z)(Be,{streams:it.h},({streams:{streams:o}={streams:void 0}})=>({streams:o}));var b=t("DUKaTDO2"),Je=t("wXrUUKFq"),Qe=t.n(Je);const St={defaultOptions:{queries:{refetchOnWindowFocus:!1,networkMode:"always"}}},ht=({children:o,options:s})=>{const a=s?Qe()({},St,s):St,E=(0,e.useMemo)(()=>new b.QueryClient(a),[a]);return e.createElement(b.QueryClientProvider,{client:E},o)};ht.defaultProps={options:void 0};const Xe=ht;var je=t("2dBXfbRP"),$e=t("J6y4/h8P"),be=t("Crt2wUQ/"),pe=t("2aaiYHqX"),we=t("/GOzvPf6"),ke=t("Vmfu2XtV");const ft=({show:o,onConfirm:s})=>e.createElement(we.QH,{show:o,onConfirm:s,hideCancelButton:!1,onCancel:s,title:"Help us improve Graylog",btnConfirmText:"Ok"},e.createElement(ke.Z,{showProfile:!0}));ft.propTypes={show:G().bool.isRequired,onConfirm:G().func.isRequired};const qe=ft;var _e=t("gToK60tD");const tn="telemetry.cluster.info",en=()=>(0,b.useQuery)([tn],()=>_e.M0.get(),{retry:0,keepPreviousData:!0,notifyOnChangeProps:["data","error"]}),p=o=>{const{cluster:{cluster_id:s,cluster_creation_date:a,nodes_count:E,traffic_last_month:f,users_count:m,license_count:Y,node_leader_app_version:K,installation_source:i},license:H,current_user:w}=o;return{cluster_id:s,cluster_creation_date:a,installation_source:i,nodes_count:E,traffic_last_month:f,users_count:m,license_count:Y,node_leader_app_version:K,...H,...w}},nn=({children:o})=>{const s=(0,je.U0)(),a=(0,$e.useTheme)(),E=(0,e.useCallback)(()=>(s==null?void 0:s.__loaded)===!0,[s]),{data:f,isSuccess:m,refetch:Y}=en(),[K,i]=(0,e.useState)(!1),[H,w]=(0,e.useState)(void 0);(0,e.useEffect)(()=>{const Tt=(0,S.av)(window.location.pathname),k=()=>{var Q;if(m&&f&&((Q=f.user_telemetry_settings)!=null&&Q.telemetry_enabled)){const{cluster:{cluster_id:cn,...vn},current_user:{user:Zn},license:gn,plugin:In,search_cluster:un,data_nodes:An,user_telemetry_settings:{telemetry_permission_asked:Cn}}=f;w(p(f)),s.group("cluster",cn,{app_pathname:Tt,app_theme:a.mode,...vn,...gn,...In,...un,...An,...p(f)}),s.identify(Zn,{...p(f)}),i(!Cn)}};E()&&k()},[s,m,f,a.mode,E]);const rn=(0,e.useMemo)(()=>({sendTelemetry:(k,Q)=>{if(E()&&H)try{s.capture(k,{...Q,...H,app_theme:a.mode})}catch{console.warn("Could not capture telemetry event.")}}}),[H,E,s,a.mode]),Tn=()=>{pe.W.update({telemetry_permission_asked:!0,telemetry_enabled:!0}).then(()=>{Y()}),i(!1)};return e.createElement(be.Z.Provider,{value:rn},o,K&&e.createElement(qe,{show:K,onConfirm:()=>Tn()}))};var ln=t("+KM7MH1U"),sn=t.n(ln),on=t("+44s4X7G"),an=t("Vg8s2y9S");const mn=e.memo(({children:o,value:s})=>e.createElement(on.Z.Provider,{value:s},o),sn()),En=({children:o})=>{const s=(0,J.o)(an.S,({nodes:a})=>Object.fromEntries(Object.entries(a!=null?a:{}).map(([E,{short_node_id:f,hostname:m}])=>[E,{id:E,short_node_id:f,hostname:m}])));return e.createElement(mn,{value:s},o)};var dn=t("F5HruJCi"),rt=t("yEuO7gC5");const Pn=o=>{var s,a;return Object.fromEntries((a=(s=o==null?void 0:o.inputs)==null?void 0:s.map(E=>[E.id,E]))!=null?a:[])},Sn=()=>((0,e.useEffect)(()=>{rt.x.list()},[]),(0,J.o)(rt.Q,Pn)),hn=({children:o})=>{const s=Sn();return e.createElement(dn.Z.Provider,{value:s},o)},fn=()=>e.createElement(Xe,null,e.createElement(Fe,null,e.createElement(nn,null,e.createElement(ze,null,e.createElement(En,null,e.createElement(hn,null,e.createElement(Ce,null)))))))}}]);})();

//# sourceMappingURL=LoggedInPage.0aef8764c045e3ebf925.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy