<?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 edit my search to graph a list of values with different colored bars or lines? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180407#M51967</link>
    <description>&lt;P&gt;Try to see again your screenshot link. I have not get it.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Mar 2015 08:41:30 GMT</pubDate>
    <dc:creator>ngatchasandra</dc:creator>
    <dc:date>2015-03-20T08:41:30Z</dc:date>
    <item>
      <title>How to edit my search to graph a list of values with different colored bars or lines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180403#M51963</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;

&lt;P&gt;I am new to Splunk so please bear with me. I am having an issue and couldn't find any resolution yet.  I have log file that looks like below.&lt;/P&gt;

&lt;P&gt;Note: many lines logged at the same&lt;/P&gt;

&lt;P&gt;54&lt;BR /&gt;
92&lt;BR /&gt;
30&lt;BR /&gt;
39&lt;BR /&gt;
99&lt;BR /&gt;
71&lt;BR /&gt;
42&lt;BR /&gt;
94&lt;BR /&gt;
1&lt;BR /&gt;
6&lt;BR /&gt;
21&lt;/P&gt;

&lt;P&gt;I am using the below search query.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=number| timechart span=5m list(Random)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It is showing the results and Statistics is showing the multiple numbers at the exact time like below&lt;/P&gt;

&lt;P&gt;2015-03-18 15:55:00&lt;BR /&gt;
47&lt;BR /&gt;
45&lt;BR /&gt;
32&lt;/P&gt;

&lt;P&gt;But visualization graph is not showing these numbers , if I use max(Random) then it chooses the max number from the 3 above and shows in the Visualization graph. Is there any way I can see all these 3 numbers in one bar graph line with different colors?&lt;/P&gt;

&lt;P&gt;Is it possible?&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2015 04:39:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180403#M51963</guid>
      <dc:creator>sohnaeo</dc:creator>
      <dc:date>2015-03-19T04:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to graph a list of values with different colored bars or lines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180404#M51964</link>
      <description>&lt;P&gt;Hi sohnaeo&lt;/P&gt;

&lt;P&gt;the graph is not showing these numbers because &lt;STRONG&gt;timechart&lt;/STRONG&gt; function have Required arguments: either &lt;STRONG&gt;single-agg&lt;/STRONG&gt; or &lt;STRONG&gt;an eval-expression&lt;/STRONG&gt;.&lt;BR /&gt;
In your case, to get those number you must use an &lt;STRONG&gt;eval-expression&lt;/STRONG&gt; (eval, sum; avg ...) after span=5m.&lt;/P&gt;

&lt;P&gt;For example you can do this:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;index=number| timechart span=5m count by Random&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;You'll got all results on your graph.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2015 09:12:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180404#M51964</guid>
      <dc:creator>NOUMSSI</dc:creator>
      <dc:date>2015-03-19T09:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to graph a list of values with different colored bars or lines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180405#M51965</link>
      <description>&lt;P&gt;Hi, sohnaeo&lt;BR /&gt;
Your request is not good  to give you all tree numbers in in one bar graph line with different color.&lt;/P&gt;

&lt;P&gt;I created small csv file with your data. The &lt;STRONG&gt;list()&lt;/STRONG&gt; fonction  can't allow you to see this visualization. The request that follow will help you :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=number| timechart span=5m count by Random
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am working in 6.2 and when and run this request it show me in automatically visualization  what you want .&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2015 09:24:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180405#M51965</guid>
      <dc:creator>ngatchasandra</dc:creator>
      <dc:date>2015-03-19T09:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to graph a list of values with different colored bars or lines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180406#M51966</link>
      <description>&lt;P&gt;Thanks Guys for the prompt replies but accept my apology I couldnt explain the prioblem properly. &lt;/P&gt;

&lt;P&gt;The "count by Random" is showing the occurences of the numbers like the below format&lt;/P&gt;

&lt;P&gt;_time                          16   17  21  3   37  55  73  76  85  90  OTHER&lt;BR /&gt;
2015-03-18 15:55:00  0   0   0   0   0   0   0   0   0   0   3&lt;/P&gt;

&lt;P&gt;I don't want this, in fact I want to visualization these numbers themselves 16,17,21,3  &lt;/P&gt;

&lt;P&gt;I do have the statistics like below&lt;/P&gt;

&lt;P&gt;2015-03-18 15:55:00 47&lt;BR /&gt;
                                        45&lt;BR /&gt;
                                        32&lt;BR /&gt;
