<?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 can I create a bar chart through 4 fields? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-bar-chart-through-4-fields/m-p/158297#M44606</link>
    <description>&lt;P&gt;I really appreciate your suggestions! I'll try to explain again what I desire. Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jun 2015 15:40:07 GMT</pubDate>
    <dc:creator>AtillaMaia</dc:creator>
    <dc:date>2015-06-17T15:40:07Z</dc:date>
    <item>
      <title>How can I create a bar chart through 4 fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-bar-chart-through-4-fields/m-p/158292#M44601</link>
      <description>&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/394i1D5A60E26C8FA157/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;I'm using db Connect and I have this db input. So, I want a chart with 24 bars that represent range of hours. HourStart and HourEnd are that range and I get them in my query. For each interval (HourStart - HourEnd) I have Num which I also get it in my result. CurrentNum is used just for the current interval. For instance, now the current interval is 10AM - 11AM, so only for this interval CurrentNum will be used; the remains will be represented by 'Num' .&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2015 17:44:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-bar-chart-through-4-fields/m-p/158292#M44601</guid>
      <dc:creator>AtillaMaia</dc:creator>
      <dc:date>2015-06-16T17:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a bar chart through 4 fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-bar-chart-through-4-fields/m-p/158293#M44602</link>
      <description>&lt;P&gt;Like this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | timechart first(HourStart) , first(HourEnd), first(Num), first(CurrentNum)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To make the visualization a bar chart, modify with the upper-left control and change it to "bar" or "column".&lt;/P&gt;

&lt;P&gt;This is probably a poor guess at an answer but you have neither shown us your data, nor your search as it is so-far.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2015 18:52:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-bar-chart-through-4-fields/m-p/158293#M44602</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-16T18:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a bar chart through 4 fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-bar-chart-through-4-fields/m-p/158294#M44603</link>
      <description>&lt;P&gt;OK, try this (HourEnd is implied by HourStart so it does not factor in):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | chart avg(Num) AS Num avg(CurrentNum) AS CurrentNum over HourStart
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Jun 2015 19:48:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-bar-chart-through-4-fields/m-p/158294#M44603</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-16T19:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a bar chart through 4 fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-bar-chart-through-4-fields/m-p/158295#M44604</link>
      <description>&lt;P&gt;For each, &lt;STRONG&gt;HourStart&lt;/STRONG&gt; there is the specified value of &lt;STRONG&gt;Num&lt;/STRONG&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 15:14:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-bar-chart-through-4-fields/m-p/158295#M44604</guid>
      <dc:creator>AtillaMaia</dc:creator>
      <dc:date>2015-06-17T15:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a bar chart through 4 fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-bar-chart-through-4-fields/m-p/158296#M44605</link>
      <description>&lt;P&gt;Right; that's what is charted.  If that is not what you desire, you need to restate your desire MUCH more clearly.  I have been making educated guesses because you still have never been clear about what you are trying to do.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 15:25:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-bar-chart-through-4-fields/m-p/158296#M44605</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-17T15:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a bar chart through 4 fields?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-bar-chart-through-4-fields/m-p/158297#M44606</link>
      <description>&lt;P&gt;I really appreciate your suggestions! I'll try to explain again what I desire. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2015 15:40:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-create-a-bar-chart-through-4-fields/m-p/158297#M44606</guid>
      <dc:creator>AtillaMaia</dc:creator>
      <dc:date>2015-06-17T15:40:07Z</dc:date>
    </item>
  </channel>
</rss>

