chunk-2d0e99de.fb0153a3.js 1.13 KB
 1
 2
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0e99de"],{"8dfb":function(e,r,t){"use strict";t.r(r);var a=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticStyle:{height:"85vh"}},[t("iframe",{attrs:{width:"100%",height:"100%",src:e.src,frameborder:"0"}})])},n=[],c=(t("96cf"),t("1da1")),i=t("bc3a"),s=t.n(i),o={name:"CEPTD",data:function(){return{src:"",params:"/app/kibana#/dashboard/Suricata?_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-15m%2Cto%3Anow))"}},created:function(){this.config()},methods:{config:function(){var e=this;return Object(c["a"])(regeneratorRuntime.mark((function r(){var t,a;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,s.a.get("/config");case 3:t=r.sent,a=t.data,e.src=a.kibana_url+e.params,r.next=11;break;case 8:r.prev=8,r.t0=r["catch"](0),e.$toasted.error("Error fetching Kibana URL!");case 11:case"end":return r.stop()}}),r,null,[[0,8]])})))()}}},u=o,f=t("2877"),d=Object(f["a"])(u,a,n,!1,null,"3a9f78d0",null);r["default"]=d.exports}}]);
//# sourceMappingURL=chunk-2d0e99de.fb0153a3.js.map