<?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: Timestamp index do not consider hours in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-index-do-not-consider-hours/m-p/80542#M16622</link>
    <description>&lt;P&gt;I've already done it by setting it in the web interface while importing the new datas...I'll try to attach a screenshot of what I already have...&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jun 2012 10:04:26 GMT</pubDate>
    <dc:creator>nolivieri</dc:creator>
    <dc:date>2012-06-21T10:04:26Z</dc:date>
    <item>
      <title>Timestamp index do not consider hours</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-index-do-not-consider-hours/m-p/80540#M16620</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I've a csv with a timestamp like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2012-05-14 08
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which is, of course, in the form:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;%Y-%m-%d %H
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Unfortunately, when trying to index it, it only takes the date:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;14/05/12 00.00.00,000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How can I make it aware of the hour? Obviously it would have minutes and seconds equals to "00"...&lt;BR /&gt;
Thanks a lot, bye!!&lt;/P&gt;

&lt;P&gt;Edit: here is the screenshot: &lt;IMG src="http://img411.imageshack.us/img411/7062/nohour.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2012 09:45:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-index-do-not-consider-hours/m-p/80540#M16620</guid>
      <dc:creator>nolivieri</dc:creator>
      <dc:date>2012-06-21T09:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp index do not consider hours</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-index-do-not-consider-hours/m-p/80541#M16621</link>
      <description>&lt;P&gt;You need to tell Splunk how to parse the timestamp by providing the appropriate format in the &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; configuration directive in &lt;CODE&gt;props.conf&lt;/CODE&gt;.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[my_sourcetype]
TIME_FORMAT = %Y-%m-%d %H
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will apply to events that get indexed after you've made the changes and restarted Splunk (so events that already exist in the index will not be affected).&lt;/P&gt;

&lt;P&gt;More information on configuring timestamp recognition here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Data/Configuretimestamprecognition"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Data/Configuretimestamprecognition&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2012 10:01:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-index-do-not-consider-hours/m-p/80541#M16621</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-06-21T10:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp index do not consider hours</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-index-do-not-consider-hours/m-p/80542#M16622</link>
      <description>&lt;P&gt;I've already done it by setting it in the web interface while importing the new datas...I'll try to attach a screenshot of what I already have...&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2012 10:04:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-index-do-not-consider-hours/m-p/80542#M16622</guid>
      <dc:creator>nolivieri</dc:creator>
      <dc:date>2012-06-21T10:04:26Z</dc:date>
    </item>
  </channel>
</rss>

