<?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 Using span option in timechart doesn't show any values in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Using-span-option-in-timechart-doesn-t-show-any-values/m-p/530740#M89313</link>
    <description>&lt;P&gt;I am trying to get a time difference of two events and using timechart, I wants to display MAX(time difference value ) in a span of 30seconds;&amp;nbsp; Below query is working with table and I want to use timechart - Any help appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=express_its_pds_solsup_dce sourcetype="express:dce:shipmentlog" "EWPX - WCO: Begin saving"&lt;BR /&gt;| rex field=_raw "build.(?&amp;lt;SHIP_FILE&amp;gt;[\S+]*)"&lt;BR /&gt;| stats latest(_time) as begin_time by SHIP_FILE&lt;BR /&gt;| join SHIP_FILE&lt;BR /&gt;[ search index=express_its_pds_solsup_dce sourcetype="express:dce:shipmentlog" "EWPX - WCO: End"&lt;BR /&gt;| rex field=_raw "build.(?&amp;lt;SHIP_FILE&amp;gt;[\S+]*)"&lt;BR /&gt;| stats latest(_time) as end_time by SHIP_FILE ] | eval ship_throughput = end_time-begin_time&lt;/P&gt;&lt;P&gt;| table SHIP_FILE, ship_throughput&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 03:49:36 GMT</pubDate>
    <dc:creator>4uramana4u</dc:creator>
    <dc:date>2020-11-25T03:49:36Z</dc:date>
    <item>
      <title>Using span option in timechart doesn't show any values</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-span-option-in-timechart-doesn-t-show-any-values/m-p/530740#M89313</link>
      <description>&lt;P&gt;I am trying to get a time difference of two events and using timechart, I wants to display MAX(time difference value ) in a span of 30seconds;&amp;nbsp; Below query is working with table and I want to use timechart - Any help appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=express_its_pds_solsup_dce sourcetype="express:dce:shipmentlog" "EWPX - WCO: Begin saving"&lt;BR /&gt;| rex field=_raw "build.(?&amp;lt;SHIP_FILE&amp;gt;[\S+]*)"&lt;BR /&gt;| stats latest(_time) as begin_time by SHIP_FILE&lt;BR /&gt;| join SHIP_FILE&lt;BR /&gt;[ search index=express_its_pds_solsup_dce sourcetype="express:dce:shipmentlog" "EWPX - WCO: End"&lt;BR /&gt;| rex field=_raw "build.(?&amp;lt;SHIP_FILE&amp;gt;[\S+]*)"&lt;BR /&gt;| stats latest(_time) as end_time by SHIP_FILE ] | eval ship_throughput = end_time-begin_time&lt;/P&gt;&lt;P&gt;| table SHIP_FILE, ship_throughput&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 03:49:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-span-option-in-timechart-doesn-t-show-any-values/m-p/530740#M89313</guid>
      <dc:creator>4uramana4u</dc:creator>
      <dc:date>2020-11-25T03:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using span option in timechart doesn't show any values</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-span-option-in-timechart-doesn-t-show-any-values/m-p/530756#M89315</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/229060"&gt;@4uramana4u&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;streamstats is the best option to find out difference between two events. Below is the sample working query. you can tailor it as per your needs.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal sourcetype=splunkd host="samplehost" component=StatusMgr 
| bin _time span=30s 
| stats count by  _time source
| streamstats range(_time) as delta window=2 global=f by source
| eventstats max(delta) as max_delta&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 25 Nov 2020 06:00:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-span-option-in-timechart-doesn-t-show-any-values/m-p/530756#M89315</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-11-25T06:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using span option in timechart doesn't show any values</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Using-span-option-in-timechart-doesn-t-show-any-values/m-p/535958#M89862</link>
      <description>&lt;P&gt;Thank you, solved.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 07:46:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Using-span-option-in-timechart-doesn-t-show-any-values/m-p/535958#M89862</guid>
      <dc:creator>4uramana4u</dc:creator>
      <dc:date>2021-01-15T07:46:37Z</dc:date>
    </item>
  </channel>
</rss>

