<?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 use date-time field from event as span for search in Dashboard in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-date-time-field-from-event-as-span-for-search-in/m-p/313174#M93748</link>
    <description>&lt;P&gt;hello there,&lt;BR /&gt;
splunk can use this format: &lt;CODE&gt;"10/5/2016:20:00:00"&lt;/CODE&gt; for &lt;CODE&gt;earliest=&lt;/CODE&gt; and &lt;CODE&gt;latest=&lt;/CODE&gt;&lt;BR /&gt;
first, modify your time to match this format using strptime or convert or other method.&lt;BR /&gt;
than you can create a form input for earliest and latest, have the form inputs for latest dynamic and present only values greater than the value you chose for earliest to avoid conflict&lt;BR /&gt;
create a dashboard with search/es, panels (or base search) that starts with &lt;CODE&gt;earliest="$earliest$" latest="$latest$"&lt;/CODE&gt; and add your queries.&lt;/P&gt;

&lt;P&gt;hope it helps&lt;/P&gt;</description>
    <pubDate>Wed, 04 Apr 2018 15:18:13 GMT</pubDate>
    <dc:creator>adonio</dc:creator>
    <dc:date>2018-04-04T15:18:13Z</dc:date>
    <item>
      <title>How to use date-time field from event as span for search in Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-date-time-field-from-event-as-span-for-search-in/m-p/313173#M93747</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;I have a field in my events that is named info_date_resReviewed in format "2017-09-24 00:00:00" and I'd like to use it as search delimiters. So really you could enter an earliest/latest "info_date_resReviewed" and get results based on the span of this field.&lt;/P&gt;

&lt;P&gt;So&lt;BR /&gt;
earliest ="info_date_resReviewed" and latest="info_date_resReviewed"&lt;/P&gt;

&lt;P&gt;I was thinking dropdowns with available "info_date_resReviewed" and then using the tokens but havent gotten it to work. Any suggestions?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:52:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-date-time-field-from-event-as-span-for-search-in/m-p/313173#M93747</guid>
      <dc:creator>tkwaller_2</dc:creator>
      <dc:date>2020-09-29T18:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to use date-time field from event as span for search in Dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-date-time-field-from-event-as-span-for-search-in/m-p/313174#M93748</link>
      <description>&lt;P&gt;hello there,&lt;BR /&gt;
splunk can use this format: &lt;CODE&gt;"10/5/2016:20:00:00"&lt;/CODE&gt; for &lt;CODE&gt;earliest=&lt;/CODE&gt; and &lt;CODE&gt;latest=&lt;/CODE&gt;&lt;BR /&gt;
first, modify your time to match this format using strptime or convert or other method.&lt;BR /&gt;
than you can create a form input for earliest and latest, have the form inputs for latest dynamic and present only values greater than the value you chose for earliest to avoid conflict&lt;BR /&gt;
create a dashboard with search/es, panels (or base search) that starts with &lt;CODE&gt;earliest="$earliest$" latest="$latest$"&lt;/CODE&gt; and add your queries.&lt;/P&gt;

&lt;P&gt;hope it helps&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 15:18:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-date-time-field-from-event-as-span-for-search-in/m-p/313174#M93748</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-04-04T15:18:13Z</dc:date>
    </item>
  </channel>
</rss>

