<?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 write a search for a specific timestamp? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-for-a-specific-timestamp/m-p/186751#M53772</link>
    <description>&lt;P&gt;Hi Mubarish,&lt;/P&gt;

&lt;P&gt;simply use double quotes around the value like in this run everywhere search command (you must be able to search &lt;CODE&gt;index=_internal&lt;/CODE&gt;) :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=_internal "[19/Aug/2014:15* +0200]"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will show all event from today (as it is the 19th of August 2014) 3pm&lt;/P&gt;

&lt;P&gt;hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Tue, 19 Aug 2014 13:26:31 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2014-08-19T13:26:31Z</dc:date>
    <item>
      <title>How to write a search for a specific timestamp?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-for-a-specific-timestamp/m-p/186749#M53770</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I have my search query which returns a table. In the table, Timestamp is one of my field. Format of the Timestamp field is YYYY/MM/DD HH:MM:SS (i.e) Date(Space)Time&lt;BR /&gt;
For example&lt;BR /&gt;
2014/07/10 03:17:44 &lt;BR /&gt;
2014/07/10 03:17:14  etc. &lt;BR /&gt;
I want to search Timestamp suppose &lt;BR /&gt;
for example basequery... | search Timestamp = 2014/07/10 03:17:44 , the record with that particular date&amp;amp;time has to display. Since there is a space between date and time, my search shows no result found. How can I search for a specific timestamp?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2014 13:18:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-for-a-specific-timestamp/m-p/186749#M53770</guid>
      <dc:creator>Mubarish</dc:creator>
      <dc:date>2014-08-19T13:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a search for a specific timestamp?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-for-a-specific-timestamp/m-p/186750#M53771</link>
      <description>&lt;P&gt;Did you try this?&lt;/P&gt;

&lt;P&gt;basequery| search Timestamp = "2014/07/10 03:17:44"&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2014 13:24:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-for-a-specific-timestamp/m-p/186750#M53771</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2014-08-19T13:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a search for a specific timestamp?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-for-a-specific-timestamp/m-p/186751#M53772</link>
      <description>&lt;P&gt;Hi Mubarish,&lt;/P&gt;

&lt;P&gt;simply use double quotes around the value like in this run everywhere search command (you must be able to search &lt;CODE&gt;index=_internal&lt;/CODE&gt;) :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=_internal "[19/Aug/2014:15* +0200]"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will show all event from today (as it is the 19th of August 2014) 3pm&lt;/P&gt;

&lt;P&gt;hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2014 13:26:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-for-a-specific-timestamp/m-p/186751#M53772</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-08-19T13:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a search for a specific timestamp?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-for-a-specific-timestamp/m-p/186752#M53773</link>
      <description>&lt;P&gt;Your logs in Splunk should have _time field in epoch format. You can convert your token value to epoch and compare against _time value.&lt;/P&gt;

&lt;P&gt;your base search _time=[|gentimes start=-1 | eval search=strptime("YourDateValue","%Y/%m/%d %H:%M:%S" | table search]&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2014 17:20:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-write-a-search-for-a-specific-timestamp/m-p/186752#M53773</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-08-19T17:20:03Z</dc:date>
    </item>
  </channel>
</rss>