2015-03-18 16:00:00 87&lt;BR /&gt;
2015-03-18 16:05:00 7&lt;BR /&gt;
                                        72&lt;BR /&gt;
                                        81&lt;BR /&gt;
                                        47&lt;BR /&gt;
                                        76&lt;BR /&gt;
2015-03-18 16:10:00 74&lt;BR /&gt;
                                         24&lt;BR /&gt;
2015-03-18 16:15:00  37&lt;BR /&gt;
2015-03-18 16:20:00  45&lt;/P&gt;

&lt;P&gt;You can see sometime there are multiple numbers against the date and I cant find a way to visualize all these numbers in graph&lt;/P&gt;

&lt;P&gt;For example, &lt;/P&gt;

&lt;P&gt;2015-03-18 16:10:00 74&lt;BR /&gt;
                                         24&lt;/P&gt;

&lt;P&gt;If I choose max(Random) then it chooses the maximum number 74 , if I choose min(Random) it choose 24 but I cant find a way to get both numbers in the visualization.&lt;/P&gt;

&lt;P&gt;I have also attached the screenshot , it may help you guys to understand that.In the screenshot you can see that visualization has picked only 87 numbers and rest of the graph is blank becuase it got multiple values and graph somehow dont show these.&lt;/P&gt;

&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2015 22:04:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180406#M51966</guid>
      <dc:creator>sohnaeo</dc:creator>
      <dc:date>2015-03-19T22:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to graph a list of values with different colored bars or lines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180407#M51967</link>
      <description>&lt;P&gt;Try to see again your screenshot link. I have not get it.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 08:41:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180407#M51967</guid>
      <dc:creator>ngatchasandra</dc:creator>
      <dc:date>2015-03-20T08:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to graph a list of values with different colored bars or lines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180408#M51968</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;The query like follow show me the min and max Random of each date&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=numbers| timechart span=5m max(Random) min(Random)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 Mar 2015 08:43:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180408#M51968</guid>
      <dc:creator>ngatchasandra</dc:creator>
      <dc:date>2015-03-20T08:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to graph a list of values with different colored bars or lines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180409#M51969</link>
      <description>&lt;P&gt;Thanks ngatchasandra for looking at my issue. Yes , the query you provided show the min and max Random but I would like to show all values regardless of the min and max&lt;/P&gt;

&lt;P&gt;index=numbers| timechart span=5m list(Random)&lt;/P&gt;

&lt;P&gt;The above query shows all the Random of each date but it is not appearing under the Visualization, the Visualization just get confused what value I need to take to show on the graph.&lt;/P&gt;

&lt;P&gt;Please see the below screenshot of my Splunk search,  for example 2015-03-18 15:55:00 ,you would see list(Random) on the bottom of the page &lt;/P&gt;

&lt;P&gt;2015-03-18 15:55:00        47&lt;BR /&gt;
                                          45&lt;BR /&gt;
                                          32&lt;/P&gt;

&lt;P&gt;You would see multiple values like above (47,45,32) but graph is empty for these values, I am interested to get these numbers in the visualization. I hope it clears my requirement.&lt;/P&gt;

&lt;P&gt;URL: &lt;A href="http://postimg.org/image/oek69n81v/"&gt;http://postimg.org/image/oek69n81v/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2015 01:26:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180409#M51969</guid>
      <dc:creator>sohnaeo</dc:creator>
      <dc:date>2015-03-23T01:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to graph a list of values with different colored bars or lines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180410#M51970</link>
      <description>&lt;P&gt;Hi,sohnaeo,&lt;BR /&gt;
You will use the  the &lt;STRONG&gt;mvexpand&lt;/STRONG&gt; command  because you have in your data the multivalues fields&lt;BR /&gt;
 Here is the good query to visualize all  Random Values: &lt;CODE&gt;index=numbers| timechart span=5m list(Random) |mvexpand list(Random)&lt;/CODE&gt; or&lt;BR /&gt;
with min(Random) and max(Random)  : &lt;CODE&gt;index=numbers| timechart span=5m max(Random) min(Random) list(Random)  |mvexpand list(Random)&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2015 12:38:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180410#M51970</guid>
      <dc:creator>ngatchasandra</dc:creator>
      <dc:date>2015-03-23T12:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to graph a list of values with different colored bars or lines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180411#M51971</link>
      <description>&lt;P&gt;You are a legend mate, thanks a lot exactly thats what I wanted.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2015 22:55:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-graph-a-list-of-values-with-different/m-p/180411#M51971</guid>
      <dc:creator>sohnaeo</dc:creator>
      <dc:date>2015-03-23T22:55:27Z</dc:date>
    </item>
  </channel>
</rss>

