web-interface.assets.07ba022f-8988.ccbbd6638f85c8ee3057.js Maven / Gradle / Ivy
"use strict";(()=>{(self.webpackChunkgraylog_web_interface=self.webpackChunkgraylog_web_interface||[]).push([["07ba022f-8988"],{H5zpvCML:(D,a,t)=>{t.r(a),t.d(a,{default:()=>m});var s=t("ii0bleBb"),_=t.n(s),o=t("Z7aTuO5B"),n=t("/GOzvPf6"),e=t("d4kzUuQm"),r=t("GMQ8jKGb"),E=t("c9JM82dZ"),c=t("djwd899R"),M=t("tBcsAR17"),g=t("E+CaPsQD"),f=t("/7OuCFNo");const u=({params:l})=>{const[P,A]=(0,o.useState)(null),[C,R]=(0,o.useState)(null),O=(0,f.Z)();return(0,o.useEffect)(()=>{(()=>{const{configurationId:d}=l;c.Z.getConfiguration(d).then(i=>{A(i),c.Z.getConfigurationSidecars(d).then(T=>R(T))},i=>{i.status===404&&O.push(e.ZP.SYSTEM.SIDECARS.CONFIGURATION)})})()},[O,l]),(()=>!P||!C)()?o.createElement(n.$j,null):o.createElement(n.$4,{title:"Collector Configuration"},o.createElement(M.Z,null),o.createElement(n.mr,{title:"Collector Configuration",documentationLink:{title:"Sidecar documentation",path:g.Z.PAGES.COLLECTOR_SIDECAR}},o.createElement("span",null,"Some words about collector configurations.")),o.createElement(r.Z,{configuration:P,configurationSidecars:C}))};u.propTypes={params:_().object.isRequired};const m=(0,E.Z)(u)},c9JM82dZ:(D,a,t)=>{t.d(a,{Z:()=>n});var s=t("Z7aTuO5B"),_=t("yAXMqwrl");const n=e=>r=>{const E=(0,_.useParams)();return s.createElement(e,{...r,params:E})}}}]);})();
//# sourceMappingURL=07ba022f-8988.ccbbd6638f85c8ee3057.js.map
© 2015 - 2024 Weber Informatics LLC | Privacy Policy