<?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: Query criteria to calculate Time Span in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Query-criteria-to-calculate-Time-Span/m-p/20656#M185</link>
    <description>&lt;P&gt;If the answer solved your problem, please click the check box to the left to "accept" the answer.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Nov 2012 01:48:57 GMT</pubDate>
    <dc:creator>dwaddle</dc:creator>
    <dc:date>2012-11-02T01:48:57Z</dc:date>
    <item>
      <title>Query criteria to calculate Time Span</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Query-criteria-to-calculate-Time-Span/m-p/20651#M180</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Is there a way to calculate  a time span from start to stop position using java sdk.&lt;/P&gt;

&lt;P&gt;e.g.&lt;BR /&gt;
11012012 12:00:01 PM Start&lt;BR /&gt;
...&lt;BR /&gt;
....&lt;/P&gt;

&lt;P&gt;11012012 12:30:01 PM Stop&lt;/P&gt;

&lt;P&gt;and &lt;BR /&gt;
result would be 30 min.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Sanjay&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2012 19:34:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Query-criteria-to-calculate-Time-Span/m-p/20651#M180</guid>
      <dc:creator>sanjayiowa</dc:creator>
      <dc:date>2012-11-01T19:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Query criteria to calculate Time Span</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Query-criteria-to-calculate-Time-Span/m-p/20652#M181</link>
      <description>&lt;P&gt;Are you trying to parse this from events returned from a search? Where are you getting these times from?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2012 19:58:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Query-criteria-to-calculate-Time-Span/m-p/20652#M181</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2012-11-01T19:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Query criteria to calculate Time Span</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Query-criteria-to-calculate-Time-Span/m-p/20653#M182</link>
      <description>&lt;P&gt;Those events are in a log file. I would like to get 30 min as answer or list of those time period if there are multiple Start/Stop (matching first to first)&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2012 20:02:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Query-criteria-to-calculate-Time-Span/m-p/20653#M182</guid>
      <dc:creator>sanjayiowa</dc:creator>
      <dc:date>2012-11-01T20:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Query criteria to calculate Time Span</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Query-criteria-to-calculate-Time-Span/m-p/20654#M183</link>
      <description>&lt;P&gt;If this log file is in Splunk, you could try: &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;search_foo | transaction host startswith="Start" endswith="Stop"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;The resulting "duration" field will tell you how long it took.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;A href="http://www.splunk.com/base/Documentation/5.0/SearchReference/Transaction" target="test_blank"&gt;http://www.splunk.com/base/Documentation/5.0/SearchReference/Transaction&lt;/A&gt;&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2012 20:33:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Query-criteria-to-calculate-Time-Span/m-p/20654#M183</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2012-11-01T20:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Query criteria to calculate Time Span</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Query-criteria-to-calculate-Time-Span/m-p/20655#M184</link>
      <description>&lt;P&gt;Thanks for prompt response. I was able to get desire result.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Nov 2012 20:45:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Query-criteria-to-calculate-Time-Span/m-p/20655#M184</guid>
      <dc:creator>sanjayiowa</dc:creator>
      <dc:date>2012-11-01T20:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Query criteria to calculate Time Span</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Query-criteria-to-calculate-Time-Span/m-p/20656#M185</link>
      <description>&lt;P&gt;If the answer solved your problem, please click the check box to the left to "accept" the answer.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2012 01:48:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Query-criteria-to-calculate-Time-Span/m-p/20656#M185</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2012-11-02T01:48:57Z</dc:date>
    </item>
  </channel>
</rss>

