<?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 Search time Time-fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-time-Time-fields/m-p/154459#M43432</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have defined a search macro which is taking 3 arguments: starttime, endtime, (starttime-1y).&lt;BR /&gt;
This works very well using "gentimes" command.&lt;/P&gt;

&lt;P&gt;Well, it is very practical if I want generating summaries of the past, which I did.&lt;BR /&gt;
But, I'd like to make a search to be scheduled for new events, that means I need such time fields in it based on predefined the scheduled search time fields or even more the time picker.&lt;/P&gt;

&lt;P&gt;I tried to discover how where the fields are and what are the names of them (using: table *), but I couldn't find any fields containing time boundaries of the current search.&lt;/P&gt;

&lt;P&gt;Any Idea how to get them? Are there any?&lt;/P&gt;

&lt;P&gt;Of course I thought about using gentimes in a scheduled search, but I would like to be more flexible, that means, to have the possibility to use the time picker in a manual search.&lt;/P&gt;

&lt;P&gt;Do you have any hints for me?&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Peter&lt;/P&gt;</description>
    <pubDate>Sun, 24 Nov 2013 17:49:37 GMT</pubDate>
    <dc:creator>psobisch</dc:creator>
    <dc:date>2013-11-24T17:49:37Z</dc:date>
    <item>
      <title>Search time Time-fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-time-Time-fields/m-p/154459#M43432</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have defined a search macro which is taking 3 arguments: starttime, endtime, (starttime-1y).&lt;BR /&gt;
This works very well using "gentimes" command.&lt;/P&gt;

&lt;P&gt;Well, it is very practical if I want generating summaries of the past, which I did.&lt;BR /&gt;
But, I'd like to make a search to be scheduled for new events, that means I need such time fields in it based on predefined the scheduled search time fields or even more the time picker.&lt;/P&gt;

&lt;P&gt;I tried to discover how where the fields are and what are the names of them (using: table *), but I couldn't find any fields containing time boundaries of the current search.&lt;/P&gt;

&lt;P&gt;Any Idea how to get them? Are there any?&lt;/P&gt;

&lt;P&gt;Of course I thought about using gentimes in a scheduled search, but I would like to be more flexible, that means, to have the possibility to use the time picker in a manual search.&lt;/P&gt;

&lt;P&gt;Do you have any hints for me?&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Peter&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2013 17:49:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-time-Time-fields/m-p/154459#M43432</guid>
      <dc:creator>psobisch</dc:creator>
      <dc:date>2013-11-24T17:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Search time Time-fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-time-Time-fields/m-p/154460#M43433</link>
      <description>&lt;P&gt;Have a look at the &lt;CODE&gt;addinfo&lt;/CODE&gt; command it will add a info_min_time and a info_max_time field to your current search.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Addinfo" target="_blank"&gt;&amp;gt;&amp;gt; Documentation of addinfo&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:21:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-time-Time-fields/m-p/154460#M43433</guid>
      <dc:creator>chris</dc:creator>
      <dc:date>2020-09-28T15:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Search time Time-fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-time-Time-fields/m-p/154461#M43434</link>
      <description>&lt;P&gt;Thanks! This seems to offer what I'm looking for.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2013 12:59:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-time-Time-fields/m-p/154461#M43434</guid>
      <dc:creator>psobisch</dc:creator>
      <dc:date>2013-11-25T12:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Search time Time-fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-time-Time-fields/m-p/154462#M43435</link>
      <description>&lt;P&gt;You're welcome. If this answers your question, can you mark the answer as accepted? There are three benefits if you do: My user will get points, other users who answer questions can focus their energy on unanswered questions and users with a similar question will see that this problem was solved. Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2013 13:32:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-time-Time-fields/m-p/154462#M43435</guid>
      <dc:creator>chris</dc:creator>
      <dc:date>2013-11-25T13:32:27Z</dc:date>
    </item>
  </channel>
</rss>

