<?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 chart elapsed time performance data from dbquery? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-elapsed-time-performance-data-from-dbquery/m-p/132470#M184591</link>
    <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search involving dbquery | rex field=timing "(?&amp;lt;h&amp;gt;\d+):(?&amp;lt;m&amp;gt;\d+):(?&amp;lt;s&amp;gt;\d+)" | eval duration = s + 60 * (m + 60 * h) | chart avg(duration) by Activity
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 23 Nov 2014 17:39:19 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2014-11-23T17:39:19Z</dc:date>
    <item>
      <title>How to chart elapsed time performance data from dbquery?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-elapsed-time-performance-data-from-dbquery/m-p/132469#M184590</link>
      <description>&lt;P&gt;I've got a db query that returns an activity name and then the elapsed time of the activity that I would like to chart&lt;BR /&gt;
date returned is in the following format&lt;/P&gt;

&lt;P&gt;Activity timing&lt;BR /&gt;
a            0:0:33 (hh:m:ss)&lt;BR /&gt;
b            0:0:54&lt;BR /&gt;
c             0:1:23&lt;BR /&gt;
d             0:0:2&lt;/P&gt;

&lt;P&gt;but when I give the query to the chart, it only puts the activities on the x axis.&lt;BR /&gt;
I figure I need to tell the chart that the timing part of the data set is a timespan, I just don't know how to &lt;/P&gt;</description>
      <pubDate>Sun, 23 Nov 2014 17:03:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-chart-elapsed-time-performance-data-from-dbquery/m-p/132469#M184590</guid>
      <dc:creator>danoconnl</dc:creator>
      <dc:date>2014-11-23T17:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to chart elapsed time performance data from dbquery?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-chart-elapsed-time-performance-data-from-dbquery/m-p/132470#M184591</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search involving dbquery | rex field=timing "(?&amp;lt;h&amp;gt;\d+):(?&amp;lt;m&amp;gt;\d+):(?&amp;lt;s&amp;gt;\d+)" | eval duration = s + 60 * (m + 60 * h) | chart avg(duration) by Activity
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 23 Nov 2014 17:39:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-chart-elapsed-time-performance-data-from-dbquery/m-p/132470#M184591</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-11-23T17:39:19Z</dc:date>
    </item>
  </channel>
</rss>

