<?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: Plot search data into a static chart template in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Plot-search-data-into-a-static-chart-template/m-p/305839#M91820</link>
    <description>&lt;P&gt;Hi  CarmineCalo,&lt;BR /&gt;
could you share few additional information?&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Apps are few or many and changing?&lt;/LI&gt;
&lt;LI&gt;why you cannot have in a search all the combinations, could you share your search?&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Sun, 14 Jan 2018 17:46:30 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2018-01-14T17:46:30Z</dc:date>
    <item>
      <title>Plot search data into a static chart template</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plot-search-data-into-a-static-chart-template/m-p/305838#M91819</link>
      <description>&lt;P&gt;Splunkers!&lt;BR /&gt;
Need your help again...&lt;/P&gt;

&lt;P&gt;I need to plot the result of a standard events search into a static chart template, basically all the applications belonging to a specific domain vs Weeks in the observation period, see example below&lt;/P&gt;

&lt;H2&gt;AppID  2016-01  2016-02  2016-03  ...&lt;/H2&gt;

&lt;P&gt;App1&lt;BR /&gt;
App2&lt;/P&gt;

&lt;P&gt;The event search provide me only a subset of the combinations i have finally to plot in a table (all the empty combinations will be set to 1).&lt;/P&gt;

&lt;P&gt;How can i do it?&lt;BR /&gt;
My first idea was to append the the events all the list of AppIDs and timerange I need to plot, but:&lt;BR /&gt;
1- I'm not able to do it (just leverage on the append function?)&lt;BR /&gt;
2- It seems to me not a very clever idea...&lt;/P&gt;

&lt;P&gt;Any help will be really appreciated,&lt;BR /&gt;
tks in advance!&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jan 2018 16:37:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plot-search-data-into-a-static-chart-template/m-p/305838#M91819</guid>
      <dc:creator>CarmineCalo</dc:creator>
      <dc:date>2018-01-14T16:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Plot search data into a static chart template</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plot-search-data-into-a-static-chart-template/m-p/305839#M91820</link>
      <description>&lt;P&gt;Hi  CarmineCalo,&lt;BR /&gt;
could you share few additional information?&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Apps are few or many and changing?&lt;/LI&gt;
&lt;LI&gt;why you cannot have in a search all the combinations, could you share your search?&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jan 2018 17:46:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plot-search-data-into-a-static-chart-template/m-p/305839#M91820</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-01-14T17:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Plot search data into a static chart template</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plot-search-data-into-a-static-chart-template/m-p/305840#M91821</link>
      <description>&lt;P&gt;Ciao Giuseppe, Apps are around 4k.&lt;BR /&gt;
They evolve over the time, but i assume to manage their domain through a lookup (they can be considered static during the search).&lt;/P&gt;

&lt;P&gt;The final plot of the search will look like something like this one (I need to evaluate App unavailability time)&lt;/P&gt;

&lt;P&gt;| stats sum(incident_unavailability) as Unavailability by dateweek_year, AppID&lt;/P&gt;

&lt;P&gt;Currently this search works pretty fine, but it reports only dateweek_year and AppIDs that are part of the events (e.g. only ~2k AppIDs vs 4k total), and in general I'd like to have the full picture also when selecting different time ranges (at least for AppIDs, while dateweek_year should be limited to the time range selected)&lt;BR /&gt;
I want that the final stats would include the full domain of AppIDs and dateweek_year that i need to monitor.&lt;/P&gt;

&lt;P&gt;Tks!&lt;BR /&gt;
Carmine&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:39:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plot-search-data-into-a-static-chart-template/m-p/305840#M91821</guid>
      <dc:creator>CarmineCalo</dc:creator>
      <dc:date>2020-09-29T17:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Plot search data into a static chart template</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plot-search-data-into-a-static-chart-template/m-p/305841#M91822</link>
      <description>&lt;P&gt;Ciao Carmine,&lt;BR /&gt;
If you have a full list of  dateweek_year, AppID, you can build a lookup (e.g. my_lookup.csv) with all these values and then use a search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your_main_search
| stats sum(incident_unavailability) as Unavailability by dateweek_year  AppID
| append [ | inputlookup my_lookup.csv | eval count=0 | fields dateweek_year AppID count ]
| stats sum(incident_unavailability) as Unavailability by dateweek_year  AppID
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In this way &lt;CODE&gt;Unavailability=0&lt;/CODE&gt; means that you haven't events.&lt;BR /&gt;
After you can filter your results to show all the results or only errors, you can also display results in graphic mode (use Splunk 7.x Dashboard Examples App).&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:39:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plot-search-data-into-a-static-chart-template/m-p/305841#M91822</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-29T17:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Plot search data into a static chart template</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plot-search-data-into-a-static-chart-template/m-p/305842#M91823</link>
      <description>&lt;P&gt;Almost correct.&lt;BR /&gt;
One more issue, domain for AppIDs and dateweek_year are in two different files.&lt;BR /&gt;
How do i have to modify the append?&lt;/P&gt;

&lt;P&gt;Last resort will be do create, manually, the permutation b/w AppIDs and dateweek_year and generate a new lookup table.&lt;/P&gt;

&lt;P&gt;Tks in advance!&lt;BR /&gt;
Carmine&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jan 2018 21:18:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plot-search-data-into-a-static-chart-template/m-p/305842#M91823</guid>
      <dc:creator>CarmineCalo</dc:creator>
      <dc:date>2018-01-14T21:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Plot search data into a static chart template</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plot-search-data-into-a-static-chart-template/m-p/305843#M91824</link>
      <description>&lt;P&gt;Hi Carmine,&lt;BR /&gt;
Let me understand: You have AppIDs and timerange in two tables and you want all the possible combination between the., is it correct?&lt;BR /&gt;
The easiest way is to create a scheduled search to create Your lookup and then use the above search.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe &lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 07:33:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plot-search-data-into-a-static-chart-template/m-p/305843#M91824</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-01-15T07:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Plot search data into a static chart template</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Plot-search-data-into-a-static-chart-template/m-p/305844#M91825</link>
      <description>&lt;P&gt;Correct, AppIDs and Timerange are in two different tables.&lt;/P&gt;

&lt;P&gt;How can i combine the two domains?&lt;BR /&gt;
I've no clue about the function to be called...&lt;/P&gt;

&lt;P&gt;Tks!&lt;/P&gt;

&lt;P&gt;Carmine&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 08:41:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Plot-search-data-into-a-static-chart-template/m-p/305844#M91825</guid>
      <dc:creator>CarmineCalo</dc:creator>
      <dc:date>2018-01-15T08:41:39Z</dc:date>
    </item>
  </channel>
</rss>

