<?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 add a Date Field into my search and dashboard in Splunk Light? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-Date-Field-into-my-search-and-dashboard-in-Splunk/m-p/243193#M72394</link>
    <description>&lt;P&gt;Thanks for replying back. I don't understand it. Sorry, it's me, as I'm beginner. Based on your response. I've added your expression as following under "Edit Search String" in the dashboard. But it doesn't show the dates.&lt;/P&gt;

&lt;P&gt;Severity=Error | eval mytime=strftime(_time, "%Y%m%d")&lt;/P&gt;

&lt;P&gt;How can I add Date field as a field, like Timestamp, date_mday etc?&lt;/P&gt;

&lt;P&gt;Thanks again.&lt;BR /&gt;
Me&lt;/P&gt;</description>
    <pubDate>Tue, 24 Nov 2015 13:32:13 GMT</pubDate>
    <dc:creator>dvadithala</dc:creator>
    <dc:date>2015-11-24T13:32:13Z</dc:date>
    <item>
      <title>How to add a Date Field into my search and dashboard in Splunk Light?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-Date-Field-into-my-search-and-dashboard-in-Splunk/m-p/243191#M72392</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm completely new to Splunk and using Light version for evaluation. How can I add a date field into my search and also to the dashboard? I have Timestamp, date_mday, date_wday, date_hour etc. &lt;/P&gt;

&lt;P&gt;But I wanted a date field for persistent field and also I wanted to use in my dashboard.&lt;/P&gt;

&lt;P&gt;Please help.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Me&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:57:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-Date-Field-into-my-search-and-dashboard-in-Splunk/m-p/243191#M72392</guid>
      <dc:creator>dvadithala</dc:creator>
      <dc:date>2020-09-29T07:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a Date Field into my search and dashboard in Splunk Light?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-Date-Field-into-my-search-and-dashboard-in-Splunk/m-p/243192#M72393</link>
      <description>&lt;P&gt;If I understand what you are asking correctly, try adding this to your query to create a date field with the time stripped off. It is derived from the _time field which is Splunk's internal representation of your event date/timestamp&lt;/P&gt;

&lt;P&gt;| eval mytime=strftime(_time, "%Y%m%d") &lt;/P&gt;

&lt;P&gt;Does that answer your question?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 14:49:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-Date-Field-into-my-search-and-dashboard-in-Splunk/m-p/243192#M72393</guid>
      <dc:creator>jedatt01</dc:creator>
      <dc:date>2015-11-23T14:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a Date Field into my search and dashboard in Splunk Light?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-Date-Field-into-my-search-and-dashboard-in-Splunk/m-p/243193#M72394</link>
      <description>&lt;P&gt;Thanks for replying back. I don't understand it. Sorry, it's me, as I'm beginner. Based on your response. I've added your expression as following under "Edit Search String" in the dashboard. But it doesn't show the dates.&lt;/P&gt;

&lt;P&gt;Severity=Error | eval mytime=strftime(_time, "%Y%m%d")&lt;/P&gt;

&lt;P&gt;How can I add Date field as a field, like Timestamp, date_mday etc?&lt;/P&gt;

&lt;P&gt;Thanks again.&lt;BR /&gt;
Me&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2015 13:32:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-Date-Field-into-my-search-and-dashboard-in-Splunk/m-p/243193#M72394</guid>
      <dc:creator>dvadithala</dc:creator>
      <dc:date>2015-11-24T13:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a Date Field into my search and dashboard in Splunk Light?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-Date-Field-into-my-search-and-dashboard-in-Splunk/m-p/243194#M72395</link>
      <description>&lt;P&gt;when you use the eval command it will create a new field. In this case it's called mytime. You can use mytime just like you would use Timestamp or date_mday.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2015 16:44:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-a-Date-Field-into-my-search-and-dashboard-in-Splunk/m-p/243194#M72395</guid>
      <dc:creator>jedatt01</dc:creator>
      <dc:date>2015-11-24T16:44:32Z</dc:date>
    </item>
  </channel>
</rss>

