<?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: Reconfiguring timestamp to match csv row, not indexing time in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Reconfiguring-timestamp-to-match-csv-row-not-indexing-time/m-p/422885#M7463</link>
    <description>&lt;P&gt;Sorry, but as I explained this will not work. This query groups all the requests between 1/04-1/15 into the 1/15 timestamp. This is because all of this data was &lt;STRONG&gt;indexed&lt;/STRONG&gt; on 1/15. I do not want the _time to look at when the data was indexed. I want it to look at the timestamp within the csv.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jan 2019 22:32:13 GMT</pubDate>
    <dc:creator>jamesandy51</dc:creator>
    <dc:date>2019-01-23T22:32:13Z</dc:date>
    <item>
      <title>Reconfiguring timestamp to match csv row, not indexing time</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Reconfiguring-timestamp-to-match-csv-row-not-indexing-time/m-p/422879#M7457</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6434i7E0A6CA3CD42F7AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Hi! I am attaching a screenshot of my query as the problem is immediately apparent. I am searching only for dates 1/14-1/18. I have data in Splunk that has a "day" and "hour" column, and I want that to be the source of truth for my dates. I think Splunk is ignoring them and setting a timestamp based on time of index. Can you please tell me how to troubleshoot configuring the timestamp? As you can see, I am trying to display _time or timestamp but these are not even selected fields. How do I make my query only contain the dates within my selected range (excluding 1/04, 1/07, etc.)&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 20:46:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Reconfiguring-timestamp-to-match-csv-row-not-indexing-time/m-p/422879#M7457</guid>
      <dc:creator>jamesandy51</dc:creator>
      <dc:date>2019-01-23T20:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Reconfiguring timestamp to match csv row, not indexing time</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Reconfiguring-timestamp-to-match-csv-row-not-indexing-time/m-p/422880#M7458</link>
      <description>&lt;P&gt;you could  instead of day use _time and get the actual date from _time.&lt;BR /&gt;
 eval date = strftime(_time,"%Y-%m-%d")&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:55:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Reconfiguring-timestamp-to-match-csv-row-not-indexing-time/m-p/422880#M7458</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2020-09-29T22:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Reconfiguring timestamp to match csv row, not indexing time</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Reconfiguring-timestamp-to-match-csv-row-not-indexing-time/m-p/422881#M7459</link>
      <description>&lt;P&gt;Sorry, not sure I understand your suggestion. You can see that _time is empty in my table, so using that field returns no results. "day" is a column header in my data which has the timestamp I want to use, so I definitely want that field included in my query.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 21:21:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Reconfiguring-timestamp-to-match-csv-row-not-indexing-time/m-p/422881#M7459</guid>
      <dc:creator>jamesandy51</dc:creator>
      <dc:date>2019-01-23T21:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reconfiguring timestamp to match csv row, not indexing time</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Reconfiguring-timestamp-to-match-csv-row-not-indexing-time/m-p/422882#M7460</link>
      <description>&lt;P&gt;_time by default is never empty it always has timestamps. In your table it is empty because you are using stats by day and not by _time. The result of your stats is table with reqs and day field. So you cannot see _time field as its already removed by stats command&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 21:30:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Reconfiguring-timestamp-to-match-csv-row-not-indexing-time/m-p/422882#M7460</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-01-23T21:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reconfiguring timestamp to match csv row, not indexing time</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Reconfiguring-timestamp-to-match-csv-row-not-indexing-time/m-p/422883#M7461</link>
      <description>&lt;P&gt;Even if I use _time, it is still returning results from the days outside of my selected time range. How do I make the time range apply to the dates that I want? I have it now so that eval _time is returning the correct dates, but the results are still being returned are still all of the ones indexed during those dates.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 21:50:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Reconfiguring-timestamp-to-match-csv-row-not-indexing-time/m-p/422883#M7461</guid>
      <dc:creator>jamesandy51</dc:creator>
      <dc:date>2019-01-23T21:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Reconfiguring timestamp to match csv row, not indexing time</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Reconfiguring-timestamp-to-match-csv-row-not-indexing-time/m-p/422884#M7462</link>
      <description>&lt;P&gt;The time range looks time from _time , so if you select time from 14th jan to 18th jan, it will pick time from _time from that range only. Try below search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  network="client"  venue_id IN(venue_name)| bin span=1d _time| stats sum(req_spots) as req by _time| fields _time  reqs
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Jan 2019 21:58:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Reconfiguring-timestamp-to-match-csv-row-not-indexing-time/m-p/422884#M7462</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-01-23T21:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Reconfiguring timestamp to match csv row, not indexing time</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Reconfiguring-timestamp-to-match-csv-row-not-indexing-time/m-p/422885#M7463</link>
      <description>&lt;P&gt;Sorry, but as I explained this will not work. This query groups all the requests between 1/04-1/15 into the 1/15 timestamp. This is because all of this data was &lt;STRONG&gt;indexed&lt;/STRONG&gt; on 1/15. I do not want the _time to look at when the data was indexed. I want it to look at the timestamp within the csv.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 22:32:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Reconfiguring-timestamp-to-match-csv-row-not-indexing-time/m-p/422885#M7463</guid>
      <dc:creator>jamesandy51</dc:creator>
      <dc:date>2019-01-23T22:32:13Z</dc:date>
    </item>
  </channel>
</rss>

