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

web-interface.assets.LoggedInPage.b6114c7f4e575fd21193.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-689"],{Vmfu2XtV:(_,I,t)=>{t.d(I,{A:()=>D});var n=t("Z7aTuO5B"),y=t("IOI9nV80"),l=t("rIl5IEuP");const g=({showProfile:C})=>n.createElement(l.Alert,{bsStyle:"info"},"We would like to collect anonymous usage data to help us prioritize improvements and make Graylog better in the future.",n.createElement("br",null),"We do not collect personal data, sensitive information, or content such as logs in your instances.",n.createElement("br",null),"Learn more on our ",n.createElement(y.Gr,{href:"https://www.graylog.org/privacy-policy/"},"Privacy Policy"),".",n.createElement("br",null),"You can turn data collection off or on any time",C&&n.createElement("b",null," in the user profile"),!C&&" here",".");g.defaultProps={showProfile:void 0};const D=g},uJvOUXGX:(_,I,t)=>{t.r(I),t.d(I,{default:()=>fe});var n=t("Z7aTuO5B"),y=t("1jSicls3"),l=t("8jTixuP6");const g=(0,l.A)(()=>Promise.all([t.e("bb8c8232-3538"),t.e("bb8c8232-9234")]).then(t.bind(t,"lztJEUoH"))),D=(0,l.A)(()=>Promise.all([t.e("bb8c8232-3538"),t.e("bb8c8232-2732")]).then(t.bind(t,"VTwQeCkM"))),C=(0,l.A)(()=>Promise.all([t.e("bb8c8232-3538"),t.e("bb8c8232-8530")]).then(t.bind(t,"8hNhUys2"))),tt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-3538"),t.e("bb8c8232-6435")]).then(t.bind(t,"GyKb0veu"))),nt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-3538"),t.e("bb8c8232-8961")]).then(t.bind(t,"z8feUxhx"))),et=(0,l.A)(()=>Promise.all([t.e("bb8c8232-3538"),t.e("bb8c8232-5438")]).then(t.bind(t,"oOBRVnUG"))),lt=(0,l.A)(()=>t.e("bb8c8232-6546").then(t.bind(t,"t+Jkqvd1"))),ot=(0,l.A)(()=>t.e("bb8c8232-9699").then(t.bind(t,"upRafL+V"))),st=(0,l.A)(()=>Promise.all([t.e("bb8c8232-8996"),t.e("bb8c8232-2624")]).then(t.bind(t,"GN1JFPTn"))),Et=(0,l.A)(()=>Promise.all([t.e("bb8c8232-3374"),t.e("bb8c8232-1031")]).then(t.bind(t,"xhcXzwie"))),mt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-6119"),t.e("bb8c8232-64"),t.e("bb8c8232-4041")]).then(t.bind(t,"fXZFqfJz"))),at=(0,l.A)(()=>t.e("bb8c8232-1143").then(t.bind(t,"ipCdamDE"))),dt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-3374"),t.e("bb8c8232-408"),t.e("bb8c8232-2608"),t.e("bb8c8232-2774")]).then(t.bind(t,"RR0vGaDi"))),At=(0,l.A)(()=>Promise.all([t.e("bb8c8232-2011"),t.e("bb8c8232-4531")]).then(t.bind(t,"eOIP7AmL"))),St=(0,l.A)(()=>t.e("bb8c8232-5764").then(t.bind(t,"LvKb3PCU"))),Pt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-9887"),t.e("bb8c8232-7170")]).then(t.bind(t,"X8E6til3"))),Tt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-3142"),t.e("bb8c8232-7174")]).then(t.bind(t,"SX89XFt0"))),ct=(0,l.A)(()=>t.e("bb8c8232-290").then(t.bind(t,"PShDXqyY"))),ht=(0,l.A)(()=>Promise.all([t.e("bb8c8232-9887"),t.e("bb8c8232-4752")]).then(t.bind(t,"wH8GqTlC"))),It=(0,l.A)(()=>t.e("bb8c8232-379").then(t.bind(t,"fELIV7aL"))),yt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-6119"),t.e("bb8c8232-64"),t.e("bb8c8232-2809")]).then(t.bind(t,"/kPfgGki"))),gt=(0,l.A)(()=>t.e("bb8c8232-5069").then(t.bind(t,"G3GhAzW+"))),Ct=(0,l.A)(()=>Promise.all([t.e("bb8c8232-3374"),t.e("bb8c8232-408"),t.e("bb8c8232-2608"),t.e("bb8c8232-1956")]).then(t.bind(t,"5WTdac/v"))),vt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-2011"),t.e("bb8c8232-6291")]).then(t.bind(t,"MUgCiC8O"))),it=(0,l.A)(()=>Promise.all([t.e("bb8c8232-9163"),t.e("bb8c8232-2770")]).then(t.bind(t,"QOBe4tCv"))),Ot=(0,l.A)(()=>t.e("bb8c8232-8288").then(t.bind(t,"ldS1FYyb"))),Nt=(0,l.A)(()=>t.e("bb8c8232-8316").then(t.bind(t,"1hA+0wID"))),ft=(0,l.A)(()=>t.e("bb8c8232-5778").then(t.bind(t,"J7jHQVWe"))),Rt=(0,l.A)(()=>t.e("bb8c8232-4987").then(t.bind(t,"fqk3nGpU"))),r=(0,l.A)(()=>Promise.all([t.e("bb8c8232-4742"),t.e("bb8c8232-4649"),t.e("bb8c8232-3861")]).then(t.bind(t,"8YEs7j6b"))),Dt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-6377"),t.e("bb8c8232-1554")]).then(t.bind(t,"W19JNEMx"))),Mt=(0,l.A)(()=>t.e("bb8c8232-4168").then(t.bind(t,"2ZvCF5AB"))),Ut=(0,l.A)(()=>t.e("bb8c8232-6242").then(t.bind(t,"ODdtntEF"))),Lt=(0,l.A)(()=>t.e("bb8c8232-5336").then(t.bind(t,"ck17yDCE"))),Yt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-8996"),t.e("bb8c8232-9201"),t.e("bb8c8232-4144")]).then(t.bind(t,"DF0gSDSJ"))),bt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-8996"),t.e("bb8c8232-9201"),t.e("bb8c8232-9241")]).then(t.bind(t,"nW7dT6Lb"))),xt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-8996"),t.e("bb8c8232-9201"),t.e("bb8c8232-6486"),t.e("bb8c8232-5861")]).then(t.bind(t,"W+DnNXDH"))),rt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-8996"),t.e("bb8c8232-9201"),t.e("bb8c8232-3969")]).then(t.bind(t,"QImtDXel"))),Ft=(0,l.A)(()=>Promise.all([t.e("bb8c8232-8996"),t.e("bb8c8232-9201"),t.e("bb8c8232-2340")]).then(t.bind(t,"wQTcML4j"))),Bt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-8996"),t.e("bb8c8232-9201"),t.e("bb8c8232-5260")]).then(t.bind(t,"QhaE2vdB"))),Gt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-8996"),t.e("bb8c8232-9201"),t.e("bb8c8232-6486"),t.e("bb8c8232-9916")]).then(t.bind(t,"suwCB58R"))),Wt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-8996"),t.e("bb8c8232-9201"),t.e("bb8c8232-5630")]).then(t.bind(t,"mbovFJPp"))),Kt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-9099"),t.e("bb8c8232-8513")]).then(t.bind(t,"02tGNaPy"))),Ht=(0,l.A)(()=>t.e("bb8c8232-4115").then(t.bind(t,"VvP3XWSQ"))),Be=(0,l.A)(()=>t.e("bb8c8232-8052").then(t.bind(t,"on2+SG6N"))),Vt=(0,l.A)(()=>t.e("bb8c8232-6150").then(t.bind(t,"6Q7xl8L7"))),Ge=(0,l.A)(()=>t.e("bb8c8232-3883").then(t.bind(t,"G/46AKiQ"))),v=(0,l.A)(()=>t.e("bb8c8232-2758").then(t.bind(t,"P66wbtRX"))),i=(0,l.A)(()=>t.e("bb8c8232-7379").then(t.bind(t,"yrynJauy"))),O=(0,l.A)(()=>t.e("bb8c8232-6212").then(t.bind(t,"bw5WaAMC"))),ut=(0,l.A)(()=>Promise.all([t.e("bb8c8232-9099"),t.e("bb8c8232-2637")]).then(t.bind(t,"i2F0lxHX"))),Xt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-5266"),t.e("bb8c8232-9721")]).then(t.bind(t,"8nUEfzAq"))),F=(0,l.A)(()=>Promise.resolve().then(t.bind(t,"sIZ0mQDD"))),Jt=(0,l.A)(()=>t.e("bb8c8232-8928").then(t.bind(t,"Y4ZJYI0O"))),Qt=(0,l.A)(()=>t.e("bb8c8232-2310").then(t.bind(t,"rwPgmTJe"))),zt=(0,l.A)(()=>t.e("bb8c8232-2653").then(t.bind(t,"h9dXfBVx"))),jt=(0,l.A)(()=>t.e("bb8c8232-8997").then(t.bind(t,"tGaNIta6"))),Zt=(0,l.A)(()=>t.e("bb8c8232-4923").then(t.bind(t,"6hz9dfSj"))),$t=(0,l.A)(()=>t.e("bb8c8232-6580").then(t.bind(t,"DHbpw63n"))),pt=(0,l.A)(()=>t.e("bb8c8232-5230").then(t.bind(t,"mLWLvpJt"))),wt=(0,l.A)(()=>Promise.all([t.e("bb8c8232-3374"),t.e("bb8c8232-408"),t.e("bb8c8232-7807")]).then(t.bind(t,"lm35p+IR"))),kt=(0,l.A)(()=>t.e("bb8c8232-2666").then(t.bind(t,"TzPJ8l65"))),qt=(0,l.A)(()=>t.e("bb8c8232-9610").then(t.bind(t,"ZNpXXpDf"))),_t=(0,l.A)(()=>t.e("bb8c8232-132").then(t.bind(t,"5kDqexKE"))),tn=(0,l.A)(()=>Promise.all([t.e("bb8c8232-5266"),t.e("bb8c8232-8815")]).then(t.bind(t,"HntqvQkd"))),nn=(0,l.A)(()=>Promise.all([t.e("bb8c8232-212"),t.e("bb8c8232-1320")]).then(t.bind(t,"nivIhX0y"))),en=(0,l.A)(()=>Promise.all([t.e("bb8c8232-212"),t.e("bb8c8232-6376")]).then(t.bind(t,"AbSi7kNO"))),ln=(0,l.A)(()=>Promise.all([t.e("bb8c8232-816"),t.e("bb8c8232-1348")]).then(t.bind(t,"WSzoNBGn"))),on=(0,l.A)(()=>Promise.all([t.e("bb8c8232-1207"),t.e("bb8c8232-3947")]).then(t.bind(t,"H5zpvCML"))),sn=(0,l.A)(()=>Promise.all([t.e("bb8c8232-816"),t.e("bb8c8232-2480")]).then(t.bind(t,"ywgbH3dj"))),En=(0,l.A)(()=>Promise.all([t.e("bb8c8232-1207"),t.e("bb8c8232-3207")]).then(t.bind(t,"xYWcT9yn"))),mn=(0,l.A)(()=>t.e("bb8c8232-5578").then(t.bind(t,"2bMZsp0q"))),an=(0,l.A)(()=>t.e("bb8c8232-3184").then(t.bind(t,"A0QLPFdm"))),dn=(0,l.A)(()=>t.e("bb8c8232-4332").then(t.bind(t,"qgOA+rtT"))),An=(0,l.A)(()=>Promise.all([t.e("bb8c8232-4742"),t.e("bb8c8232-4216")]).then(t.bind(t,"UkvfjvOJ"))),Sn=(0,l.A)(()=>t.e("bb8c8232-1310").then(t.bind(t,"BrkhJCqs"))),Pn=(0,l.A)(()=>Promise.all([t.e("bb8c8232-4742"),t.e("bb8c8232-4649"),t.e("bb8c8232-4340")]).then(t.bind(t,"VBBnYA0D"))),Tn=(0,l.A)(()=>Promise.all([t.e("bb8c8232-2523"),t.e("bb8c8232-6236")]).then(t.bind(t,"3qcBrIJh"))),cn=(0,l.A)(()=>Promise.all([t.e("bb8c8232-6486"),t.e("bb8c8232-3122")]).then(t.bind(t,"4BCWu7kv"))),hn=(0,l.A)(()=>Promise.all([t.e("bb8c8232-2523"),t.e("bb8c8232-1893")]).then(t.bind(t,"PkmK0urH"))),In=(0,l.A)(()=>Promise.all([t.e("bb8c8232-9163"),t.e("bb8c8232-6862")]).then(t.bind(t,"IMwNIfWz"))),yn=(0,l.A)(()=>t.e("bb8c8232-6436").then(t.bind(t,"KvPuPDfl"))),gn=(0,l.A)(()=>t.e("bb8c8232-5816").then(t.bind(t,"+ERuxdt7"))),Cn=(0,l.A)(()=>t.e("bb8c8232-171").then(t.bind(t,"+Qqic3/j"))),vn=(0,l.A)(()=>Promise.all([t.e("bb8c8232-9403"),t.e("bb8c8232-6368")]).then(t.bind(t,"Yul/IdmX"))),On=(0,l.A)(()=>t.e("bb8c8232-4411").then(t.bind(t,"aXQp/Ie7"))),Nn=(0,l.A)(()=>Promise.all([t.e("bb8c8232-9403"),t.e("bb8c8232-8845")]).then(t.bind(t,"M4KelNzO"))),fn=(0,l.A)(()=>t.e("bb8c8232-3795").then(t.bind(t,"uzHJ6m8N"))),Rn=(0,l.A)(()=>t.e("bb8c8232-4297").then(t.bind(t,"+3+DnmaH"))),Dn=(0,l.A)(()=>Promise.all([t.e("bb8c8232-6119"),t.e("bb8c8232-7224")]).then(t.bind(t,"hjSh+MWv")));var P=t("RCNj0OY4"),B=t("MdYBRjRJ"),G=t("/XAQvyuM"),Mn=t("0eB11aFj"),e=t("d4kzUuQm"),Un=t("ii0bleBb"),T=t.n(Un),Ln=t("6vcCRWgg"),Yn=Object.defineProperty,bn=(s,o,E)=>o in s?Yn(s,o,{enumerable:!0,configurable:!0,writable:!0,value:E}):s[o]=E,W=(s,o,E)=>(bn(s,typeof o!="symbol"?o+"":o,E),E);class M extends n.Component{constructor(o){super(o),this.state={}}componentDidCatch(o,E){this.setState({error:o,info:E})}render(){const{error:o,info:E}=this.state,{children:a}=this.props;return o?n.createElement(Ln.A,{error:o,componentStack:E.componentStack}):a}}W(M,"propTypes",{children:T().node}),W(M,"defaultProps",{children:null});const xn=M;var K=t("0hhBr0/b"),rn=t("y2LHvPyS");const H=({children:s})=>{const o=(0,K.A)("globalContextProviders");return!o||(o==null?void 0:o.length)===0?s:o.reduce((E,a)=>n.createElement(rn.tH,{FallbackComponent:()=>E},n.createElement(a,null,E)),s)},N=({path:s,component:o,parentComponent:E,requiredFeatureFlag:a})=>{if(a&&!P.A.isFeatureEnabled(a))return null;const A=E!=null?E:n.Fragment,m=()=>n.createElement(A,null,n.createElement(o,null));return{path:(0,B.XV)(s),element:n.createElement(m,null)}},V=s=>s.parentComponent===G.A,Fn=()=>{const s=(0,K.A)("routes"),o=s.filter(d=>d.parentComponent===null).map(d=>N({...d,parentComponent:H})),E=s.filter(d=>V(d)).map(d=>N({...d,parentComponent:null})),a=s.filter(d=>d.parentComponent&&!V(d)).map(N),A=s.filter(d=>d.parentComponent===void 0).map(N),m=P.A.isCloud();let S=!0;P.A.isCloud()&&(S=P.A.isFeatureEnabled("cloud_inputs"));const c=P.A.isFeatureEnabled("data_node_migration"),h=(0,y.Ys)([...o,{path:e.Ay.STARTPAGE,element:n.createElement(H,null,n.createElement(G.A,null)),children:[{path:e.Ay.STARTPAGE,element:n.createElement(Sn,null)},{path:e.Ay.SEARCH,element:n.createElement(It,null)},...a,...E,{path:`${P.A.gl2AppPathPrefix()}/`,element:n.createElement(Mn.A,null),children:[{path:e.Ay.message_show(":index",":messageId"),element:n.createElement(qt,null)},{path:e.Ay.WELCOME,element:n.createElement(Dt,null)},{path:e.Ay.STREAMS,element:n.createElement(cn,null)},{path:e.Ay.stream_edit(":streamId"),element:n.createElement(Pn,null)},!m&&{path:e.Ay.stream_outputs(":streamId"),element:n.createElement(Tn,null)},{path:e.Ay.ALERTS.LIST,element:n.createElement(ft,null)},{path:e.Ay.ALERTS.DEFINITIONS.LIST,element:n.createElement(Ot,null)},{path:e.Ay.ALERTS.DEFINITIONS.CREATE,element:n.createElement(mt,null)},{path:e.Ay.ALERTS.DEFINITIONS.edit(":definitionId"),element:n.createElement(yt,null)},{path:e.Ay.ALERTS.DEFINITIONS.show(":definitionId"),element:n.createElement(Dn,null)},{path:e.Ay.ALERTS.NOTIFICATIONS.LIST,element:n.createElement(Nt,null)},{path:e.Ay.ALERTS.NOTIFICATIONS.CREATE,element:n.createElement(at,null)},{path:e.Ay.ALERTS.NOTIFICATIONS.edit(":notificationId"),element:n.createElement(gt,null)},{path:e.Ay.ALERTS.NOTIFICATIONS.show(":notificationId"),element:n.createElement(kt,null)},S&&{path:e.Ay.SYSTEM.INPUTS,element:n.createElement(Kt,null)},!m&&{path:e.Ay.node_inputs(":nodeId"),element:n.createElement(ut,null)},!m&&{path:e.Ay.global_input_extractors(":inputId"),element:n.createElement(r,null)},!m&&{path:e.Ay.local_input_extractors(":nodeId",":inputId"),element:n.createElement(r,null)},!m&&{path:e.Ay.new_extractor(":nodeId",":inputId"),element:n.createElement(At,null)},!m&&{path:e.Ay.edit_extractor(":nodeId",":inputId",":extractorId"),element:n.createElement(vt,null)},!m&&{path:e.Ay.import_extractors(":nodeId",":inputId"),element:n.createElement(Ut,null)},!m&&{path:e.Ay.export_extractors(":nodeId",":inputId"),element:n.createElement(Rt,null)},{path:`${e.Ay.SYSTEM.CONFIGURATIONS}/*`,element:n.createElement(st,null)},{path:e.Ay.SYSTEM.CONTENTPACKS.LIST,element:n.createElement(Et,null)},{path:e.Ay.SYSTEM.CONTENTPACKS.CREATE,element:n.createElement(dt,null)},{path:e.Ay.SYSTEM.CONTENTPACKS.edit(":contentPackId",":contentPackRev"),element:n.createElement(Ct,null)},{path:e.Ay.SYSTEM.CONTENTPACKS.show(":contentPackId"),element:n.createElement(wt,null)},{path:e.Ay.SYSTEM.GROKPATTERNS,element:n.createElement(Mt,null)},{path:e.Ay.SYSTEM.INDEX_SETS.CREATE,element:n.createElement(bt,null)},{path:e.Ay.SYSTEM.INDEX_SETS.SHOW(":indexSetId"),element:n.createElement(rt,null)},{path:e.Ay.SYSTEM.INDEX_SETS.CONFIGURATION(":indexSetId"),element:n.createElement(Yt,null)},{path:e.Ay.SYSTEM.INDEX_SETS.FIELD_TYPES(":indexSetId"),element:n.createElement(xt,null)},{path:e.Ay.SYSTEM.INDICES.LIST,element:n.createElement(Wt,null)},!m&&{path:e.Ay.SYSTEM.INDICES.FAILURES,element:n.createElement(Lt,null)},{path:e.Ay.SYSTEM.LOOKUPTABLES.OVERVIEW,element:n.createElement(O,null)},{path:e.Ay.SYSTEM.LOOKUPTABLES.CREATE,element:n.createElement(O,{action:"create"})},{path:e.Ay.SYSTEM.LOOKUPTABLES.show(":tableName"),element:n.createElement(O,{action:"show"})},{path:e.Ay.SYSTEM.LOOKUPTABLES.edit(":tableName"),element:n.createElement(O,{action:"edit"})},{path:e.Ay.SYSTEM.LOOKUPTABLES.CACHES.OVERVIEW,element:n.createElement(v,null)},{path:e.Ay.SYSTEM.LOOKUPTABLES.CACHES.CREATE,element:n.createElement(v,{action:"create"})},{path:e.Ay.SYSTEM.LOOKUPTABLES.CACHES.show(":cacheName"),element:n.createElement(v,{action:"show"})},{path:e.Ay.SYSTEM.LOOKUPTABLES.CACHES.edit(":cacheName"),element:n.createElement(v,{action:"edit"})},{path:e.Ay.SYSTEM.LOOKUPTABLES.DATA_ADAPTERS.OVERVIEW,element:n.createElement(i,null)},{path:e.Ay.SYSTEM.LOOKUPTABLES.DATA_ADAPTERS.CREATE,element:n.createElement(i,{action:"create"})},{path:e.Ay.SYSTEM.LOOKUPTABLES.DATA_ADAPTERS.show(":adapterName"),element:n.createElement(i,{action:"show"})},{path:e.Ay.SYSTEM.LOOKUPTABLES.DATA_ADAPTERS.edit(":adapterName"),element:n.createElement(i,{action:"edit"})},{path:e.Ay.SYSTEM.PIPELINES.OVERVIEW,element:n.createElement(Qt,null)},{path:e.Ay.SYSTEM.PIPELINES.RULES,element:n.createElement(pt,null)},{path:e.Ay.SYSTEM.PIPELINES.RULE(":ruleId"),element:n.createElement($t,null)},{path:e.Ay.SYSTEM.PIPELINES.SIMULATOR,element:n.createElement(An,null)},{path:e.Ay.SYSTEM.PIPELINES.PIPELINE(":pipelineId"),element:n.createElement(Jt,null)},!m&&{path:e.Ay.SYSTEM.LOGGING,element:n.createElement(Vt,null)},{path:e.Ay.SYSTEM.METRICS(":nodeId"),element:n.createElement(_t,null)},!m&&{path:e.Ay.SYSTEM.NODES.LIST,element:n.createElement(Xt,null)},!m&&{path:e.Ay.SYSTEM.NODES.SHOW(":nodeId"),element:n.createElement(tn,null)},!m&&{path:e.Ay.SYSTEM.DATANODES.LIST,element:n.createElement(St,null)},!m&&{path:e.Ay.SYSTEM.DATANODES.CLUSTER,element:n.createElement(Tt,null)},!m&&{path:e.Ay.SYSTEM.DATANODES.CONFIGURATION,element:n.createElement(ct,null)},!m&&c&&{path:e.Ay.SYSTEM.DATANODES.MIGRATION,element:n.createElement(ht,null)},!m&&{path:e.Ay.SYSTEM.DATANODES.SHOW(":dataNodeId"),element:n.createElement(Pt,null)},!m&&{path:e.Ay.SYSTEM.OUTPUTS,element:n.createElement(hn,null)},!m&&{path:e.Ay.SYSTEM.AUTHENTICATION.BACKENDS.ACTIVE,element:n.createElement(et,null)},!m&&{path:e.Ay.SYSTEM.AUTHENTICATION.BACKENDS.CREATE,element:n.createElement(tt,null)},!m&&{path:e.Ay.SYSTEM.AUTHENTICATION.BACKENDS.OVERVIEW,element:n.createElement(nt,null)},!m&&{path:e.Ay.SYSTEM.AUTHENTICATION.BACKENDS.show(":backendId"),element:n.createElement(D,null)},!m&&{path:e.Ay.SYSTEM.AUTHENTICATION.BACKENDS.edit(":backendId"),element:n.createElement(C,null)},!m&&{path:e.Ay.SYSTEM.AUTHENTICATION.BACKENDS.createBackend(":name"),element:n.createElement(g,null)},!m&&{path:e.Ay.SYSTEM.AUTHENTICATION.AUTHENTICATORS.SHOW,element:n.createElement(lt,null)},!m&&{path:e.Ay.SYSTEM.AUTHENTICATION.AUTHENTICATORS.EDIT,element:n.createElement(ot,null)},{path:e.Ay.SYSTEM.USERS.OVERVIEW,element:n.createElement(Rn,null)},{path:e.Ay.SYSTEM.USERS.CREATE,element:n.createElement(vn,null)},{path:e.Ay.SYSTEM.USERS.show(":userId"),element:n.createElement(On,null)},{path:e.Ay.SYSTEM.USERS.edit(":userId"),element:n.createElement(Nn,null)},{path:e.Ay.SYSTEM.USERS.TOKENS.edit(":userId"),element:n.createElement(fn,null)},{path:e.Ay.SYSTEM.AUTHZROLES.OVERVIEW,element:n.createElement(Zt,null)},{path:e.Ay.SYSTEM.AUTHZROLES.show(":roleId"),element:n.createElement(zt,null)},{path:e.Ay.SYSTEM.AUTHZROLES.edit(":roleId"),element:n.createElement(jt,null)},{path:e.Ay.SYSTEM.OVERVIEW,element:n.createElement(In,null)},{path:e.Ay.SYSTEM.PROCESSBUFFERDUMP(":nodeId"),element:n.createElement(Cn,null)},{path:e.Ay.SYSTEM.THREADDUMP(":nodeId"),element:n.createElement(gn,null)},{path:e.Ay.SYSTEM.SYSTEMLOGS(":nodeId"),element:n.createElement(yn,null)},{path:e.Ay.SYSTEM.ENTERPRISE,element:n.createElement(it,null)},{path:e.Ay.SYSTEM.SIDECARS.OVERVIEW,element:n.createElement(an,null)},{path:e.Ay.SYSTEM.SIDECARS.STATUS(":sidecarId"),element:n.createElement(dn,null)},{path:e.Ay.SYSTEM.SIDECARS.ADMINISTRATION,element:n.createElement(nn,null)},{path:e.Ay.SYSTEM.SIDECARS.CONFIGURATION,element:n.createElement(en,null)},{path:e.Ay.SYSTEM.SIDECARS.FAILURE_TRACKING,element:n.createElement(mn,null)},{path:e.Ay.SYSTEM.SIDECARS.NEW_CONFIGURATION,element:n.createElement(En,null)},{path:e.Ay.SYSTEM.SIDECARS.EDIT_CONFIGURATION(":configurationId"),element:n.createElement(on,null)},{path:e.Ay.SYSTEM.SIDECARS.NEW_COLLECTOR,element:n.createElement(sn,null)},{path:e.Ay.SYSTEM.SIDECARS.EDIT_COLLECTOR(":collectorId"),element:n.createElement(ln,null)},{path:e.Ay.KEYBOARD_SHORTCUTS,element:n.createElement(Ht,null)},{path:e.Ay.SYSTEM.INDICES.FIELD_TYPE_PROFILES.OVERVIEW,element:n.createElement(Gt,null)},{path:e.Ay.SYSTEM.INDICES.FIELD_TYPE_PROFILES.edit(":profileId"),element:n.createElement(Bt,null)},{path:e.Ay.SYSTEM.INDICES.FIELD_TYPE_PROFILES.CREATE,element:n.createElement(Ft,null)},...A,{path:"*",element:n.createElement(F,{displayPageLayout:!1})}].filter(d=>!!d)},{path:e.Ay.NOTFOUND,element:n.createElement(F,null)}]}]);return n.createElement(xn,null,n.createElement(y.pg,{router:h}))};var Bn=t("hGbrjJvL"),Gn=t("Ds5vWZ1u"),u=t("q2j1bVbz"),Wn=t("lN93Sbbu");const X=({children:s})=>{const o=(0,u.A)(),E=o==null?void 0:o.preferences;return E?n.createElement(Wn.A.Provider,{value:E},s):s};X.propTypes={children:T().node.isRequired};const Kn=X;var Hn=t("/yh+QgO6"),Vn=t.n(Hn),f=t("8fnsnG21"),un=t("vMorKP/N"),Xn=t("J1ga+jW6"),Jn=t("dsvqAVKU"),Qn=t("fGU5yqDp");const J=({children:s})=>{const o=(0,f.P)(Xn.y,a=>Vn()(a,"currentUser")),E=o?un.A.fromJSON(o):void 0;return E?n.createElement(Qn.A.Provider,{value:E},s):n.createElement(Jn.A,null)};J.propTypes={children:T().node.isRequired};const zn=J;var jn=t("nrvTDoPl"),U=t("IZYxBTgT");const Zn=(s,o)=>{var E,a;return o||((a=(E=s!=null?s:(0,U.C7)())!=null?E:P.A.rootTimeZone())!=null?a:"UTC")},Q=({children:s,tz:o})=>{const E=(0,n.useCallback)(m=>(0,U.$4)(m,void 0,o),[o]),a=(0,n.useCallback)((m,S="default")=>E(m).format(U.wT[S]),[E]),A=(0,n.useMemo)(()=>({toUserTimezone:E,formatTime:a,userTimezone:o}),[E,a,o]);return n.createElement(jn.A.Provider,{value:A},s)},$n=({children:s})=>{const o=(0,u.A)(),E=(0,n.useMemo)(()=>Zn(o==null?void 0:o.timezone),[o==null?void 0:o.timezone]);return n.createElement(Q,{tz:E},s)},z=({children:s,tz:o})=>o?n.createElement(Q,{tz:o},s):n.createElement($n,null,s);z.defaultProps={tz:void 0};const pn=z,j=({children:s})=>n.createElement(zn,null,n.createElement(pn,null,n.createElement(Kn,null,n.createElement(Bn.A,{userIsLoggedIn:!0},n.createElement(Gn.A,null),s))));j.propTypes={children:T().any.isRequired};const wn=j;var Z=t("Cd4wX32x"),kn=t("gvNRgdyu");const qn=({children:s,streams:o})=>((0,n.useEffect)(()=>{Z.t.refresh()},[]),n.createElement(kn.A.Provider,{value:o},s)),_n=(0,f.A)(qn,{streams:Z.h},({streams:{streams:s}={streams:void 0}})=>({streams:s}));var L=t("DUKaTDO2"),te=t("wXrUUKFq"),ne=t.n(te);const $={defaultOptions:{queries:{refetchOnWindowFocus:!1,networkMode:"always"}}},p=({children:s,options:o})=>{const E=o?ne()({},$,o):$,a=(0,n.useMemo)(()=>new L.QueryClient(E),[E]);return n.createElement(L.QueryClientProvider,{client:a},s)};p.defaultProps={options:void 0};const ee=p;var le=t("2dBXfbRP"),oe=t("J6y4/h8P"),se=t("Crt2wUQ/"),Ee=t("2aaiYHqX"),me=t("IOI9nV80"),ae=t("Vmfu2XtV");const w=({show:s,onConfirm:o})=>n.createElement(me.TM,{show:s,onConfirm:o,hideCancelButton:!1,onCancel:o,title:"Help us improve Graylog",btnConfirmText:"Ok"},n.createElement(ae.A,{showProfile:!0}));w.propTypes={show:T().bool.isRequired,onConfirm:T().func.isRequired};const de=w;var Ae=t("xAuw/bbM");const Se="telemetry.cluster.info",Pe=()=>(0,L.useQuery)([Se],()=>Ae.YT.get(),{retry:0,keepPreviousData:!0,notifyOnChangeProps:["data","error"]}),Y=s=>{const{cluster:{cluster_id:o,cluster_creation_date:E,nodes_count:a,traffic_last_month:A,users_count:m,license_count:S,node_leader_app_version:c,installation_source:h},license:d,current_user:b}=s;return{cluster_id:o,cluster_creation_date:E,installation_source:h,nodes_count:a,traffic_last_month:A,users_count:m,license_count:S,node_leader_app_version:c,...d,...b}},Te=({children:s})=>{const o=(0,le.sf)(),E=(0,oe.useTheme)(),a=(0,n.useCallback)(()=>(o==null?void 0:o.__loaded)===!0,[o]),{data:A,isSuccess:m,refetch:S}=Pe(),[c,h]=(0,n.useState)(!1),[d,b]=(0,n.useState)(void 0);(0,n.useEffect)(()=>{const q=(0,B.i)(window.location.pathname),x=()=>{var R;if(m&&A&&((R=A.user_telemetry_settings)!=null&&R.telemetry_enabled)){const{cluster:{cluster_id:Me,...Ue},current_user:{user:Le},license:Ye,plugin:be,search_cluster:xe,data_nodes:re,user_telemetry_settings:{telemetry_permission_asked:Fe}}=A;b(Y(A)),o.group("cluster",Me,{app_pathname:q,app_theme:E.mode,...Ue,...Ye,...be,...xe,...re,...Y(A)}),o.identify(Le,{...Y(A)}),h(!Fe)}};a()&&x()},[o,m,A,E.mode,a]);const Re=(0,n.useMemo)(()=>({sendTelemetry:(x,R)=>{if(a()&&d)try{o.capture(x,{...R,...d,app_theme:E.mode})}catch{console.warn("Could not capture telemetry event.")}}}),[d,a,o,E.mode]),De=()=>{Ee.g.update({telemetry_permission_asked:!0,telemetry_enabled:!0}).then(()=>{S()}),h(!1)};return n.createElement(se.A.Provider,{value:Re},s,c&&n.createElement(de,{show:c,onConfirm:()=>De()}))};var ce=t("+KM7MH1U"),he=t.n(ce),Ie=t("+44s4X7G"),ye=t("Vg8s2y9S");const ge=n.memo(({children:s,value:o})=>n.createElement(Ie.A.Provider,{value:o},s),he()),Ce=({children:s})=>{const o=(0,f.P)(ye.j,({nodes:E})=>Object.fromEntries(Object.entries(E!=null?E:{}).map(([a,{short_node_id:A,hostname:m}])=>[a,{id:a,short_node_id:A,hostname:m}])));return n.createElement(ge,{value:o},s)};var ve=t("F5HruJCi"),k=t("yEuO7gC5");const ie=s=>{var o,E;return Object.fromEntries((E=(o=s==null?void 0:s.inputs)==null?void 0:o.map(a=>[a.id,a]))!=null?E:[])},Oe=()=>((0,n.useEffect)(()=>{k.j.list()},[]),(0,f.P)(k.C,ie)),Ne=({children:s})=>{const o=Oe();return n.createElement(ve.A.Provider,{value:o},s)},fe=()=>n.createElement(ee,null,n.createElement(wn,null,n.createElement(Te,null,n.createElement(_n,null,n.createElement(Ce,null,n.createElement(Ne,null,n.createElement(Fn,null)))))))}}]);})();

//# sourceMappingURL=LoggedInPage.b6114c7f4e575fd21193.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy