"use strict";(self.webpackChunkhopsworks_front=self.webpackChunkhopsworks_front||[]).push([[1476],{62618:function(e,n,t){var r=t(72791),i="Hopsworks";n.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,n=document.querySelector("title");(0,r.useEffect)((function(){n&&(n.innerText=e)}),[e,n])}},81476:function(e,n,t){t.r(n);var r=t(15861),i=t(29439),a=t(87757),o=t.n(a),s=t(72791),c=t(76237),l=t(62618),u=t(59728),f=t(26795),h=t(80184),p=function(){(0,l.Z)(u.Z.monitoring);var e=(0,s.useState)(void 0),n=(0,i.Z)(e,2),t=n[0],a=n[1];return(0,s.useEffect)((function(){var e=function(){var e=(0,r.Z)(o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(new f.Z).request({url:"/elastic/jwt/services",type:f.x.get});case 2:n=e.sent,a(n.data.kibanaUrl);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();void 0===t&&e()}),[t]),(0,h.jsxs)(c.Zb,{title:"Monitoring",children:[(0,h.jsx)(c.kC,{flexDirection:"row",children:(0,h.jsx)(c.Av,{bold:!0,children:"Access to monitoring applications"})}),(0,h.jsxs)(c.kC,{flexDirection:"row",mt:"20px",children:[(0,h.jsx)(c.zx,{intent:"inline",href:"".concat("/hopsworks-api","/grafana"),target:"_blank",external:!0,children:"Grafana \u2197"}),(0,h.jsx)(c.zx,{intent:"inline",href:"".concat("/hopsworks-api","/yarnui"),target:"_blank",external:!0,children:"Yarn Admin \u2197"}),(0,h.jsx)(c.zx,{intent:"inline",href:"".concat("/hopsworks-api","/hdfsui"),target:"_blank",external:!0,children:"HopsFS Admin \u2197"}),(0,h.jsx)(c.zx,{intent:"inline",href:"".concat("").concat(t,"security_tenant=private#/?_g=()&_a=(columns:!(service,host,logdate,logger_name,priority,log_message),index:'.services-*',interval:auto,sort:!(logdate,desc))"),target:"_blank",external:!0,children:"Service Logs \u2197"})]})]})};n.default=(0,s.memo)(p)}}]);
//# sourceMappingURL=1476.5f41e503.chunk.js.map