<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can i add panel inside a html tag? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-add-panel-inside-a-html-tag/m-p/585558#M47989</link>
    <description>&lt;P&gt;Yes &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243035"&gt;@Jhanzkie&lt;/a&gt;&amp;nbsp;, With JS &amp;amp; Css you can add any Splunk Chart OR Component..&amp;nbsp;&lt;/P&gt;&lt;P&gt;First Design a HTML container and then use JS for populating those container with Splunk Chart Or Components.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Happy Splunking&amp;nbsp;&lt;/P&gt;&lt;P&gt;KV&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Feb 2022 13:08:25 GMT</pubDate>
    <dc:creator>kamlesh_vaghela</dc:creator>
    <dc:date>2022-02-17T13:08:25Z</dc:date>
    <item>
      <title>Is it possible to add panel inside a html tag?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-add-panel-inside-a-html-tag/m-p/584889#M47955</link>
      <description>&lt;P&gt;Hello, sorry to ask this very noob question.&lt;BR /&gt;&lt;BR /&gt;Can i add panel inside a html tag?&lt;BR /&gt;For example.&lt;BR /&gt;I have a table command in html and in that cell i want to add a single panel .&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 06:45:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-add-panel-inside-a-html-tag/m-p/584889#M47955</guid>
      <dc:creator>Jhanzkie</dc:creator>
      <dc:date>2022-02-15T06:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: HTML in Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-add-panel-inside-a-html-tag/m-p/584899#M47956</link>
      <description>&lt;P&gt;Panel is not a valid tag within html syntax, so no this is not possible as you describe it. What are you trying to do? Perhaps there is another way.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 06:11:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-add-panel-inside-a-html-tag/m-p/584899#M47956</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-02-14T06:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can i add panel inside a html tag?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-add-panel-inside-a-html-tag/m-p/585062#M47964</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243035"&gt;@Jhanzkie&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can achieve this with the Javascript Extension. Please try below sample code. I hope sample code will give some idea about the implementations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a.js&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;require([
    'underscore',
    'jquery',
    'splunkjs/mvc',
    'splunkjs/mvc/simplexml/ready!'
], function(_, $, mvc) {

    var SingleView = require("splunkjs/mvc/singleview");
    var TableView = require("splunkjs/mvc/tableview");
    var SearchManager = require("splunkjs/mvc/searchmanager");

    var sampleSearch = new SearchManager({
        id: "sampleSearch",
        earliest_time: "-1d@d",
        latest_time: "",
        preview: true,
        autostart: false,
        cache: false,
        search: 'index=_internal | stats count'
    });
    $(document).ready(function() {
        var mySingleView = new SingleView({
            id: "example-single" + Date.now(),
            managerid: "sampleSearch",
            el: $("#divSingleView")
        }).render();
        var myCustomtable = new TableView({
            id: "modal_example-table" + Date.now(),
            managerid: "sampleSearch",
            pageSize: "10",
            el: $("#divTableView")
        }).render();
        sampleSearch.startSearch();
    })
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;XML.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard script="a.js"&amp;gt;
&amp;lt;label&amp;gt;Single View in HTML Example&amp;lt;/label&amp;gt;
&amp;lt;row&amp;gt;
  &amp;lt;panel&amp;gt;
    &amp;lt;html&amp;gt;
      &amp;lt;div&amp;gt;Hello World&amp;lt;/div&amp;gt;
      &amp;lt;table border="1" style="width:800px" &amp;gt;
        &amp;lt;thead&amp;gt;
          &amp;lt;td&amp;gt;
            Single View
          &amp;lt;/td&amp;gt;
          &amp;lt;td&amp;gt;
            Table View
          &amp;lt;/td&amp;gt;
        &amp;lt;/thead&amp;gt;
        &amp;lt;tr&amp;gt;
          &amp;lt;td&amp;gt;
            &amp;lt;div id="divSingleView"&amp;gt;&amp;lt;/div&amp;gt;
          &amp;lt;/td&amp;gt;
          &amp;lt;td&amp;gt;
            &amp;lt;div id="divTableView"&amp;gt;&amp;lt;/div&amp;gt;
          &amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/html&amp;gt;
  &amp;lt;/panel&amp;gt;
&amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Screen:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-02-15 at 11.38.29 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/17976iA285D959B50813FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2022-02-15 at 11.38.29 AM.png" alt="Screenshot 2022-02-15 at 11.38.29 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt; KV&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 06:08:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-add-panel-inside-a-html-tag/m-p/585062#M47964</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2022-02-15T06:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can i add panel inside a html tag?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-add-panel-inside-a-html-tag/m-p/585526#M47986</link>
      <description>&lt;P&gt;ill try this one, thanks&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 10:53:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-add-panel-inside-a-html-tag/m-p/585526#M47986</guid>
      <dc:creator>Jhanzkie</dc:creator>
      <dc:date>2022-02-17T10:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can i add panel inside a html tag?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-add-panel-inside-a-html-tag/m-p/585529#M47987</link>
      <description>&lt;P&gt;may i also add if i can have a layout like this in my dashboard ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jhanzkie_0-1645095376881.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/18017iD3C2B5ADDABE0EEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jhanzkie_0-1645095376881.png" alt="Jhanzkie_0-1645095376881.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;for column 2,&lt;BR /&gt;3 panels&amp;nbsp; ..&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;just asking if its possible though.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 10:57:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-add-panel-inside-a-html-tag/m-p/585529#M47987</guid>
      <dc:creator>Jhanzkie</dc:creator>
      <dc:date>2022-02-17T10:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can i add panel inside a html tag?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-add-panel-inside-a-html-tag/m-p/585558#M47989</link>
      <description>&lt;P&gt;Yes &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243035"&gt;@Jhanzkie&lt;/a&gt;&amp;nbsp;, With JS &amp;amp; Css you can add any Splunk Chart OR Component..&amp;nbsp;&lt;/P&gt;&lt;P&gt;First Design a HTML container and then use JS for populating those container with Splunk Chart Or Components.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Happy Splunking&amp;nbsp;&lt;/P&gt;&lt;P&gt;KV&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 13:08:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-add-panel-inside-a-html-tag/m-p/585558#M47989</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2022-02-17T13:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can i add panel inside a html tag?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-add-panel-inside-a-html-tag/m-p/585560#M47990</link>
      <description>&lt;P&gt;thank you very much for the help &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 13:11:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-add-panel-inside-a-html-tag/m-p/585560#M47990</guid>
      <dc:creator>Jhanzkie</dc:creator>
      <dc:date>2022-02-17T13:11:14Z</dc:date>
    </item>
  </channel>
</rss>

