<?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: How to select all existing values for multiple fields over time and plot them? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431922#M28472</link>
    <description>&lt;P&gt;Hi @beetaj&lt;/P&gt;

&lt;P&gt;You can use the "LogTime" to plot a timechart.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;basesearch|eval _time=strptime(LogTime,"%d/%m/%Y %H:%M:%S")| timechart values(Field*) by Field*&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2019 09:47:39 GMT</pubDate>
    <dc:creator>nickhills</dc:creator>
    <dc:date>2019-03-15T09:47:39Z</dc:date>
    <item>
      <title>How to select all existing values for multiple fields over time and plot them?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431913#M28463</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I have a set of log data like this below:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6669i31AA52B4BE44DA2A/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;How do I plot all available data for all these fields over LogTime?&lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 08:51:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431913#M28463</guid>
      <dc:creator>beetaj</dc:creator>
      <dc:date>2019-03-14T08:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to select all existing values for multiple fields over time and plot them?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431914#M28464</link>
      <description>&lt;P&gt;hi dyude @beetaj ,&lt;/P&gt;

&lt;P&gt;You can try this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your index | chart list(Fiield1) as Field1 list(Field2) as Field2 list(Field3) as Field3 list(Field4) as Field4 list(Field5) as Field5  by LogTime
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Mar 2019 11:27:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431914#M28464</guid>
      <dc:creator>vinod94</dc:creator>
      <dc:date>2019-03-14T11:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to select all existing values for multiple fields over time and plot them?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431915#M28465</link>
      <description>&lt;P&gt;thanks @vinod94 ,&lt;/P&gt;

&lt;P&gt;It helped with the statistics/tabular view, but the visualisation doesn't plot anything, tried different graphs, apparently they plot by count, I want the exact data to be dotted on  the graph. so that I can see the pattern.&lt;BR /&gt;
How do I fix the graph?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 14:39:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431915#M28465</guid>
      <dc:creator>beetaj</dc:creator>
      <dc:date>2019-03-14T14:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to select all existing values for multiple fields over time and plot them?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431916#M28466</link>
      <description>&lt;P&gt;If you have a basesearch that gives you exactly the table you provided above you can simply do:&lt;BR /&gt;
&lt;CODE&gt;basesearch | timechart values(Field*) by Field*&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 15:15:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431916#M28466</guid>
      <dc:creator>damann</dc:creator>
      <dc:date>2019-03-14T15:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to select all existing values for multiple fields over time and plot them?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431917#M28467</link>
      <description>&lt;P&gt;Thanks @damann ,&lt;BR /&gt;
timechart is not particularly helpful as it works based on the event time (index time), where the LogTime above is an indexed field extracted from my log data. Therefore I need a query/function combination that works based on LogTime &lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 15:26:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431917#M28467</guid>
      <dc:creator>beetaj</dc:creator>
      <dc:date>2019-03-14T15:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to select all existing values for multiple fields over time and plot them?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431918#M28468</link>
      <description>&lt;P&gt;hi dyude @beetaj ,&lt;/P&gt;

&lt;P&gt;Iam able to see the chart wrt your values.!&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6668i45153B2C7E74365C/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;sorry  for the typo mistake in the above query..&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your index | chart list(Field1) as Field1..... *
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Mar 2019 06:05:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431918#M28468</guid>
      <dc:creator>vinod94</dc:creator>
      <dc:date>2019-03-15T06:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to select all existing values for multiple fields over time and plot them?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431919#M28469</link>
      <description>&lt;P&gt;Thanks @vinod94 ,&lt;BR /&gt;
I am really puzzled why I am not getting any graphs! The only difference to the above data is that I have too many more events. However I do it the scale on Y-Axis stays 0-100, but according to the attached values of f1 goes well beyond 100.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 09:24:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431919#M28469</guid>
      <dc:creator>beetaj</dc:creator>
      <dc:date>2019-03-15T09:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to select all existing values for multiple fields over time and plot them?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431920#M28470</link>
      <description>&lt;P&gt;@beetaj, &lt;/P&gt;

&lt;P&gt;Can u post a screenshot ? Mostly it shouldn't effect.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 09:26:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431920#M28470</guid>
      <dc:creator>vinod94</dc:creator>
      <dc:date>2019-03-15T09:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to select all existing values for multiple fields over time and plot them?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431921#M28471</link>
      <description>&lt;P&gt;try running this search .. ive kept some different values &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval Field1="20.7,100,56,45,400" 
| makemv delim="," Field1 
| mvexpand Field1 
| appendcols 
    [| makeresults 
    | eval Field2="93,15,23.6,10.5,11" 
    | makemv delim="," Field2 
    | mvexpand Field2]
|appendcols 
    [| makeresults 
    | eval Field3="45.1,42.4,67.6,45,90" 
    | makemv delim="," Field3 
    | mvexpand Field3]
|appendcols 
    [| makeresults 
    | eval LogTime="10/03/2019 08:25:09,12/03/2019 08:25:09,13/03/2019 08:25:09,14/03/2019 08:25:09,15/03/2019 08:25:09" 
    | makemv delim="," LogTime 
    | mvexpand LogTime]
|chart list(Field1) as Field1 list(Field2) as Field2 list(Field3) as Field3   by LogTime
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Mar 2019 09:28:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431921#M28471</guid>
      <dc:creator>vinod94</dc:creator>
      <dc:date>2019-03-15T09:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to select all existing values for multiple fields over time and plot them?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431922#M28472</link>
      <description>&lt;P&gt;Hi @beetaj&lt;/P&gt;

&lt;P&gt;You can use the "LogTime" to plot a timechart.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;basesearch|eval _time=strptime(LogTime,"%d/%m/%Y %H:%M:%S")| timechart values(Field*) by Field*&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 09:47:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431922#M28472</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-15T09:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to select all existing values for multiple fields over time and plot them?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431923#M28473</link>
      <description>&lt;P&gt;Thanks @vinod94 ,&lt;BR /&gt;
I accept your response as Answer, and I am able to plot  the expected graphs when I test it with some controlled  dataset. But when I apply to my real data, I get no graph. Real data volume is high but it shouldn't matter as I filter it down to one second which I have only few events, still no graph is produced!&lt;BR /&gt;
I had attached screenshots unfortunately not moderated yet!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 19:28:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-select-all-existing-values-for-multiple-fields-over-time/m-p/431923#M28473</guid>
      <dc:creator>beetaj</dc:creator>
      <dc:date>2019-03-15T19:28:56Z</dc:date>
    </item>
  </channel>
</rss>

