<?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 order of parsing: sedcmd and time_prefix in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/order-of-parsing-sedcmd-and-time-prefix/m-p/498448#M84952</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;we have a syslog message like:&lt;BR /&gt;
Mar 20 16:27:09 hostname.com Mar 20 16:17:01 hostname 2020-20-03 16:27:02,486 hostname messsage&lt;/P&gt;

&lt;P&gt;with a sedcmd I can remove the first part until the year.&lt;BR /&gt;
Then I have:&lt;BR /&gt;
2020-20-03 16:27:02,486 hostname messsage&lt;/P&gt;

&lt;P&gt;If there is another timestring in the message I have to us TIME_RPEFIX in props.conf. &lt;BR /&gt;
What regex do I have to use? Starting at line beginning (that is after sedcnd) oder on the initial message with a ittle bit more regex?&lt;/P&gt;

&lt;P&gt;What is theparsing order splunk uses in props.conf? First sedcmd and the prefix or is stripping the very last thing splunk does with the event?&lt;/P&gt;

&lt;P&gt;Torsten &lt;/P&gt;</description>
    <pubDate>Fri, 20 Mar 2020 16:04:05 GMT</pubDate>
    <dc:creator>tfechner</dc:creator>
    <dc:date>2020-03-20T16:04:05Z</dc:date>
    <item>
      <title>order of parsing: sedcmd and time_prefix</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/order-of-parsing-sedcmd-and-time-prefix/m-p/498448#M84952</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;we have a syslog message like:&lt;BR /&gt;
Mar 20 16:27:09 hostname.com Mar 20 16:17:01 hostname 2020-20-03 16:27:02,486 hostname messsage&lt;/P&gt;

&lt;P&gt;with a sedcmd I can remove the first part until the year.&lt;BR /&gt;
Then I have:&lt;BR /&gt;
2020-20-03 16:27:02,486 hostname messsage&lt;/P&gt;

&lt;P&gt;If there is another timestring in the message I have to us TIME_RPEFIX in props.conf. &lt;BR /&gt;
What regex do I have to use? Starting at line beginning (that is after sedcnd) oder on the initial message with a ittle bit more regex?&lt;/P&gt;

&lt;P&gt;What is theparsing order splunk uses in props.conf? First sedcmd and the prefix or is stripping the very last thing splunk does with the event?&lt;/P&gt;

&lt;P&gt;Torsten &lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 16:04:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/order-of-parsing-sedcmd-and-time-prefix/m-p/498448#M84952</guid>
      <dc:creator>tfechner</dc:creator>
      <dc:date>2020-03-20T16:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: order of parsing: sedcmd and time_prefix</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/order-of-parsing-sedcmd-and-time-prefix/m-p/498449#M84953</link>
      <description>&lt;P&gt;&lt;CODE&gt;SEDCMD&lt;/CODE&gt; comes after &lt;CODE&gt;TIME_PREFIX&lt;/CODE&gt;.  See &lt;A href="https://www.aplura.com/assets/pdf/props_conf_order.pdf"&gt;https://www.aplura.com/assets/pdf/props_conf_order.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 16:53:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/order-of-parsing-sedcmd-and-time-prefix/m-p/498449#M84953</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-03-20T16:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: order of parsing: sedcmd and time_prefix</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/order-of-parsing-sedcmd-and-time-prefix/m-p/498450#M84954</link>
      <description>&lt;P&gt;so first is: line_breaker,&lt;BR /&gt;
then time_prefix and time string&lt;BR /&gt;
then I strip with sedcmd&lt;/P&gt;

&lt;P&gt;when will the event merged together in case of multiline events?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:40:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/order-of-parsing-sedcmd-and-time-prefix/m-p/498450#M84954</guid>
      <dc:creator>tfechner</dc:creator>
      <dc:date>2020-09-30T04:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: order of parsing: sedcmd and time_prefix</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/order-of-parsing-sedcmd-and-time-prefix/m-p/498451#M84955</link>
      <description>&lt;P&gt;That happens in the Aggregation Queue (before SEDCMD).&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 18:01:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/order-of-parsing-sedcmd-and-time-prefix/m-p/498451#M84955</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-03-20T18:01:48Z</dc:date>
    </item>
  </channel>
</rss>

