<?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 ascending in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-ascending/m-p/163926#M33196</link>
    <description>&lt;P&gt;I think that could work for us. I give it a try!&lt;/P&gt;</description>
    <pubDate>Thu, 05 Mar 2015 07:03:44 GMT</pubDate>
    <dc:creator>ToniSchulz</dc:creator>
    <dc:date>2015-03-05T07:03:44Z</dc:date>
    <item>
      <title>Timestamp ascending</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-ascending/m-p/163923#M33193</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a problem concerning the timestamp of my logfiles. We want to look through a large textfile with structured values in it which looks like this:&lt;/P&gt;

&lt;P&gt;date: 18.02.2015/ &lt;STRONG&gt;time: 13:09&lt;/STRONG&gt;&lt;/P&gt;

&lt;H1&gt;filter: Moving Average 1&lt;/H1&gt;

&lt;H1&gt;offset: 2,730863&lt;/H1&gt;

&lt;H1&gt;tension; torsion; bending momentx; bending moment y; time; temperature&lt;/H1&gt;

&lt;P&gt;+172.107700;+0.856136;+0.000000;-4.752090;&lt;STRONG&gt;+335.291875&lt;/STRONG&gt;;+23.750000&lt;BR /&gt;
+389.506900;-1.284204;-3.573091;+1.018305;&lt;STRONG&gt;+335.292500&lt;/STRONG&gt;;+23.750000&lt;BR /&gt;
+489.148200;+0.214034;-0.922088;-4.525800;+335.293125;+23.750000&lt;BR /&gt;
+199.282600;-0.642102;+0.115261;-3.168060;+335.293750;+23.750000&lt;BR /&gt;
+262.690700;+1.284204;+0.922088;-2.376045;+335.294375;+23.750000&lt;BR /&gt;
+461.973300;+0.642102;-1.267871;-3.394350;+335.295000;+23.750000&lt;BR /&gt;
+280.807300;+0.000000;+1.383132;-2.715480;+335.295625;+23.750000&lt;BR /&gt;
+443.856700;+0.749119;-1.383132;+2.602335;+335.296250;+23.750000&lt;/P&gt;

&lt;P&gt;The timestamp is in fact the time that is written on top plus the seconds within each line (second last position).&lt;BR /&gt;
Can I tell Splunk anyhow that the timestamp is in this case 13:09 + 335.xx seconds?&lt;/P&gt;

&lt;P&gt;Thanks a lot in advance!&lt;/P&gt;

&lt;P&gt;Toni&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2015 13:51:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-ascending/m-p/163923#M33193</guid>
      <dc:creator>ToniSchulz</dc:creator>
      <dc:date>2015-03-04T13:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp ascending</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-ascending/m-p/163924#M33194</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;I dont think Splunk can recognize that timestamp pattern. Instead you could use, current timestamp (supposing that your data is generated in real time)&lt;/P&gt;

&lt;P&gt;Or maybe you could write an script to preprocess the logs, and attach a recognizable timestamp to each event or use this app &lt;A href="https://apps.splunk.com/app/1901/"&gt;https://apps.splunk.com/app/1901/&lt;/A&gt; to do somethins like that.&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2015 16:13:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-ascending/m-p/163924#M33194</guid>
      <dc:creator>gfuente</dc:creator>
      <dc:date>2015-03-04T16:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp ascending</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-ascending/m-p/163925#M33195</link>
      <description>&lt;P&gt;Do you need the timestamp for the event to be adjusted by the &lt;CODE&gt;+335.xxx seconds?&lt;/CODE&gt; Or can you deal with the timestamp being &lt;CODE&gt;18.02.2015/ time: 13:09&lt;/CODE&gt;, and then do your search with some adjustments to them time where you would do something like this?:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;yoursearch&amp;gt; | rex "&amp;lt;rex-to-get-offset&amp;gt;" | eval real_time=_time+offset | &amp;lt;whatever-you-do-with-the-real_time&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is not exact, but it gives you an IDEA of what you could do. Is this sort of search-time date creation usable for you?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2015 18:33:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-ascending/m-p/163925#M33195</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2015-03-04T18:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp ascending</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-ascending/m-p/163926#M33196</link>
      <description>&lt;P&gt;I think that could work for us. I give it a try!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2015 07:03:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-ascending/m-p/163926#M33196</guid>
      <dc:creator>ToniSchulz</dc:creator>
      <dc:date>2015-03-05T07:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp ascending</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-ascending/m-p/163927#M33197</link>
      <description>&lt;P&gt;@ToniSchulz &lt;/P&gt;

&lt;P&gt;Does your splunk, when you run a search, if you look at the predefined fields, does it pick up your timestamp?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2015 11:17:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-ascending/m-p/163927#M33197</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-03-05T11:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp ascending</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Timestamp-ascending/m-p/163928#M33198</link>
      <description>&lt;P&gt;Thanks a lot for all your answers!&lt;BR /&gt;
I meanwhile changed the way of importing it and used a pre process outside of splunk to change the format. Now Splunk knows the right time. I till have problems with making a timechart in Milliseconds, but that is within another topic.&lt;/P&gt;

&lt;P&gt;Again thanks for you support!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2015 11:33:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Timestamp-ascending/m-p/163928#M33198</guid>
      <dc:creator>ToniSchulz</dc:creator>
      <dc:date>2015-03-09T11:33:28Z</dc:date>
    </item>
  </channel>
</rss>

