<?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: Multicharts on dashboard in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Multicharts-on-dashboard/m-p/124130#M33552</link>
    <description>&lt;P&gt;Hello, sorry for the lack of details.&lt;BR /&gt;
I meant to say that I need an individual chart for every host. And for each host, the information is extracted by a python script which I timechart it.&lt;BR /&gt;
So, I want a dashboard of 50 individual charts.. each one for different host.&lt;/P&gt;

&lt;P&gt;but I only have a list of hosts and a python script. For example,&lt;/P&gt;

&lt;P&gt;| lp_py disk HOSTNAME | timechart used_mb  &lt;/P&gt;

&lt;P&gt;would give me a single chart for a host.&lt;/P&gt;

&lt;P&gt;But If I were to repeat this for every host on the list I have, I can't think of any other methods than to hardcode.&lt;/P&gt;

&lt;P&gt;Do you have any idea?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 06:42:06 GMT</pubDate>
    <dc:creator>minkyuk</dc:creator>
    <dc:date>2020-09-29T06:42:06Z</dc:date>
    <item>
      <title>Multicharts on dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multicharts-on-dashboard/m-p/124128#M33550</link>
      <description>&lt;P&gt;Hello-&lt;/P&gt;

&lt;P&gt;Right now I'm trying to figure out how I could put multicharts on dashboard if I have two objects given:&lt;BR /&gt;
A list of host (1 column), and a script that takes in the name of one host and make a chart out of it.&lt;/P&gt;

&lt;P&gt;If I were to loop through the process of putting every host in a list through the script and chart it out and put them on dashboard,&lt;BR /&gt;
How could I accomplish this in a wiser way than to hardcode it? (50+ hosts in a list)&lt;/P&gt;

&lt;P&gt;Thank you for your time,&lt;BR /&gt;
Jack&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 14:46:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multicharts-on-dashboard/m-p/124128#M33550</guid>
      <dc:creator>minkyuk</dc:creator>
      <dc:date>2015-07-15T14:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Multicharts on dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multicharts-on-dashboard/m-p/124129#M33551</link>
      <description>&lt;P&gt;I'm not seeing enough details to make a solid recommendation on what your trying to do, but in general you can chart by some value such as this which will place multiple lines on the chart;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;search terms&amp;gt; | chart count by value
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Your "value" in this case sounds like it is your hosts, but I don't see what metric you are trying to display per host. There are many functions you could put in there, for instance "avg(cpu)" or "max(time_taken)". I just don't see what you are measuring.&lt;/P&gt;

&lt;P&gt;Ref: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.4/SearchReference/Chart"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.4/SearchReference/Chart&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 15:36:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multicharts-on-dashboard/m-p/124129#M33551</guid>
      <dc:creator>jeremiahc4</dc:creator>
      <dc:date>2015-07-15T15:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multicharts on dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multicharts-on-dashboard/m-p/124130#M33552</link>
      <description>&lt;P&gt;Hello, sorry for the lack of details.&lt;BR /&gt;
I meant to say that I need an individual chart for every host. And for each host, the information is extracted by a python script which I timechart it.&lt;BR /&gt;
So, I want a dashboard of 50 individual charts.. each one for different host.&lt;/P&gt;

&lt;P&gt;but I only have a list of hosts and a python script. For example,&lt;/P&gt;

&lt;P&gt;| lp_py disk HOSTNAME | timechart used_mb  &lt;/P&gt;

&lt;P&gt;would give me a single chart for a host.&lt;/P&gt;

&lt;P&gt;But If I were to repeat this for every host on the list I have, I can't think of any other methods than to hardcode.&lt;/P&gt;

&lt;P&gt;Do you have any idea?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:42:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multicharts-on-dashboard/m-p/124130#M33552</guid>
      <dc:creator>minkyuk</dc:creator>
      <dc:date>2020-09-29T06:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Multicharts on dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multicharts-on-dashboard/m-p/124131#M33553</link>
      <description>&lt;P&gt;This should be achievable in JS/HTML dashboards. Basically, run your Python script in an invisible SearchManager, listen to its &lt;CODE&gt;search:done&lt;/CODE&gt; event, read results, loop over results creating SearchManager objects and their associated charts using your hosts.&lt;/P&gt;

&lt;P&gt;This might not be terribly efficient, launching 50 searches for 50 hosts. It'd be better to run one search with a list of those 50 hosts and then pick the results apart for display - depends on too many variables whether this is feasible or not.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 18:48:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multicharts-on-dashboard/m-p/124131#M33553</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-07-15T18:48:45Z</dc:date>
    </item>
  </channel>
</rss>

