<?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: Sybase IQ log timestamp catching in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429483#M75240</link>
    <description>&lt;P&gt;What Sybase IQ log is this exactly? Is this the transaction log, or something completely different?&lt;/P&gt;

&lt;P&gt;Because the transaction log can be passed through the dbtran utility to translate it into a much more readable (although to my experience still quite horrible) format.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Sep 2018 14:49:45 GMT</pubDate>
    <dc:creator>FrankVl</dc:creator>
    <dc:date>2018-09-11T14:49:45Z</dc:date>
    <item>
      <title>Sybase IQ log timestamp catching</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429476#M75233</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;I have a very special log to index into Splunk. This is a Sybase IQ log with a special timestamp format.&lt;BR /&gt;
Each line is a new log event.&lt;BR /&gt;
At the begining of the log and at some lines after, you find a timestamp with the format %m%d %H%M%S.%3N&lt;BR /&gt;
But between them, the time is shown as relative milliseconds&lt;/P&gt;

&lt;P&gt;For example, &lt;BR /&gt;
0523 095954.807,[,1000000001,sp_iq_mpx_init,16,iq&lt;BR /&gt;
+2,],1000000001,sp_iq_mpx_init,16=&lt;BR /&gt;
+79,P,1,[S]DUMMY&lt;BR /&gt;
=,&amp;gt;,1,EXEC&lt;BR /&gt;
......&lt;BR /&gt;
0523 095954.807,[, xxxxxx&lt;BR /&gt;
+83,&amp;gt;,1,CONNECT,1&lt;BR /&gt;
......&lt;/P&gt;

&lt;P&gt;At the first line the timestamp is with format %m%d %H%M%S.%3N&lt;BR /&gt;
At the second line, the timestamp is thus the timestamp of first line +2 milliseconds (sign "+2")&lt;BR /&gt;
At the third line, the timestamp is thus the timestamp of the second line +79 milleseconds (sign "+79")&lt;BR /&gt;
Aty the fourth line,  the timestamp is thus the timestamp of the thid line (sign "=")&lt;BR /&gt;
....&lt;BR /&gt;
This mechanism is valid till the new line with timestamp with format %m%d %H%M%S.%3N&lt;BR /&gt;
And then it begins again&lt;/P&gt;

&lt;P&gt;I do not see how I can catch the timestamp at each line at index time (preferably) or at search time.&lt;BR /&gt;
Can you please advice?&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:03:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429476#M75233</guid>
      <dc:creator>FrancoiseMathy</dc:creator>
      <dc:date>2020-09-29T21:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase IQ log timestamp catching</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429477#M75234</link>
      <description>&lt;P&gt;If you find that developer, kick him in the nuts.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 13:19:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429477#M75234</guid>
      <dc:creator>horsefez</dc:creator>
      <dc:date>2018-08-29T13:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase IQ log timestamp catching</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429478#M75235</link>
      <description>&lt;P&gt;Hey @FrancoiseMathy , did you figure out an answer to your question? If so, would you mind posting it here so that others can learn from your experience? Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 22:32:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429478#M75235</guid>
      <dc:creator>mstjohn_splunk</dc:creator>
      <dc:date>2018-08-29T22:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase IQ log timestamp catching</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429479#M75236</link>
      <description>&lt;P&gt;Hello, no I did not find the way to do so.&lt;BR /&gt;
Still hoping some help.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 06:19:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429479#M75236</guid>
      <dc:creator>FrancoiseMathy</dc:creator>
      <dc:date>2018-08-30T06:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase IQ log timestamp catching</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429480#M75237</link>
      <description>&lt;P&gt;@FrancoiseMathy ah, bummer. Maybe someone could help you in the Slack chat group? Check this out:&lt;/P&gt;

&lt;P&gt;If you want to try to get some immediate help for your question, you should join the 5000+ Splunk users in our public Slack Community chat. People ask each other for immediate help on there daily. You can share your question/link to your post there to see if anyone can take a stab at it.&lt;/P&gt;

&lt;P&gt;You first have to request access through &lt;A href="https://splk.it/slack"&gt;https://splk.it/slack&lt;/A&gt; Fill out the form, and once you receive the approval email from our Community Manager (usually the approval process may take a couple days), you can access Slack.com and ask for help in the #general channel.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 15:51:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429480#M75237</guid>
      <dc:creator>mstjohn_splunk</dc:creator>
      <dc:date>2018-08-30T15:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase IQ log timestamp catching</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429481#M75238</link>
      <description>&lt;P&gt;there are couple of ways to go about it&lt;BR /&gt;
all pretty painful so, like &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/109956"&gt;@horsefez&lt;/a&gt; said, kick him / her before or after your pain&lt;BR /&gt;
to do in indextime youll need to write a very unique datetimexml, read here:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/latest/Data/Configuredatetimexml" target="_blank"&gt;http://docs.splunk.com/Documentation/SplunkCloud/latest/Data/Configuredatetimexml&lt;/A&gt;&lt;BR /&gt;
to do so in search time, recognize / extract the milliseconds field:&lt;BR /&gt;
&lt;CODE&gt;... | rex "\+(&amp;lt;milliseconds&amp;gt;\d{1,3})"&lt;/CODE&gt;&lt;BR /&gt;
now you can &lt;CODE&gt;eval&lt;/CODE&gt; it and assign to &lt;CODE&gt;_time&lt;/CODE&gt;&lt;BR /&gt;
try something like that:&lt;BR /&gt;
&lt;CODE&gt;... | eval new_millisecond = tonumber(millisecond/1000) ...&lt;/CODE&gt;&lt;BR /&gt;
and now for the time&lt;BR /&gt;
&lt;CODE&gt;| eval _time = if(some condition on your data,_time,_time+new_millisecond)&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;hope it helps&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:13:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429481#M75238</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2020-09-29T21:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase IQ log timestamp catching</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429482#M75239</link>
      <description>&lt;P&gt;Interesting! @adonio&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 19:35:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429482#M75239</guid>
      <dc:creator>sudosplunk</dc:creator>
      <dc:date>2018-08-30T19:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase IQ log timestamp catching</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429483#M75240</link>
      <description>&lt;P&gt;What Sybase IQ log is this exactly? Is this the transaction log, or something completely different?&lt;/P&gt;

&lt;P&gt;Because the transaction log can be passed through the dbtran utility to translate it into a much more readable (although to my experience still quite horrible) format.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 14:49:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429483#M75240</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-09-11T14:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase IQ log timestamp catching</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429484#M75241</link>
      <description>&lt;P&gt;the log is what they call the usage.log&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 11:28:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429484#M75241</guid>
      <dc:creator>FrancoiseMathy</dc:creator>
      <dc:date>2018-09-18T11:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase IQ log timestamp catching</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429485#M75242</link>
      <description>&lt;P&gt;Right, that sounds like something different from what I have been dealing with.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 08:30:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-IQ-log-timestamp-catching/m-p/429485#M75242</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-09-20T08:30:05Z</dc:date>
    </item>
  </channel>
</rss>

