<?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: Have problem with my timestamp format in Splunk ITSI</title>
    <link>https://community.splunk.com/t5/Splunk-ITSI/Have-problem-with-my-timestamp-format/m-p/313600#M339</link>
    <description>&lt;P&gt;for timechart youll need to convert your time to the field &lt;CODE&gt;_time&lt;/CODE&gt;&lt;BR /&gt;
same thing, and now you can &lt;CODE&gt;| timechart ... as foo | predict foo&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Apr 2018 19:50:44 GMT</pubDate>
    <dc:creator>adonio</dc:creator>
    <dc:date>2018-04-04T19:50:44Z</dc:date>
    <item>
      <title>Have problem with my timestamp format</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Have-problem-with-my-timestamp-format/m-p/313596#M335</link>
      <description>&lt;P&gt;I'm trying to do forecasting on hourly data. I'm getting error , even though I change my time format. need help in converting "3/5/2018 0:49"  into unix time stamp.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 19:34:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Have-problem-with-my-timestamp-format/m-p/313596#M335</guid>
      <dc:creator>jcvytla</dc:creator>
      <dc:date>2018-04-04T19:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Have problem with my timestamp format</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Have-problem-with-my-timestamp-format/m-p/313597#M336</link>
      <description>&lt;P&gt;try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults count=1 | eval time = "3/5/2018 0:49"
| eval in_epoch = strptime(time, "%m/%d/%Y %H:%M")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;hope it helps&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 19:40:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Have-problem-with-my-timestamp-format/m-p/313597#M336</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-04-04T19:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Have problem with my timestamp format</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Have-problem-with-my-timestamp-format/m-p/313598#M337</link>
      <description>&lt;P&gt;Could you please help me with time chart for the same time format?&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 19:47:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Have-problem-with-my-timestamp-format/m-p/313598#M337</guid>
      <dc:creator>jcvytla</dc:creator>
      <dc:date>2018-04-04T19:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Have problem with my timestamp format</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Have-problem-with-my-timestamp-format/m-p/313599#M338</link>
      <description>&lt;P&gt;Hi, @jcvytla-&lt;/P&gt;

&lt;P&gt;Check out the "&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Convert"&gt;convert&lt;/A&gt;" command.  The syntax for your case would look something like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;convert timeformat=%m/%d/%Y %H:%M mktime(existing_time_field) AS epoch_time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but double check the &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Commontimeformatvariables"&gt;time format&lt;/A&gt; if it doesn't seem to be working for you - the lack of leading zeroes in your timestamp might mean that you have to tweak that.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 19:48:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Have-problem-with-my-timestamp-format/m-p/313599#M338</guid>
      <dc:creator>lsnow_splunk</dc:creator>
      <dc:date>2018-04-04T19:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Have problem with my timestamp format</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Have-problem-with-my-timestamp-format/m-p/313600#M339</link>
      <description>&lt;P&gt;for timechart youll need to convert your time to the field &lt;CODE&gt;_time&lt;/CODE&gt;&lt;BR /&gt;
same thing, and now you can &lt;CODE&gt;| timechart ... as foo | predict foo&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 19:50:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Have-problem-with-my-timestamp-format/m-p/313600#M339</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-04-04T19:50:44Z</dc:date>
    </item>
  </channel>
</rss>

