web-interface.assets.07ba022f-7195.341b4e12ed8b1ee76189.js Maven / Gradle / Ivy
"use strict";(()=>{(self.webpackChunkgraylog_web_interface=self.webpackChunkgraylog_web_interface||[]).push([["07ba022f-7195"],{WSzoNBGn:(M,n,t)=>{t.r(n),t.d(n,{default:()=>u});var o=t("Z7aTuO5B"),E=t("uZqmR+ju"),e=t("/GOzvPf6"),_=t("d4kzUuQm"),C=t("kHvj/lAD"),P=t("7VnWevY8"),m=t("tBcsAR17"),O=t("E+CaPsQD"),D=t("6dLKCZdN"),d=t("/7OuCFNo");const u=()=>{const s=(0,d.Z)(),{collectorId:a}=(0,D.Z)(),[c,i]=(0,o.useState)(),r=(0,o.useCallback)(()=>{C.v.getCollector(a).then(l=>i(l),l=>{l.status===404&&s.push(_.ZP.SYSTEM.SIDECARS.CONFIGURATION)})},[a,s]);return(0,o.useEffect)(()=>{r()},[r]),c?o.createElement(e.$4,{title:"Log Collector"},o.createElement(m.Z,null),o.createElement(e.mr,{title:"Log Collector",documentationLink:{title:"Sidecar documentation",path:O.Z.PAGES.COLLECTOR_SIDECAR}},o.createElement("span",null,"Some words about log collectors.")),o.createElement(E.Row,{className:"content"},o.createElement(E.Col,{md:6},o.createElement(P.Z,{action:"edit",collector:c})))):o.createElement(e.$j,null)}}}]);})();
//# sourceMappingURL=07ba022f-7195.341b4e12ed8b1ee76189.js.map
© 2015 - 2024 Weber Informatics LLC | Privacy Policy