<?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 do I extract the second from _time? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-second-from-time/m-p/338580#M100398</link>
    <description>&lt;P&gt;Use the default field date_second.&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/6.6.1/Knowledge/Usedefaultfields#date_second" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/6.6.1/Knowledge/Usedefaultfields#date_second&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 15:10:01 GMT</pubDate>
    <dc:creator>mwirth_splunk</dc:creator>
    <dc:date>2020-09-29T15:10:01Z</dc:date>
    <item>
      <title>How do I extract the second from _time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-second-from-time/m-p/338579#M100397</link>
      <description>&lt;P&gt;How do I find whether the time stamp of an event covers a specific second within a day? So, we need to identify all the events for, let’s say, the second at the interval of 11:12:50 - 11:12:51.&lt;/P&gt;

&lt;P&gt;Something like &lt;CODE&gt;| eval mytime=strftime(_time, "%d")&lt;/CODE&gt; but for the second...&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 14:58:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-second-from-time/m-p/338579#M100397</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-07-31T14:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract the second from _time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-second-from-time/m-p/338580#M100398</link>
      <description>&lt;P&gt;Use the default field date_second.&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/6.6.1/Knowledge/Usedefaultfields#date_second" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/6.6.1/Knowledge/Usedefaultfields#date_second&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:10:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-second-from-time/m-p/338580#M100398</guid>
      <dc:creator>mwirth_splunk</dc:creator>
      <dc:date>2020-09-29T15:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract the second from _time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-second-from-time/m-p/338581#M100399</link>
      <description>&lt;P&gt;hello there,&lt;BR /&gt;
hope i understood your question,&lt;BR /&gt;
maybe use earliest and latest?&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.2/Search/Specifytimemodifiersinyoursearch"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.2/Search/Specifytimemodifiersinyoursearch&lt;/A&gt;&lt;BR /&gt;
for example:&lt;BR /&gt;
index = * sourcetype = * earliest = 7/31/2017:11:19:51 latest = 7/31/2017:11:19:52&lt;BR /&gt;
you can also use the gui time picker for that&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 15:21:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-second-from-time/m-p/338581#M100399</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-07-31T15:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract the second from _time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-second-from-time/m-p/338582#M100400</link>
      <description>&lt;P&gt;I see - the thing is that we have a long list of seconds we want to look at....&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 15:24:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-second-from-time/m-p/338582#M100400</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-07-31T15:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract the second from _time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-second-from-time/m-p/338583#M100401</link>
      <description>&lt;P&gt;Perfect @adonio !!!&lt;/P&gt;

&lt;P&gt;The following seems to work -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(earliest = 7/20/2017:20:00:00 latest = 7/20/2017:20:00:01) OR
(earliest = 7/20/2017:21:00:00 latest = 7/20/2017:21:00:01) ....
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 31 Jul 2017 15:50:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-second-from-time/m-p/338583#M100401</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-07-31T15:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract the second from _time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-second-from-time/m-p/338584#M100402</link>
      <description>&lt;P&gt;Thank you for all you help!&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 15:57:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-second-from-time/m-p/338584#M100402</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-07-31T15:57:30Z</dc:date>
    </item>
  </channel>
</rss>

