<?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 Histogram/Chart Question in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Histogram-Chart-Question/m-p/58246#M14228</link>
    <description>&lt;P&gt;Greetings,
I am struggling to create a chart to show when our backups begin and end for each server. The purpose is to show how many over lapping backups are running at a single time so that we can stagger them as not to overload our NAS.&lt;/P&gt;

&lt;P&gt;We are indexing messages for backups as such:&lt;/P&gt;

&lt;P&gt;When it starts: host=hostname name=backup action=begin&lt;BR /&gt;
When it ends: host=hostname name=backup action=end&lt;/P&gt;

&lt;P&gt;I would like something similar to&lt;BR /&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Hostname: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Time&lt;/EM&gt; &lt;BR /&gt;
Host1:&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [======]&lt;BR /&gt;
Host2:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [=====]&lt;BR /&gt;
Host3: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  [===]&lt;BR /&gt;
etc. 
&lt;BR /&gt;&lt;BR /&gt;
That is my vision - a nice simple way to see when backups start/end for each host.  &lt;BR /&gt;&lt;/P&gt;

&lt;P&gt;Any help or a point in the right direction would be much appreciated.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sat, 12 Mar 2011 05:33:47 GMT</pubDate>
    <dc:creator>rebourne</dc:creator>
    <dc:date>2011-03-12T05:33:47Z</dc:date>
    <item>
      <title>Histogram/Chart Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Histogram-Chart-Question/m-p/58246#M14228</link>
      <description>&lt;P&gt;Greetings,
I am struggling to create a chart to show when our backups begin and end for each server. The purpose is to show how many over lapping backups are running at a single time so that we can stagger them as not to overload our NAS.&lt;/P&gt;

&lt;P&gt;We are indexing messages for backups as such:&lt;/P&gt;

&lt;P&gt;When it starts: host=hostname name=backup action=begin&lt;BR /&gt;
When it ends: host=hostname name=backup action=end&lt;/P&gt;

&lt;P&gt;I would like something similar to&lt;BR /&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Hostname: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Time&lt;/EM&gt; &lt;BR /&gt;
Host1:&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [======]&lt;BR /&gt;
Host2:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [=====]&lt;BR /&gt;
Host3: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  [===]&lt;BR /&gt;
etc. 
&lt;BR /&gt;&lt;BR /&gt;
That is my vision - a nice simple way to see when backups start/end for each host.  &lt;BR /&gt;&lt;/P&gt;

&lt;P&gt;Any help or a point in the right direction would be much appreciated.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2011 05:33:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Histogram-Chart-Question/m-p/58246#M14228</guid>
      <dc:creator>rebourne</dc:creator>
      <dc:date>2011-03-12T05:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram/Chart Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Histogram-Chart-Question/m-p/58247#M14229</link>
      <description>&lt;P&gt;You probably want to combine &lt;CODE&gt;transaction&lt;/CODE&gt; with &lt;CODE&gt;concurrency&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | transaction host name startswith=("action=begin") endswith=("action=end") | concurrency duration=duration
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will list your backups, each with an additional field &lt;CODE&gt;concurrency&lt;/CODE&gt; indicating the number of backups running at the start of that backup&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2011 09:25:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Histogram-Chart-Question/m-p/58247#M14229</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-03-12T09:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram/Chart Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Histogram-Chart-Question/m-p/58248#M14230</link>
      <description>&lt;P&gt;Excellent! Thank you! I now have the duration of the events. Is there a way to have the duration show at the time that the event started? I am close with:&lt;/P&gt;

&lt;P&gt;... | transaction host name startswith=("action=begin") endswith=("action=end") | concurrency duration=duration  | timechart span=10m sum(duration) by host&lt;/P&gt;

&lt;P&gt;This gets me close but the duration does not match up with the time.  Ideas?&lt;/P&gt;

&lt;P&gt;Thank you for your time!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2011 00:34:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Histogram-Chart-Question/m-p/58248#M14230</guid>
      <dc:creator>rebourne</dc:creator>
      <dc:date>2011-03-15T00:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram/Chart Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Histogram-Chart-Question/m-p/58249#M14231</link>
      <description>&lt;P&gt;the &lt;CODE&gt;transaction&lt;/CODE&gt; command adds a &lt;CODE&gt;duration&lt;/CODE&gt; field to each transaction it assembles. Is that not what you need to see? So every transaction group will have &lt;CODE&gt;_time&lt;/CODE&gt; and &lt;CODE&gt;duration&lt;/CODE&gt; fields.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2011 01:09:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Histogram-Chart-Question/m-p/58249#M14231</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-03-15T01:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram/Chart Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Histogram-Chart-Question/m-p/58250#M14232</link>
      <description>&lt;P&gt;I do see the duration. However when I graph the duration, it is graphing it as a value, not time.  Is there a way to graph the duration over time? For example, action=begin would be at 1am and action=end would be at 2am. I would like to graph between 1am to 2am for host1, whereas host2 would be from 1:30am-2am.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2011 02:37:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Histogram-Chart-Question/m-p/58250#M14232</guid>
      <dc:creator>rebourne</dc:creator>
      <dc:date>2011-03-15T02:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram/Chart Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Histogram-Chart-Question/m-p/58251#M14233</link>
      <description>&lt;P&gt;Oh I see, you want a concurrency chart like Gantt-type chart. Unfortunately, Splunk's charting modules don't display these easily with Splunk's data, and I haven't been able to come up with a good way to make it work. I suppose I'd just file an enhancement request. Note that Splunk's own &lt;CODE&gt;dbinspect&lt;/CODE&gt; command displays a chart like what you want, but it does some ugly hacking to generate data to fit the display capabilities of the Splunk charting modules.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2011 03:44:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Histogram-Chart-Question/m-p/58251#M14233</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-03-15T03:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram/Chart Question</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Histogram-Chart-Question/m-p/58252#M14234</link>
      <description>&lt;P&gt;I wanted to do something similar. So very easy to to in HTML - and common. Wonder why this is such a roadblock for Splunk.&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2014 21:38:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Histogram-Chart-Question/m-p/58252#M14234</guid>
      <dc:creator>dmcguerty</dc:creator>
      <dc:date>2014-05-07T21:38:14Z</dc:date>
    </item>
  </channel>
</rss>

