You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
42 KiB
1 line
42 KiB
(self.webpackJsonp=self.webpackJsonp||[]).push([[44],{0:function(t,n){},1:function(t,n){},2:function(t,n){},3:function(t,n){},Dg3K:function(t,n,e){"use strict";var o=e("284h"),i=e("TqRt");Object.defineProperty(n,"__esModule",{value:!0}),n.themes=n.default=void 0;var s=i(e("J4zp")),r=i(e("VkAN")),p=o(e("ERkP")),a=i(e("aWzz")),l=i(e("2srY")),u=i(e("j/s1")),c=i(e("qiA9"));function d(){var t=(0,r.default)(["\n padding: 12px 24px;\n overflow: auto;\n height: 100%;\n"]);return d=function(){return t},t}function y(){var t=(0,r.default)(["\n background-color: ",";\n overflow: hidden;\n height: ","px;\n color: #9cdcfe;\n"]);return y=function(){return t},t}var v=(0,e("JRMG").createThemeRegistry)("@splunk/dashboard-core","Code"),f=u.default.div(y(),v.themeVariable("backgroundColor"),(function(t){return t.height?t.height:200})),z=u.default.div(d()),h=function(t){var n=t.height,e=t.options,o=e.content,i=e.language,r=(0,p.useRef)(null),a=(0,p.useState)(!1),u=(0,s.default)(a,2),d=u[0],y=u[1],v=(0,p.useCallback)((function(){if(r.current&&(0,l.default)(document,"createRange")&&(0,l.default)(window,"getSelection"))if(d){window.getSelection().removeAllRanges(),y(!1)}else{var t=document.createRange();t.selectNodeContents(r.current);var n=window.getSelection();n.removeAllRanges(),n.addRange(t),y(!0)}}),[d]),h=(0,p.useCallback)((function(){r.current&&(0,l.default)(document,"createRange")&&(0,l.default)(window,"getSelection")&&(d&&(window.getSelection().removeAllRanges(),y(!1)))}),[d]),m=(0,p.useCallback)((function(t){r.current=t}),[]);return p.default.createElement(f,{height:n},p.default.createElement(z,null,p.default.createElement(c.default,{value:o,language:i,onDoubleClick:v,onClick:h,elementRef:m})))};h.propTypes={options:a.default.shape({content:a.default.string,language:a.default.oneOf(["bash","clike","css","html","json","javascript","js","jsx","typescript","ts","tsx","markup","mathml","svg","xml"])}),height:a.default.number.isRequired},h.defaultProps={options:{content:"",language:"json"}},h.showTitleAndDescription=!0,v.addDefaultTheme("enterprise",{backgroundColor:"#121316"}),v.addTheme("enterpriseDark",{backgroundColor:"#121316"}),v.addTheme("scp",{backgroundColor:"#121316"});var m=h;n.default=m;var b=v.toThemes();n.themes=b},MROq:function(t,n,e){var o={"./af":"8GSH","./af.js":"8GSH","./ar":"NcOb","./ar-dz":"1ors","./ar-dz.js":"1ors","./ar-kw":"Sc1Y","./ar-kw.js":"Sc1Y","./ar-ly":"GzvP","./ar-ly.js":"GzvP","./ar-ma":"hH25","./ar-ma.js":"hH25","./ar-sa":"u2jB","./ar-sa.js":"u2jB","./ar-tn":"5Mza","./ar-tn.js":"5Mza","./ar.js":"NcOb","./az":"ZVVJ","./az.js":"ZVVJ","./be":"kQaN","./be.js":"kQaN","./bg":"+n5x","./bg.js":"+n5x","./bm":"TTiN","./bm.js":"TTiN","./bn":"aIF2","./bn.js":"aIF2","./bo":"QWb5","./bo.js":"QWb5","./br":"iQoZ","./br.js":"iQoZ","./bs":"EL7g","./bs.js":"EL7g","./ca":"vd/2","./ca.js":"vd/2","./cs":"K+3W","./cs.js":"K+3W","./cv":"Jt3X","./cv.js":"Jt3X","./cy":"sWi3","./cy.js":"sWi3","./da":"YcFX","./da.js":"YcFX","./de":"BKZ+","./de-at":"Oq9h","./de-at.js":"Oq9h","./de-ch":"hHY4","./de-ch.js":"hHY4","./de.js":"BKZ+","./dv":"w8Ej","./dv.js":"w8Ej","./el":"tSbB","./el.js":"tSbB","./en-SG":"cGzb","./en-SG.js":"cGzb","./en-au":"HgyJ","./en-au.js":"HgyJ","./en-ca":"ZyTy","./en-ca.js":"ZyTy","./en-gb":"exaB","./en-gb.js":"exaB","./en-ie":"yKzn","./en-ie.js":"yKzn","./en-il":"TB59","./en-il.js":"TB59","./en-nz":"iDxo","./en-nz.js":"iDxo","./eo":"4bvN","./eo.js":"4bvN","./es":"GNPT","./es-do":"R7mU","./es-do.js":"R7mU","./es-us":"Nstw","./es-us.js":"Nstw","./es.js":"GNPT","./et":"ZOjb","./et.js":"ZOjb","./eu":"kFC9","./eu.js":"kFC9","./fa":"8Cju","./fa.js":"8Cju","./fi":"vcN1","./fi.js":"vcN1","./fo":"8Ygf","./fo.js":"8Ygf","./fr":"Y8Ij","./fr-ca":"t+Zl","./fr-ca.js":"t+Zl","./fr-ch":"SPXN","./fr-ch.js":"SPXN","./fr.js":"Y8Ij","./fy":"T3MF","./fy.js":"T3MF","./ga":"NowM","./ga.js":"NowM","./gd":"GJYX","./gd.js":"GJYX","./gl":"MdC8","./gl.js":"MdC8","./gom-latn":"5j0y","./gom-latn.js":"5j0y","./gu":"fY0S","./gu.js":"fY0S","./he":"ACAV","./he.js":"ACAV","./hi":"3WqV","./hi.js":"3WqV","./hr":"OnNk","./hr.js":"OnNk","./hu":"EQmw","./hu.js":"EQmw","./hy-am":"MNf7","./hy-am.js":"MNf7","./id":"0yow","./id.js":"0yow","./is":"TmOJ","./is.js":"TmOJ","./it":"xD/0","./it-ch":"foQf","./it-ch.js":"foQf","./it.js":"xD/0","./ja":"jOnb","./ja.js":"jOnb","./jv":"lOtj","./jv.js":"lOtj","./ka":"BAN/","./ka.js":"BAN/","./kk":"iNiw","./kk.js":"iNiw","./km":"TUxt","./km.js":"TUxt","./kn":"hQzt","./kn.js":"hQzt","./ko":"ZNZT","./ko.js":"ZNZT","./ku":"S0Tg","./ku.js":"S0Tg","./ky":"JO+T","./ky.js":"JO+T","./lb":"vn/h","./lb.js":"vn/h","./lo":"gnIm","./lo.js":"gnIm","./lt":"6PD3","./lt.js":"6PD3","./lv":"YKe2","./lv.js":"YKe2","./me":"d3TR","./me.js":"d3TR","./mi":"hTlv","./mi.js":"hTlv","./mk":"ffVN","./mk.js":"ffVN","./ml":"ejL1","./ml.js":"ejL1","./mn":"RIsM","./mn.js":"RIsM","./mr":"CPJk","./mr.js":"CPJk","./ms":"d5Hy","./ms-my":"t4T9","./ms-my.js":"t4T9","./ms.js":"d5Hy","./mt":"1KVU","./mt.js":"1KVU","./my":"LsNb","./my.js":"LsNb","./nb":"h+U8","./nb.js":"h+U8","./ne":"2JSI","./ne.js":"2JSI","./nl":"jsZ8","./nl-be":"+h6j","./nl-be.js":"+h6j","./nl.js":"jsZ8","./nn":"mh29","./nn.js":"mh29","./pa-in":"O6bP","./pa-in.js":"O6bP","./pl":"8Bez","./pl.js":"8Bez","./pt":"DDip","./pt-br":"uHm5","./pt-br.js":"uHm5","./pt.js":"DDip","./ro":"baBi","./ro.js":"baBi","./ru":"ecsu","./ru.js":"ecsu","./sd":"e9KM","./sd.js":"e9KM","./se":"CZRU","./se.js":"CZRU","./si":"TO58","./si.js":"TO58","./sk":"K+Lk","./sk.js":"K+Lk","./sl":"QK6v","./sl.js":"QK6v","./sq":"v3Qg","./sq.js":"v3Qg","./sr":"Ndyf","./sr-cyrl":"PGvg","./sr-cyrl.js":"PGvg","./sr.js":"Ndyf","./ss":"2B8G","./ss.js":"2B8G","./sv":"WF5B","./sv.js":"WF5B","./sw":"4VvY","./sw.js":"4VvY","./ta":"dw3T","./ta.js":"dw3T","./te":"4MAb","./te.js":"4MAb","./tet":"/hi0","./tet.js":"/hi0","./tg":"PoVJ","./tg.js":"PoVJ","./th":"OY2w","./th.js":"OY2w","./tl-ph":"UC+K","./tl-ph.js":"UC+K","./tlh":"cWLW","./tlh.js":"cWLW","./tr":"EqYs","./tr.js":"EqYs","./tzl":"fN8o","./tzl.js":"fN8o","./tzm":"6cYq","./tzm-latn":"pdAN","./tzm-latn.js":"pdAN","./tzm.js":"6cYq","./ug-cn":"J+SV","./ug-cn.js":"J+SV","./uk":"6Olw","./uk.js":"6Olw","./ur":"QNGR","./ur.js":"QNGR","./uz":"hLzJ","./uz-latn":"KqOT","./uz-latn.js":"KqOT","./uz.js":"hLzJ","./vi":"EnIJ","./vi.js":"EnIJ","./x-pseudo":"W7dU","./x-pseudo.js":"W7dU","./yo":"QDhB","./yo.js":"QDhB","./zh-cn":"bjMe","./zh-cn.js":"bjMe","./zh-hk":"JFCg","./zh-hk.js":"JFCg","./zh-tw":"xBDH","./zh-tw.js":"xBDH"};function i(t){var n=s(t);return e(n)}function s(t){if(!e.o(o,t)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return o[t]}i.keys=function(){return Object.keys(o)},i.resolve=s,t.exports=i,i.id="MROq"},NOIq:function(t,n,e){"use strict";var o=e("TqRt"),i=o(e("ERkP")),s=o(e("t/rw")),r=e("pw/X"),p=o(e("daPO"));(0,s.default)(i.default.createElement(r.ExampleCore,{definition:p.default}),{pageTitle:"Text",hideFooter:!0,layout:"fixed"})},SKaQ:function(t,n,e){"use strict";var o=e("TqRt");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=o(e("lSNA")),s=o(e("QILm")),r=o(e("c2re")),p=o(e("+txG")),a=o(e("8yXb")),l=o(e("Su4Q"));function u(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,o)}return e}function c(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?u(Object(e),!0).forEach((function(n){(0,i.default)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):u(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var d=p.default.layouts,y=(d.rowcolumn,(0,s.default)(d,["rowcolumn"])),v=c(c({},(0,r.default)(p.default)),{},{layouts:y,visualizations:c(c({},a.default.visualizations),{},{"viz.error":l.default})});n.default=v},Su4Q:function(t,n,e){"use strict";var o=e("TqRt");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=o(e("VkAN")),s=o(e("ERkP")),r=o(e("j/s1")),p=o(e("TDR6")),a=o(e("aWzz")),l=e("r0yy");function u(){var t=(0,i.default)(["\n color: #dc4e41;\n"]);return u=function(){return t},t}function c(){var t=(0,i.default)(["\n display: -ms-flexbox;\n display: -webkit-flex;\n display: flex;\n -ms-flex-direction: column;\n -webkit-flex-direction: column;\n flex-direction: column;\n text-align: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n"]);return c=function(){return t},t}function d(){var t=(0,i.default)(["\n margin: 0 5px;\n"]);return d=function(){return t},t}var y=r.default.span(d()),v=r.default.div(c()),f=(0,r.default)(p.default)(u()),z=function(t){return s.default.createElement("div",{style:{width:t.width,height:t.height}},s.default.createElement(v,null,s.default.createElement("div",{style:{padding:10}},s.default.createElement(f,{size:1.5}),s.default.createElement(y,null,(0,l._)("Oops! The dashboard that you tried to convert uses components that are not yet supported in Dashboard Studio. We apologize for any inconvenience.")))))};z.propTypes={height:a.default.number,width:a.default.number};var h=z;n.default=h},daPO:function(t){t.exports=JSON.parse('{"inputs":{"input_2":{"type":"input.text","options":{"defaultValue":"#9964F1","token":"hex"},"title":"Input hex color:"},"input_1":{"type":"input.number","options":{"step":1,"max":10,"defaultValue":5,"token":"count","min":0},"title":"Input count:"}},"layout":{"globalInputs":["input_1","input_2"],"type":"absolute","options":{"width":1500,"showTitleAndDescription":false,"display":"auto-scale","backgroundColor":"#111215","height":1660},"structure":[{"item":"viz_1oEXTiEw","type":"block","position":{"y":210,"x":770,"w":700,"h":1040}},{"item":"viz_Xgrs9smW","type":"block","position":{"y":210,"x":30,"w":710,"h":1040}},{"item":"viz_AC5HOg5v","type":"block","position":{"y":260,"x":790,"w":660,"h":380}},{"item":"viz_aszgf6CD","type":"block","position":{"y":80,"x":24,"w":300,"h":50}},{"item":"viz_oXAXDETA","type":"block","position":{"y":260,"x":50,"w":670,"h":380}},{"item":"viz_mz81M1yZ","type":"block","position":{"y":350,"x":920,"w":390,"h":250}},{"item":"viz_R8trLpwN","type":"block","position":{"y":360,"x":70,"w":630,"h":280}},{"item":"viz_MncaqNG1","type":"block","position":{"y":270,"x":70,"w":360,"h":70}},{"item":"viz_nkQw0AQv","type":"block","position":{"y":220,"x":50,"w":530,"h":80}},{"item":"viz_ARvOjH9G","type":"block","position":{"y":130,"x":30,"w":570,"h":50}},{"item":"viz_fGDFzSpc","type":"block","position":{"y":210,"x":790,"w":530,"h":80}},{"item":"viz_TrOPFEfj","type":"block","position":{"y":270,"x":800,"w":360,"h":70}},{"item":"viz_dHnXmHB5","type":"block","position":{"y":650,"x":50,"w":360,"h":40}},{"item":"viz_RhzC75Mv","type":"block","position":{"y":690,"x":50,"w":670,"h":80}},{"item":"viz_HgNoN1me","type":"block","position":{"y":650,"x":790,"w":360,"h":40}},{"item":"viz_sPTQieRb","type":"block","position":{"y":690,"x":790,"w":660,"h":80}},{"item":"viz_IZHCBLSI","type":"block","position":{"y":770,"x":50,"w":190,"h":40}},{"item":"viz_Ih3XEhfY","type":"block","position":{"y":770,"x":400,"w":220,"h":40}},{"item":"viz_buHbFIEU","type":"block","position":{"y":810,"x":400,"w":320,"h":290}},{"item":"viz_wFC0eX2L","type":"block","position":{"y":810,"x":50,"w":330,"h":290}},{"item":"viz_uQFwcEjL","type":"block","position":{"y":1140,"x":50,"w":670,"h":80}},{"item":"viz_hqrybTs6","type":"block","position":{"y":1100,"x":50,"w":360,"h":40}},{"item":"viz_tmMPxheB","type":"block","position":{"y":770,"x":790,"w":190,"h":40}},{"item":"viz_TCgxou2k","type":"block","position":{"y":770,"x":1130,"w":220,"h":40}},{"item":"viz_03lVNqW9","type":"block","position":{"y":810,"x":790,"w":320,"h":290}},{"item":"viz_PKknq8HS","type":"block","position":{"y":810,"x":1130,"w":320,"h":290}},{"item":"viz_WPXhPEOX","type":"block","position":{"y":1100,"x":790,"w":360,"h":40}},{"item":"viz_rd9HTIss","type":"block","position":{"y":1140,"x":790,"w":660,"h":80}},{"item":"viz_JE5A2HhB","type":"block","position":{"y":0,"x":0,"w":1920,"h":50}},{"item":"viz_HE4Ty2TG","type":"block","position":{"y":10,"x":20,"w":30,"h":30}},{"item":"viz_zyGbbWQ9","type":"block","position":{"y":3,"x":50,"w":60,"h":40}},{"item":"viz_guZa659t","type":"block","position":{"y":3,"x":150,"w":140,"h":40}},{"item":"viz_ZR4Ze5sb","type":"block","position":{"y":10,"x":120,"w":30,"h":30}},{"item":"viz_hOecdple","type":"block","position":{"y":1280,"x":40,"w":1420,"h":350}},{"item":"viz_YD8c5wfQ","type":"block","position":{"y":1280,"x":60,"w":300,"h":50}},{"item":"viz_0XwQCfI0","type":"block","position":{"y":1330,"x":70,"w":1360,"h":280}}]},"description":"Two text input examples shown changing SPL query, titles, coloring. ","title":"Example App Text Inputs","visualizations":{"viz_sPTQieRb":{"type":"viz.code","options":{"content":"index=_internal | top limit=$<input_count_token_name>$ sourcetype | stats avg(count)","fontSize":14,"backgroundColor":"#111215"}},"viz_zyGbbWQ9":{"eventHandlers":[{"type":"drilldown.customUrl","options":{"url":"/app/splunk-dashboard-studio/example-hub-nav-inputs"}}],"type":"viz.text","options":{"content":"Back","fontSize":14}},"viz_MncaqNG1":{"type":"viz.text","options":{"content":"Number of sourcetypes shown based on input count. \\nColor of header bar changes based on input hex.","textColor":"#ACACAD","fontSize":14}},"viz_tmMPxheB":{"type":"viz.text","options":{"content":"Input Source Definition","fontWeight":"bold","textColor":"#ACACAD","fontSize":14}},"viz_Ih3XEhfY":{"type":"viz.text","options":{"content":"Visualization Source Definition","fontWeight":"bold","textColor":"#ACACAD","fontSize":14}},"viz_1oEXTiEw":{"type":"viz.rectangle","options":{"stroke":"transparent","rx":4,"fill":"#1A1C20"}},"viz_HE4Ty2TG":{"eventHandlers":[{"type":"drilldown.customUrl","options":{"url":"/app/splunk-dashboard-studio/example-hub-nav-inputs"}}],"type":"viz.img","options":{"src":"/en-US/static/app/splunk-dashboard-studio/images/examples-hub/Back.png","preserveAspectRatio":true}},"viz_aszgf6CD":{"type":"viz.text","options":{"content":"Number & Text Inputs","fontWeight":"bold","textColor":"#FFFFFF"}},"viz_Xgrs9smW":{"type":"viz.rectangle","options":{"stroke":"transparent","rx":4,"fill":"#1A1C20"}},"viz_mz81M1yZ":{"description":"","encoding":{},"title":"Average Count of Top 5 Sourcetypes","type":"viz.singlevalue","options":{"backgroundColor":"#9964F1"},"dataSources":{"primary":"ds_iRJ9rn8s"}},"viz_ZR4Ze5sb":{"eventHandlers":[{"type":"drilldown.customUrl","options":{"url":"/app/splunk-dashboard-studio/example-hub-nav-visualizations"}}],"type":"viz.img","options":{"src":"/en-US/static/app/splunk-dashboard-studio/images/examples-hub/Home.png","preserveAspectRatio":true}},"viz_guZa659t":{"eventHandlers":[{"type":"drilldown.customUrl","options":{"url":"/app/splunk-dashboard-studio/example-hub-nav-visualizations"}}],"type":"viz.text","options":{"content":"Examples Home","fontSize":14}},"viz_IZHCBLSI":{"type":"viz.text","options":{"content":"Input Source Definition","fontWeight":"bold","textColor":"#ACACAD","fontSize":14}},"viz_oXAXDETA":{"type":"viz.rectangle","options":{"stroke":"transparent","rx":4,"fill":"#111215"}},"viz_YD8c5wfQ":{"type":"viz.text","options":{"content":"Full Source","fontSize":20}},"viz_hOecdple":{"type":"viz.rectangle","options":{"stroke":"transparent","fill":"#0D0D10"}},"viz_dHnXmHB5":{"type":"viz.text","options":{"content":"SPL for Table ","fontWeight":"bold","textColor":"#ACACAD","fontSize":14}},"viz_nkQw0AQv":{"type":"viz.text","options":{"content":"Dynamic Table Based on Number Inputs","fontWeight":"bold","textColor":"#FFFFFF","fontSize":14}},"viz_R8trLpwN":{"description":"","title":"Top $count$ Sourcetypes","type":"viz.table","options":{"rowTextColorOdd":"#ffffff","rowNumbers":true,"headerBackgroundColor":"#9964F1","backgroundColor":"transparent","rowTextColorEven":"#9964F1"},"dataSources":{"primary":"ds_BIdQZ95d"}},"viz_JE5A2HhB":{"type":"viz.rectangle","options":{"stroke":"transparent","fill":"#111215"}},"viz_PKknq8HS":{"type":"viz.code","options":{"content":"\\"viz_mz81M1yZ\\": {\\n\\t\\t\\t\\"type\\": \\"viz.singlevalue\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"backgroundColor\\": $<input_hex_token_name>$\\n\\t\\t\\t},\\n\\t\\t\\t\\"dataSources\\": {\\n\\t\\t\\t\\t\\"primary\\": \\"ds_iRJ9rn8s\\"\\n\\t\\t\\t},\\n\\t\\t\\t\\"title\\": \\"Average Count of Top $<input_count_token_name>$ Sourcetypes\\",\\n\\t\\t\\t\\"description\\": \\"\\",\\n\\t\\t\\t\\"encoding\\": {}\\n\\t\\t}","fontSize":14,"backgroundColor":"#111215"}},"viz_buHbFIEU":{"type":"viz.code","options":{"content":"\\"viz_R8trLpwN\\": {\\n\\t\\t\\t\\"type\\": \\"viz.table\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"rowNumbers\\": true,\\n\\t\\t\\t\\t\\"backgroundColor\\": \\"transparent\\",\\n\\t\\t\\t\\t\\"headerBackgroundColor\\": $<input_hex_token_name>$,\\n\\t\\t\\t\\t\\"rowTextColorOdd\\": \\"#ffffff\\",\\n\\t\\t\\t\\t\\"rowTextColorEven\\": $<input_hex_token_name>$\\n\\t\\t\\t},\\n\\t\\t\\t\\"dataSources\\": {\\n\\t\\t\\t\\t\\"primary\\": \\"ds_BIdQZ95d\\"\\n\\t\\t\\t},\\n\\t\\t\\t\\"title\\": \\"Top $<input_count_token_name>$ Sourcetypes\\",\\n\\t\\t\\t\\"description\\": \\"\\"\\n\\t\\t}","fontSize":14,"backgroundColor":"#111215"}},"viz_03lVNqW9":{"type":"viz.code","options":{"content":"\\"inputs\\": {\\n\\t\\t\\"input_2\\": {\\n\\t\\t\\t\\"type\\": \\"input.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"defaultValue\\": \\"#9964F1\\",\\n\\t\\t\\t\\t\\"token\\": \\"input_hex_token_name\\"\\n\\t\\t\\t},\\n\\t\\t\\t\\"title\\": \\"Input hex color:\\"\\n\\t\\t}\\n\\t}","fontSize":14,"backgroundColor":"#111215"}},"viz_RhzC75Mv":{"type":"viz.code","options":{"content":"index=_internal | top limit=$<input_count_token_name>$ sourcetype | eval percent = round(percent,2)","fontSize":14,"backgroundColor":"#111215"}},"viz_TCgxou2k":{"type":"viz.text","options":{"content":"Visualization Source Definition","fontWeight":"bold","textColor":"#ACACAD","fontSize":14}},"viz_AC5HOg5v":{"type":"viz.rectangle","options":{"stroke":"transparent","rx":4,"fill":"#111215"}},"viz_uQFwcEjL":{"type":"viz.code","options":{"content":"\\"layout\\": {\\n\\t\\t\\"globalInputs\\": [\\n\\t\\t\\t\\"input_1\\"\\n\\t\\t]\\n\\t}","fontSize":14,"backgroundColor":"#111215"}},"viz_rd9HTIss":{"type":"viz.code","options":{"content":"\\"layout\\": {\\n\\t\\t\\"globalInputs\\": [\\n\\t\\t\\t\\"input_2\\"\\n\\t\\t]\\n\\t}","fontSize":14,"backgroundColor":"#111215"}},"viz_TrOPFEfj":{"type":"viz.text","options":{"content":"Average count changes from \\"Input count\\"\\nBackground color changes from \\"Input hex color\\"","textColor":"#ACACAD","fontSize":14}},"viz_wFC0eX2L":{"type":"viz.code","options":{"content":"\\"inputs\\": {\\n\\t\\t\\"input_1\\": {\\n \\t\\t\\t\\"type\\": \\"input.number\\",\\n\\t\\t\\t\\"options\\": {\\n \\"defaultValue\\": 5,\\n \\"token\\": \\"count\\",\\n \\"min\\": 0,\\n \\"max\\": 10,\\n \\"step\\": 1\\n },\\n \\"title\\": \\"Input count:\\"\\n }\\n}","fontSize":14,"backgroundColor":"#111215"}},"viz_0XwQCfI0":{"type":"viz.code","options":{"content":"{\\n\\t\\"visualizations\\": {\\n\\t\\t\\"viz_R8trLpwN\\": {\\n\\t\\t\\t\\"type\\": \\"viz.table\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"rowNumbers\\": true,\\n\\t\\t\\t\\t\\"backgroundColor\\": \\"transparent\\",\\n\\t\\t\\t\\t\\"headerBackgroundColor\\": \\"#9964F1\\",\\n\\t\\t\\t\\t\\"rowTextColorOdd\\": \\"#ffffff\\",\\n\\t\\t\\t\\t\\"rowTextColorEven\\": \\"#9964F1\\"\\n\\t\\t\\t},\\n\\t\\t\\t\\"dataSources\\": {\\n\\t\\t\\t\\t\\"primary\\": \\"ds_BIdQZ95d\\"\\n\\t\\t\\t},\\n\\t\\t\\t\\"title\\": \\"Top $count$ Sourcetypes\\",\\n\\t\\t\\t\\"description\\": \\"\\"\\n\\t\\t},\\n\\t\\t\\"viz_mz81M1yZ\\": {\\n\\t\\t\\t\\"type\\": \\"viz.singlevalue\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"backgroundColor\\": \\"#9964F1\\"\\n\\t\\t\\t},\\n\\t\\t\\t\\"dataSources\\": {\\n\\t\\t\\t\\t\\"primary\\": \\"ds_iRJ9rn8s\\"\\n\\t\\t\\t},\\n\\t\\t\\t\\"title\\": \\"Average Count of Top 5 Sourcetypes\\",\\n\\t\\t\\t\\"description\\": \\"\\",\\n\\t\\t\\t\\"encoding\\": {}\\n\\t\\t},\\n\\t\\t\\"viz_aszgf6CD\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"Number & Text Inputs\\",\\n\\t\\t\\t\\t\\"fontWeight\\": \\"bold\\",\\n\\t\\t\\t\\t\\"textColor\\": \\"#FFFFFF\\"\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_Xgrs9smW\\": {\\n\\t\\t\\t\\"type\\": \\"viz.rectangle\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"fill\\": \\"#1A1C20\\",\\n\\t\\t\\t\\t\\"stroke\\": \\"transparent\\",\\n\\t\\t\\t\\t\\"rx\\": 4\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_1oEXTiEw\\": {\\n\\t\\t\\t\\"type\\": \\"viz.rectangle\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"fill\\": \\"#1A1C20\\",\\n\\t\\t\\t\\t\\"stroke\\": \\"transparent\\",\\n\\t\\t\\t\\t\\"rx\\": 4\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_AC5HOg5v\\": {\\n\\t\\t\\t\\"type\\": \\"viz.rectangle\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"fill\\": \\"#111215\\",\\n\\t\\t\\t\\t\\"stroke\\": \\"transparent\\",\\n\\t\\t\\t\\t\\"rx\\": 4\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_oXAXDETA\\": {\\n\\t\\t\\t\\"type\\": \\"viz.rectangle\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"fill\\": \\"#111215\\",\\n\\t\\t\\t\\t\\"stroke\\": \\"transparent\\",\\n\\t\\t\\t\\t\\"rx\\": 4\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_MncaqNG1\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"Number of sourcetypes shown based on input count. \\\\nColor of header bar changes based on input hex.\\",\\n\\t\\t\\t\\t\\"fontSize\\": 14,\\n\\t\\t\\t\\t\\"textColor\\": \\"#ACACAD\\"\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_nkQw0AQv\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"Dynamic Table Based on Number Inputs\\",\\n\\t\\t\\t\\t\\"textColor\\": \\"#FFFFFF\\",\\n\\t\\t\\t\\t\\"fontSize\\": 14,\\n\\t\\t\\t\\t\\"fontWeight\\": \\"bold\\"\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_ARvOjH9G\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"Text inputs allow users to choose titles, descriptions, and other forms of text entries. \\",\\n\\t\\t\\t\\t\\"fontSize\\": 14,\\n\\t\\t\\t\\t\\"textColor\\": \\"#ACACAD\\"\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_fGDFzSpc\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"Dynamic Single Value Based on Text Inputs\\",\\n\\t\\t\\t\\t\\"textColor\\": \\"#FFFFFF\\",\\n\\t\\t\\t\\t\\"fontSize\\": 14,\\n\\t\\t\\t\\t\\"fontWeight\\": \\"bold\\"\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_TrOPFEfj\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"Average count changes from \\\\\\"Input count\\\\\\"\\\\nBackground color changes from \\\\\\"Input hex color\\\\\\"\\",\\n\\t\\t\\t\\t\\"fontSize\\": 14,\\n\\t\\t\\t\\t\\"textColor\\": \\"#ACACAD\\"\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_dHnXmHB5\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"SPL for Table \\",\\n\\t\\t\\t\\t\\"fontSize\\": 14,\\n\\t\\t\\t\\t\\"textColor\\": \\"#ACACAD\\",\\n\\t\\t\\t\\t\\"fontWeight\\": \\"bold\\"\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_RhzC75Mv\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"index=_internal | top limit=$<input_count_token_name>$ sourcetype | eval percent = round(percent,2)\\",\\n\\t\\t\\t\\t\\"backgroundColor\\": \\"#111215\\",\\n\\t\\t\\t\\t\\"fontSize\\": 14\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_HgNoN1me\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"SPL for Single Value \\",\\n\\t\\t\\t\\t\\"fontSize\\": 14,\\n\\t\\t\\t\\t\\"textColor\\": \\"#ACACAD\\",\\n\\t\\t\\t\\t\\"fontWeight\\": \\"bold\\"\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_sPTQieRb\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"index=_internal | top limit=$<input_count_token_name>$ sourcetype | stats avg(count)\\",\\n\\t\\t\\t\\t\\"backgroundColor\\": \\"#111215\\",\\n\\t\\t\\t\\t\\"fontSize\\": 14\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_IZHCBLSI\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"Input Source Definition\\",\\n\\t\\t\\t\\t\\"fontSize\\": 14,\\n\\t\\t\\t\\t\\"textColor\\": \\"#ACACAD\\",\\n\\t\\t\\t\\t\\"fontWeight\\": \\"bold\\"\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_Ih3XEhfY\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"Visualization Source Definition\\",\\n\\t\\t\\t\\t\\"fontSize\\": 14,\\n\\t\\t\\t\\t\\"textColor\\": \\"#ACACAD\\",\\n\\t\\t\\t\\t\\"fontWeight\\": \\"bold\\"\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_buHbFIEU\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"\\\\\\"viz_R8trLpwN\\\\\\": {\\\\n\\\\t\\\\t\\\\t\\\\\\"type\\\\\\": \\\\\\"viz.table\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"options\\\\\\": {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"rowNumbers\\\\\\": true,\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"backgroundColor\\\\\\": \\\\\\"transparent\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"headerBackgroundColor\\\\\\": $<input_hex_token_name>$,\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"rowTextColorOdd\\\\\\": \\\\\\"#ffffff\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"rowTextColorEven\\\\\\": $<input_hex_token_name>$\\\\n\\\\t\\\\t\\\\t},\\\\n\\\\t\\\\t\\\\t\\\\\\"dataSources\\\\\\": {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"primary\\\\\\": \\\\\\"ds_BIdQZ95d\\\\\\"\\\\n\\\\t\\\\t\\\\t},\\\\n\\\\t\\\\t\\\\t\\\\\\"title\\\\\\": \\\\\\"Top $<input_count_token_name>$ Sourcetypes\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"description\\\\\\": \\\\\\"\\\\\\"\\\\n\\\\t\\\\t}\\",\\n\\t\\t\\t\\t\\"backgroundColor\\": \\"#111215\\",\\n\\t\\t\\t\\t\\"fontSize\\": 14\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_wFC0eX2L\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"\\\\\\"inputs\\\\\\": {\\\\n\\\\t\\\\t\\\\\\"input_1\\\\\\": {\\\\n \\\\t\\\\t\\\\t\\\\\\"type\\\\\\": \\\\\\"input.number\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"options\\\\\\": {\\\\n \\\\\\"defaultValue\\\\\\": 5,\\\\n \\\\\\"token\\\\\\": \\\\\\"count\\\\\\",\\\\n \\\\\\"min\\\\\\": 0,\\\\n \\\\\\"max\\\\\\": 10,\\\\n \\\\\\"step\\\\\\": 1\\\\n },\\\\n \\\\\\"title\\\\\\": \\\\\\"Input count:\\\\\\"\\\\n }\\\\n}\\",\\n\\t\\t\\t\\t\\"backgroundColor\\": \\"#111215\\",\\n\\t\\t\\t\\t\\"fontSize\\": 14\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_uQFwcEjL\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"\\\\\\"layout\\\\\\": {\\\\n\\\\t\\\\t\\\\\\"globalInputs\\\\\\": [\\\\n\\\\t\\\\t\\\\t\\\\\\"input_1\\\\\\"\\\\n\\\\t\\\\t]\\\\n\\\\t}\\",\\n\\t\\t\\t\\t\\"backgroundColor\\": \\"#111215\\",\\n\\t\\t\\t\\t\\"fontSize\\": 14\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_hqrybTs6\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"Layout Source Definition\\",\\n\\t\\t\\t\\t\\"fontSize\\": 14,\\n\\t\\t\\t\\t\\"textColor\\": \\"#ACACAD\\",\\n\\t\\t\\t\\t\\"fontWeight\\": \\"bold\\"\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_tmMPxheB\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"Input Source Definition\\",\\n\\t\\t\\t\\t\\"fontSize\\": 14,\\n\\t\\t\\t\\t\\"textColor\\": \\"#ACACAD\\",\\n\\t\\t\\t\\t\\"fontWeight\\": \\"bold\\"\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_TCgxou2k\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"Visualization Source Definition\\",\\n\\t\\t\\t\\t\\"fontSize\\": 14,\\n\\t\\t\\t\\t\\"textColor\\": \\"#ACACAD\\",\\n\\t\\t\\t\\t\\"fontWeight\\": \\"bold\\"\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_03lVNqW9\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"\\\\\\"inputs\\\\\\": {\\\\n\\\\t\\\\t\\\\\\"input_2\\\\\\": {\\\\n\\\\t\\\\t\\\\t\\\\\\"type\\\\\\": \\\\\\"input.text\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"options\\\\\\": {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"defaultValue\\\\\\": \\\\\\"#9964F1\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"token\\\\\\": \\\\\\"input_hex_token_name\\\\\\"\\\\n\\\\t\\\\t\\\\t},\\\\n\\\\t\\\\t\\\\t\\\\\\"title\\\\\\": \\\\\\"Input hex color:\\\\\\"\\\\n\\\\t\\\\t}\\\\n\\\\t}\\",\\n\\t\\t\\t\\t\\"backgroundColor\\": \\"#111215\\",\\n\\t\\t\\t\\t\\"fontSize\\": 14\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_PKknq8HS\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"\\\\\\"viz_mz81M1yZ\\\\\\": {\\\\n\\\\t\\\\t\\\\t\\\\\\"type\\\\\\": \\\\\\"viz.singlevalue\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"options\\\\\\": {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"backgroundColor\\\\\\": $<input_hex_token_name>$\\\\n\\\\t\\\\t\\\\t},\\\\n\\\\t\\\\t\\\\t\\\\\\"dataSources\\\\\\": {\\\\n\\\\t\\\\t\\\\t\\\\t\\\\\\"primary\\\\\\": \\\\\\"ds_iRJ9rn8s\\\\\\"\\\\n\\\\t\\\\t\\\\t},\\\\n\\\\t\\\\t\\\\t\\\\\\"title\\\\\\": \\\\\\"Average Count of Top $<input_count_token_name>$ Sourcetypes\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"description\\\\\\": \\\\\\"\\\\\\",\\\\n\\\\t\\\\t\\\\t\\\\\\"encoding\\\\\\": {}\\\\n\\\\t\\\\t}\\",\\n\\t\\t\\t\\t\\"backgroundColor\\": \\"#111215\\",\\n\\t\\t\\t\\t\\"fontSize\\": 14\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_WPXhPEOX\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"Layout Source Definition\\",\\n\\t\\t\\t\\t\\"fontSize\\": 14,\\n\\t\\t\\t\\t\\"textColor\\": \\"#ACACAD\\",\\n\\t\\t\\t\\t\\"fontWeight\\": \\"bold\\"\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\t\\"viz_rd9HTIss\\": {\\n\\t\\t\\t\\"type\\": \\"viz.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"content\\": \\"\\\\\\"layout\\\\\\": {\\\\n\\\\t\\\\t\\\\\\"globalInputs\\\\\\": [\\\\n\\\\t\\\\t\\\\t\\\\\\"input_2\\\\\\"\\\\n\\\\t\\\\t]\\\\n\\\\t}\\",\\n\\t\\t\\t\\t\\"backgroundColor\\": \\"#111215\\",\\n\\t\\t\\t\\t\\"fontSize\\": 14\\n\\t\\t\\t}\\n\\t\\t}\\n\\t},\\n\\t\\"dataSources\\": {\\n\\t\\t\\"ds_BIdQZ95d\\": {\\n\\t\\t\\t\\"type\\": \\"ds.search\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"query\\": \\"index=_internal | top limit=$count$ sourcetype | eval percent = round(percent,2)\\"\\n\\t\\t\\t},\\n\\t\\t\\t\\"name\\": \\"Search_1\\"\\n\\t\\t},\\n\\t\\t\\"ds_iRJ9rn8s\\": {\\n\\t\\t\\t\\"type\\": \\"ds.search\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"queryParameters\\": {\\n\\t\\t\\t\\t\\t\\"earliest\\": \\"-24h@h\\",\\n\\t\\t\\t\\t\\t\\"latest\\": \\"now\\"\\n\\t\\t\\t\\t},\\n\\t\\t\\t\\t\\"query\\": \\"index=_internal | top limit=5 sourcetype | stats avg(count)\\"\\n\\t\\t\\t},\\n\\t\\t\\t\\"name\\": \\"Search_2\\"\\n\\t\\t}\\n\\t},\\n\\t\\"inputs\\": {\\n\\t\\t\\"input_1\\": {\\n\\t\\t\\t\\"type\\": \\"input.number\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"defaultValue\\": 5,\\n\\t\\t\\t\\t\\"token\\": \\"count\\",\\n\\t\\t\\t\\t\\"min\\": 0,\\n\\t\\t\\t\\t\\"max\\": 10,\\n\\t\\t\\t\\t\\"step\\": 1\\n\\t\\t\\t},\\n\\t\\t\\t\\"title\\": \\"Input count:\\"\\n\\t\\t},\\n\\t\\t\\"input_2\\": {\\n\\t\\t\\t\\"type\\": \\"input.text\\",\\n\\t\\t\\t\\"options\\": {\\n\\t\\t\\t\\t\\"defaultValue\\": \\"#9964F1\\",\\n\\t\\t\\t\\t\\"token\\": \\"hex\\"\\n\\t\\t\\t},\\n\\t\\t\\t\\"title\\": \\"Input hex color:\\"\\n\\t\\t}\\n\\t},\\n\\t\\"layout\\": {\\n\\t\\t\\"type\\": \\"absolute\\",\\n\\t\\t\\"options\\": {\\n\\t\\t\\t\\"backgroundColor\\": \\"#111215\\",\\n\\t\\t\\t\\"width\\": 1500,\\n\\t\\t\\t\\"height\\": 1230,\\n\\t\\t\\t\\"showTitleAndDescription\\": false,\\n\\t\\t\\t\\"display\\": \\"auto-scale\\"\\n\\t\\t},\\n\\t\\t\\"structure\\": [\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_1oEXTiEw\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 770,\\n\\t\\t\\t\\t\\t\\"y\\": 160,\\n\\t\\t\\t\\t\\t\\"w\\": 700,\\n\\t\\t\\t\\t\\t\\"h\\": 1040\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_Xgrs9smW\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 30,\\n\\t\\t\\t\\t\\t\\"y\\": 160,\\n\\t\\t\\t\\t\\t\\"w\\": 710,\\n\\t\\t\\t\\t\\t\\"h\\": 1040\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_AC5HOg5v\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 790,\\n\\t\\t\\t\\t\\t\\"y\\": 210,\\n\\t\\t\\t\\t\\t\\"w\\": 660,\\n\\t\\t\\t\\t\\t\\"h\\": 380\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_aszgf6CD\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 24,\\n\\t\\t\\t\\t\\t\\"y\\": 30,\\n\\t\\t\\t\\t\\t\\"w\\": 300,\\n\\t\\t\\t\\t\\t\\"h\\": 50\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_oXAXDETA\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 50,\\n\\t\\t\\t\\t\\t\\"y\\": 210,\\n\\t\\t\\t\\t\\t\\"w\\": 670,\\n\\t\\t\\t\\t\\t\\"h\\": 380\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_mz81M1yZ\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 920,\\n\\t\\t\\t\\t\\t\\"y\\": 300,\\n\\t\\t\\t\\t\\t\\"w\\": 390,\\n\\t\\t\\t\\t\\t\\"h\\": 250\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_R8trLpwN\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 70,\\n\\t\\t\\t\\t\\t\\"y\\": 310,\\n\\t\\t\\t\\t\\t\\"w\\": 630,\\n\\t\\t\\t\\t\\t\\"h\\": 280\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_MncaqNG1\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 70,\\n\\t\\t\\t\\t\\t\\"y\\": 220,\\n\\t\\t\\t\\t\\t\\"w\\": 360,\\n\\t\\t\\t\\t\\t\\"h\\": 70\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_nkQw0AQv\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 50,\\n\\t\\t\\t\\t\\t\\"y\\": 170,\\n\\t\\t\\t\\t\\t\\"w\\": 530,\\n\\t\\t\\t\\t\\t\\"h\\": 80\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_ARvOjH9G\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 30,\\n\\t\\t\\t\\t\\t\\"y\\": 80,\\n\\t\\t\\t\\t\\t\\"w\\": 570,\\n\\t\\t\\t\\t\\t\\"h\\": 50\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_fGDFzSpc\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 790,\\n\\t\\t\\t\\t\\t\\"y\\": 160,\\n\\t\\t\\t\\t\\t\\"w\\": 530,\\n\\t\\t\\t\\t\\t\\"h\\": 80\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_TrOPFEfj\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 800,\\n\\t\\t\\t\\t\\t\\"y\\": 220,\\n\\t\\t\\t\\t\\t\\"w\\": 360,\\n\\t\\t\\t\\t\\t\\"h\\": 70\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_dHnXmHB5\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 50,\\n\\t\\t\\t\\t\\t\\"y\\": 600,\\n\\t\\t\\t\\t\\t\\"w\\": 360,\\n\\t\\t\\t\\t\\t\\"h\\": 40\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_RhzC75Mv\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 50,\\n\\t\\t\\t\\t\\t\\"y\\": 640,\\n\\t\\t\\t\\t\\t\\"w\\": 670,\\n\\t\\t\\t\\t\\t\\"h\\": 80\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_HgNoN1me\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 790,\\n\\t\\t\\t\\t\\t\\"y\\": 600,\\n\\t\\t\\t\\t\\t\\"w\\": 360,\\n\\t\\t\\t\\t\\t\\"h\\": 40\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_sPTQieRb\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 790,\\n\\t\\t\\t\\t\\t\\"y\\": 640,\\n\\t\\t\\t\\t\\t\\"w\\": 660,\\n\\t\\t\\t\\t\\t\\"h\\": 80\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_IZHCBLSI\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 50,\\n\\t\\t\\t\\t\\t\\"y\\": 720,\\n\\t\\t\\t\\t\\t\\"w\\": 190,\\n\\t\\t\\t\\t\\t\\"h\\": 40\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_Ih3XEhfY\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 400,\\n\\t\\t\\t\\t\\t\\"y\\": 720,\\n\\t\\t\\t\\t\\t\\"w\\": 220,\\n\\t\\t\\t\\t\\t\\"h\\": 40\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_buHbFIEU\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 400,\\n\\t\\t\\t\\t\\t\\"y\\": 760,\\n\\t\\t\\t\\t\\t\\"w\\": 320,\\n\\t\\t\\t\\t\\t\\"h\\": 290\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_wFC0eX2L\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 50,\\n\\t\\t\\t\\t\\t\\"y\\": 760,\\n\\t\\t\\t\\t\\t\\"w\\": 330,\\n\\t\\t\\t\\t\\t\\"h\\": 290\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_uQFwcEjL\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 50,\\n\\t\\t\\t\\t\\t\\"y\\": 1090,\\n\\t\\t\\t\\t\\t\\"w\\": 670,\\n\\t\\t\\t\\t\\t\\"h\\": 80\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_hqrybTs6\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 50,\\n\\t\\t\\t\\t\\t\\"y\\": 1050,\\n\\t\\t\\t\\t\\t\\"w\\": 360,\\n\\t\\t\\t\\t\\t\\"h\\": 40\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_tmMPxheB\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 790,\\n\\t\\t\\t\\t\\t\\"y\\": 720,\\n\\t\\t\\t\\t\\t\\"w\\": 190,\\n\\t\\t\\t\\t\\t\\"h\\": 40\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_TCgxou2k\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 1130,\\n\\t\\t\\t\\t\\t\\"y\\": 720,\\n\\t\\t\\t\\t\\t\\"w\\": 220,\\n\\t\\t\\t\\t\\t\\"h\\": 40\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_03lVNqW9\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 790,\\n\\t\\t\\t\\t\\t\\"y\\": 760,\\n\\t\\t\\t\\t\\t\\"w\\": 320,\\n\\t\\t\\t\\t\\t\\"h\\": 290\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_PKknq8HS\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 1130,\\n\\t\\t\\t\\t\\t\\"y\\": 760,\\n\\t\\t\\t\\t\\t\\"w\\": 320,\\n\\t\\t\\t\\t\\t\\"h\\": 290\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_WPXhPEOX\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 790,\\n\\t\\t\\t\\t\\t\\"y\\": 1050,\\n\\t\\t\\t\\t\\t\\"w\\": 360,\\n\\t\\t\\t\\t\\t\\"h\\": 40\\n\\t\\t\\t\\t}\\n\\t\\t\\t},\\n\\t\\t\\t{\\n\\t\\t\\t\\t\\"item\\": \\"viz_rd9HTIss\\",\\n\\t\\t\\t\\t\\"type\\": \\"block\\",\\n\\t\\t\\t\\t\\"position\\": {\\n\\t\\t\\t\\t\\t\\"x\\": 790,\\n\\t\\t\\t\\t\\t\\"y\\": 1090,\\n\\t\\t\\t\\t\\t\\"w\\": 660,\\n\\t\\t\\t\\t\\t\\"h\\": 80\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t],\\n\\t\\t\\"globalInputs\\": [\\n\\t\\t\\t\\"input_1\\",\\n\\t\\t\\t\\"input_2\\"\\n\\t\\t]\\n\\t},\\n\\t\\"description\\": \\"Two text input examples shown changing SPL query, titles, coloring. \\",\\n\\t\\"title\\": \\"Example App Text Inputs\\"\\n}"}},"viz_fGDFzSpc":{"type":"viz.text","options":{"content":"Dynamic Single Value Based on Text Inputs","fontWeight":"bold","textColor":"#FFFFFF","fontSize":14}},"viz_HgNoN1me":{"type":"viz.text","options":{"content":"SPL for Single Value ","fontWeight":"bold","textColor":"#ACACAD","fontSize":14}},"viz_hqrybTs6":{"type":"viz.text","options":{"content":"Layout Source Definition","fontWeight":"bold","textColor":"#ACACAD","fontSize":14}},"viz_ARvOjH9G":{"type":"viz.text","options":{"content":"Text inputs allow users to choose titles, descriptions, and other forms of text entries. ","textColor":"#ACACAD","fontSize":14}},"viz_WPXhPEOX":{"type":"viz.text","options":{"content":"Layout Source Definition","fontWeight":"bold","textColor":"#ACACAD","fontSize":14}}},"dataSources":{"ds_iRJ9rn8s":{"type":"ds.search","options":{"query":"index=_internal | top limit=5 sourcetype | stats avg(count)","queryParameters":{"earliest":"-24h@h","latest":"now"}},"name":"Search_2"},"ds_BIdQZ95d":{"type":"ds.search","options":{"query":"index=_internal | top limit=$count$ sourcetype | eval percent = round(percent,2)"},"name":"Search_1"}}}')},"pw/X":function(t,n,e){"use strict";var o=e("284h"),i=e("TqRt");Object.defineProperty(n,"__esModule",{value:!0}),n.ExampleCore=void 0;var s=i(e("lSNA")),r=o(e("ERkP")),p=i(e("aWzz")),a=e("j/s1"),l=e("mwAw"),u=o(e("GjAW")),c=e("+txG"),d=e("8SuZ"),y=i(e("xr3A")),v=i(e("46C8")),f=i(e("hxbz")),z=i(e("+VMz")),h=i(e("8XJx")),m=e("ihxA"),b=o(e("Dg3K")),x=i(e("SKaQ"));function g(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,o)}return e}function _(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?g(Object(e),!0).forEach((function(n){(0,s.default)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):g(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var k=_(_({},x.default),{},{visualizations:_(_({},x.default.visualizations),{},{"viz.code":b.default})}),j=y.default.create();j.addDefaultProvider(new v.default);var w=f.default.create();w.addDefaultProvider(new h.default),w.addProvider(new z.default);var C=new m.SWACollector,S=function(t){var n=t.themeKey,e=t.definition,o=(0,r.useMemo)((function(){return _(_(_(_({},c.themes[n]),u.themes[n]),l.themes[n]),b.themes[n])}),[n]);return r.default.createElement(d.DashboardContextProvider,{geoRegistry:j,iconRegistry:w,metricsCollectors:C},r.default.createElement(a.ThemeProvider,{theme:o},r.default.createElement(u.default,{width:"100%",height:"calc(100vh - 78px)",definition:e,preset:k})))};n.ExampleCore=S,S.propTypes={themeKey:p.default.string,definition:p.default.object.isRequired},S.defaultProps={themeKey:"enterpriseDark"}}},[["NOIq",0,1]]]); |