<?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: create lagtime panel with average time between two string value datetime fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/create-lagtime-panel-with-average-time-between-two-string-value/m-p/150325#M42121</link>
    <description>&lt;P&gt;I tried the following:&lt;BR /&gt;
search sourcetype="data.newIndex.stats" | eval ipubDate=strptime(pubDate, "%Y-%m-%d %H:%M:%S") | eval iscrapeDate=strptime(scrapeDate, "%Y-%m-%d %H:%M:%S") | eval lagtime=round(iscrapeDate-ipubDate,0) | table pubDate, scrapeDate, lagtime&lt;/P&gt;

&lt;P&gt;I used a dial gauge on my panel but get the following message:&lt;BR /&gt;
These results may be truncated. This visualization is configured to display a maximum of 1000 results per series, and that limit h&lt;/P&gt;

&lt;P&gt;I would like the above query to only return the max result&lt;/P&gt;</description>
    <pubDate>Tue, 13 May 2014 22:35:46 GMT</pubDate>
    <dc:creator>jdepp</dc:creator>
    <dc:date>2014-05-13T22:35:46Z</dc:date>
    <item>
      <title>create lagtime panel with average time between two string value datetime fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/create-lagtime-panel-with-average-time-between-two-string-value/m-p/150323#M42119</link>
      <description>&lt;P&gt;I have two datetime fields that I would like to use to calculate average lagtime as each message coming contains these fields. I would like to display some sort of panel showing this in seconds.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;pubDate:"2014-04-30 11:27:49"   scrapeDate:"2014-04-30 11:27:53"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;any help appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2014 13:10:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/create-lagtime-panel-with-average-time-between-two-string-value/m-p/150323#M42119</guid>
      <dc:creator>jdepp</dc:creator>
      <dc:date>2014-05-02T13:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: create lagtime panel with average time between two string value datetime fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/create-lagtime-panel-with-average-time-between-two-string-value/m-p/150324#M42120</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;... | eval pubDate="2014-04-30 11:27:49" | eval scrapeDate="2014-04-30 11:27:53" | eval ipubDate=strptime(pubDate, "%Y-%m-%d %H:%M:%S") | eval iscrapeDate=strptime(scrapeDate, "%Y-%m-%d %H:%M:%S") | eval lagtime=round(iscrapeDate-ipubDate,0) | table pubDate, scrapeDate, lagtime
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 May 2014 13:52:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/create-lagtime-panel-with-average-time-between-two-string-value/m-p/150324#M42120</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2014-05-02T13:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: create lagtime panel with average time between two string value datetime fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/create-lagtime-panel-with-average-time-between-two-string-value/m-p/150325#M42121</link>
      <description>&lt;P&gt;I tried the following:&lt;BR /&gt;
search sourcetype="data.newIndex.stats" | eval ipubDate=strptime(pubDate, "%Y-%m-%d %H:%M:%S") | eval iscrapeDate=strptime(scrapeDate, "%Y-%m-%d %H:%M:%S") | eval lagtime=round(iscrapeDate-ipubDate,0) | table pubDate, scrapeDate, lagtime&lt;/P&gt;

&lt;P&gt;I used a dial gauge on my panel but get the following message:&lt;BR /&gt;
These results may be truncated. This visualization is configured to display a maximum of 1000 results per series, and that limit h&lt;/P&gt;

&lt;P&gt;I would like the above query to only return the max result&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2014 22:35:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/create-lagtime-panel-with-average-time-between-two-string-value/m-p/150325#M42121</guid>
      <dc:creator>jdepp</dc:creator>
      <dc:date>2014-05-13T22:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: create lagtime panel with average time between two string value datetime fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/create-lagtime-panel-with-average-time-between-two-string-value/m-p/150326#M42122</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="data.newIndex.stats" | eval ipubDate=strptime(pubDate, "%Y-%m-%d %H:%M:%S") | eval iscrapeDate=strptime(scrapeDate, "%Y-%m-%d %H:%M:%S") | eval lagtime=round(iscrapeDate-ipubDate,0) | chart max(lagtime)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 May 2014 15:21:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/create-lagtime-panel-with-average-time-between-two-string-value/m-p/150326#M42122</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2014-05-14T15:21:31Z</dc:date>
    </item>
  </channel>
</rss>

