<?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 make another field as date field instead of _time? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-another-field-as-date-field-instead-of-time/m-p/300531#M90480</link>
    <description>&lt;P&gt;You can change the _time to have values from field &lt;CODE&gt;Event Date&lt;/CODE&gt;, at search time like this, but note that the time range will still apply from the older value of _time.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | eval _time=strptime("Event Date","%m/%d/%Y")  | timechart span=1d count( Views)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
    <pubDate>Wed, 21 Feb 2018 08:11:55 GMT</pubDate>
    <dc:creator>mayurr98</dc:creator>
    <dc:date>2018-02-21T08:11:55Z</dc:date>
    <item>
      <title>How to make another field as date field instead of _time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-another-field-as-date-field-instead-of-time/m-p/300530#M90479</link>
      <description>&lt;P&gt;I am doing a chart command on two fields as below&lt;/P&gt;

&lt;P&gt;index=main sourcetype=csv   "Site "=* "Content "=* | chart count( Views) by "Event Date"&lt;/P&gt;

&lt;P&gt;The above command gives the count of view for each event date&lt;/P&gt;

&lt;P&gt;Event Date  count( Views)&lt;BR /&gt;
2/14/2018   408960&lt;BR /&gt;
2/15/2018   427769&lt;/P&gt;

&lt;P&gt;but when I select the date range from the time picker the data is not changing,how can I make the "Event data" change on selecting the desired date range&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 22:45:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-another-field-as-date-field-instead-of-time/m-p/300530#M90479</guid>
      <dc:creator>vrmandadi</dc:creator>
      <dc:date>2018-02-20T22:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to make another field as date field instead of _time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-another-field-as-date-field-instead-of-time/m-p/300531#M90480</link>
      <description>&lt;P&gt;You can change the _time to have values from field &lt;CODE&gt;Event Date&lt;/CODE&gt;, at search time like this, but note that the time range will still apply from the older value of _time.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | eval _time=strptime("Event Date","%m/%d/%Y")  | timechart span=1d count( Views)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 08:11:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-another-field-as-date-field-instead-of-time/m-p/300531#M90480</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-02-21T08:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to make another field as date field instead of _time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-another-field-as-date-field-instead-of-time/m-p/300532#M90481</link>
      <description>&lt;P&gt;I tried this before but it does not show any results and other thing is that all the interesting and selected fields will not be seen&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 14:50:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-another-field-as-date-field-instead-of-time/m-p/300532#M90481</guid>
      <dc:creator>vrmandadi</dc:creator>
      <dc:date>2018-02-21T14:50:10Z</dc:date>
    </item>
  </channel>
</rss>

