<?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: Need help with props on multiline event in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269474#M51735</link>
    <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[xxxxxx:prod:datapower]
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)(?=(\S+\s){4}\[)
TIME_PREFIX = ^
TIME_FORMAT = %b %d %H:%M:%S
MAX_TIMESTAMP_LOOKAHEAD = 15
TRUNCATE = 1024000
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 22 Jul 2016 15:22:57 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-07-22T15:22:57Z</dc:date>
    <item>
      <title>Need help with props on multiline event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269473#M51734</link>
      <description>&lt;P&gt;We're bringing in syslog's from datapower units, and they have a rough log setup:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Jul 22 09:00:20 10.214.8.104 [0x80c0003f][xxxxxxSSOSPDebug][info] xmlfirewall(SSOAuditLogFW): trans(214401)[request][100.73.230.24] gtid(214401):
Jul 22 09:00:20 10.214.8.104 Timestamp(2016-07-22T09:00:20-04:00)
Jul 22 09:00:20 10.214.8.104                            ::
Jul 22 09:00:20 10.214.8.104                            TransactionID()
Jul 22 09:00:20 10.214.8.104                            ::
Jul 22 09:00:20 10.214.8.104                            ClientId(xxxxxx 4000025)
Jul 22 09:00:20 10.214.8.104                            ::
Jul 22 09:00:20 10.214.8.104                            UserInfo()
Jul 22 09:00:20 10.214.8.104                            ::
Jul 22 09:00:20 10.214.8.104                            Status(0x00000000)
Jul 22 09:00:20 10.214.8.104                            ::
Jul 22 09:00:20 10.214.8.104                            TimeTake(V1_113_103_0_1_9)
Jul 22 09:00:20 10.214.8.104                            ::
Jul 22 09:00:20 10.214.8.104                            Message()
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That's an event in syslog, but sometimes breaks in half in splunk:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Jul 21 23:15:44 172.22.93.21                ::
Jul 21 23:15:44 172.22.93.21                TimeTake(V1_207_187_0_0_20)
Jul 21 23:15:44 172.22.93.21                ::
Jul 21 23:15:44 172.22.93.21                Message()


Jul 21 23:15:44 172.22.93.21 [0x80c0003f][xxxxxxSSOSPDebug][info] xmlfirewall(SSOAuditLogFW): trans(33153921)[request][216.105.103.106]: 
Jul 21 23:15:44 172.22.93.21 Timestamp(2016-07-21T23:15:44-04:00)
Jul 21 23:15:44 172.22.93.21                ::
Jul 21 23:15:44 172.22.93.21                TransactionID()
Jul 21 23:15:44 172.22.93.21                ::
Jul 21 23:15:44 172.22.93.21                ClientId(xxxxxx 4000025)
Jul 21 23:15:44 172.22.93.21                ::
Jul 21 23:15:44 172.22.93.21                UserInfo()
Jul 21 23:15:44 172.22.93.21                ::
Jul 21 23:15:44 172.22.93.21                Status(0x00000000)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My props looks like this, and I'm pretty sure it's wrong, but not certain where:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[xxxxxx:prod:datapower]
#Dec 28 11:21:03 10.1.1.49 [cert-monitor][warn] cert-monitor(Certificate Monitor): trans(383): Certificate 'HummingbirdUATCert' is expired
TIME_PREFIX = ^
TIME_FORMAT = %b %d %H:%M:%S
MAX_TIMESTAMP_LOOKAHEAD = 15
#LINE_BREAKER = ([\n\r]+)(?=\w{3}\s+\d+\s+\d+:\d+:\d+)
LINE_BREAKER = ^(?:[^ \n]* ){5}(?P&amp;lt;reg&amp;gt;\[\d+\w+\])
TRUNCATE = 1024000
SHOULD_LINEMERGE = TRUE
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can someone help me stop these from coming in broken in half? I'm also interested in extracting the ClientId and Message fields, but w/ the amount of lines, am not getting far.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 15:09:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269473#M51734</guid>
      <dc:creator>banderson7</dc:creator>
      <dc:date>2016-07-22T15:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with props on multiline event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269474#M51735</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[xxxxxx:prod:datapower]
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)(?=(\S+\s){4}\[)
TIME_PREFIX = ^
TIME_FORMAT = %b %d %H:%M:%S
MAX_TIMESTAMP_LOOKAHEAD = 15
TRUNCATE = 1024000
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Jul 2016 15:22:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269474#M51735</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-07-22T15:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with props on multiline event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269475#M51736</link>
      <description>&lt;P&gt;That brought in the entire syslog file as 1 entry.&lt;BR /&gt;
Edit: and the entries that are coming in now are correct, and being divided at the right lines. Wonder why the file came in as 1 entry.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 15:30:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269475#M51736</guid>
      <dc:creator>banderson7</dc:creator>
      <dc:date>2016-07-22T15:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with props on multiline event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269476#M51737</link>
      <description>&lt;P&gt;Could you explain more on the issue that you see?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 15:38:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269476#M51737</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-07-22T15:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with props on multiline event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269477#M51738</link>
      <description>&lt;P&gt;Sure. I ingested my syslog file w/ that props and it came in as one event:&lt;BR /&gt;
    Jul 22 09:00:20 10.214.8.104 [0x80c0003f][xxxxxxSSOSPDebug][info] xmlfirewall(SSOAuditLogFW): trans(214401)[request][100.73.230.24] gtid(214401): &lt;BR /&gt;
    Jul 22 09:00:20 10.214.8.104 Timestamp(2016-07-22T09:00:20-04:00)&lt;BR /&gt;
    Jul 22 09:00:20 10.214.8.104                ::&lt;BR /&gt;
    Jul 22 09:00:20 10.214.8.104                TransactionID()&lt;BR /&gt;
    Jul 22 09:00:20 10.214.8.104                ::&lt;BR /&gt;
    Jul 22 09:00:20 10.214.8.104                ClientId(xxxxxx 4000025)&lt;BR /&gt;
    Jul 22 09:00:20 10.214.8.104                ::&lt;BR /&gt;
    Jul 22 09:00:20 10.214.8.104                UserInfo()&lt;BR /&gt;
    Jul 22 09:00:20 10.214.8.104                ::&lt;BR /&gt;
    Jul 22 09:00:20 10.214.8.104                Status(0x00000000)&lt;BR /&gt;
    Jul 22 09:00:20 10.214.8.104                ::&lt;BR /&gt;
    Jul 22 09:00:20 10.214.8.104                TimeTake(V1_113_103_0_1_9)&lt;BR /&gt;
    Jul 22 09:00:20 10.214.8.104                ::&lt;BR /&gt;
    Jul 22 09:00:20 10.214.8.104                Message()&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104 [0x80c0003f][xxxxxxSSOSPDebug][info] xmlfirewall(SSOAuditLogFW): trans(214449)[request][100.73.230.24] gtid(214449): &lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104 Timestamp(2016-07-22T09:00:55-04:00)&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104                ::&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104                TransactionID()&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104                ::&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104                ClientId(xxxxxx 4000172)&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104                ::&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104                UserInfo()&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104                ::&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104                Status(0x00000000)&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104                ::&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104                TimeTake(V1_180_169_0_1_10)&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104                ::&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104                Message()&lt;BR /&gt;
    Jul 22 09:01:56 10.214.8.104 [0x80c0003f][xxxxxxSSOSPDebug][info] xmlfirewall(SSOAuditLogFW): trans(214513)[request][100.73.230.24] gtid(214513): &lt;BR /&gt;
    Jul 22 09:01:56 10.214.8.104 Timestamp(2016-07-22T09:01:56-04:00)&lt;BR /&gt;
    Jul 22 09:01:56 10.214.8.104                ::&lt;BR /&gt;
    Jul 22 09:01:56 10.214.8.104                TransactionID()&lt;BR /&gt;
    Jul 22 09:01:56 10.214.8.104                ::&lt;BR /&gt;
    Jul 22 09:01:56 10.214.8.104                ClientId(xxxxxx 4000192)&lt;BR /&gt;
    Jul 22 09:01:56 10.214.8.104                ::&lt;BR /&gt;
    Jul 22 09:01:56 10.214.8.104                UserInfo()&lt;BR /&gt;
    Jul 22 09:01:56 10.214.8.104                ::&lt;BR /&gt;
    Jul 22 09:01:56 10.214.8.104                Status(0x00000000)&lt;BR /&gt;
    Jul 22 09:01:56 10.214.8.104                ::&lt;BR /&gt;
    Jul 22 09:01:56 10.214.8.104                TimeTake(V1_151_138_0_0_13)&lt;BR /&gt;
    Jul 22 09:01:56 10.214.8.104                ::&lt;BR /&gt;
    Jul 22 09:01:56 10.214.8.104                Message()&lt;BR /&gt;
with another 2000 lines. New events coming into splunk are broken up correctly, so the regex is correct. I'm uncertain how to break up the first event, and am uncertain if I want to try, depending on what's involved. Can you suggest any way to extract the ClientId and message fields?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:17:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269477#M51738</guid>
      <dc:creator>banderson7</dc:creator>
      <dc:date>2020-09-29T10:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with props on multiline event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269478#M51739</link>
      <description>&lt;P&gt;Doubt, so new events are working fine, then which ones are the one failing and where (splunk preview tool or actual data ingestion).?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 16:31:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269478#M51739</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-07-22T16:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with props on multiline event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269479#M51740</link>
      <description>&lt;P&gt;Try this for field extract&lt;BR /&gt;
For Message &lt;CODE&gt;Message\(\)([\r\n]*)(\S+\s+){4}(?&amp;lt;Message&amp;gt;.+)&lt;/CODE&gt;&lt;BR /&gt;
For ClientId   &lt;CODE&gt;ClientId\((?&amp;lt;ClientId&amp;gt;[^\)]+)&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 16:34:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269479#M51740</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-07-22T16:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with props on multiline event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269480#M51741</link>
      <description>&lt;P&gt;Can you explain where does the single event start and stop? What are the logical boundaries around an event? I see timestamp in every  line (which in normal logs are single events) but they dont appears to be the case here.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 22:53:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269480#M51741</guid>
      <dc:creator>mhassan</dc:creator>
      <dc:date>2016-07-22T22:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with props on multiline event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269481#M51742</link>
      <description>&lt;P&gt;This is a single event: &lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104 [0x80c0003f][xxxxxxSSOSPDebug][info] xmlfirewall(SSOAuditLogFW): trans(214449)[request][100.73.230.24] gtid(214449): &lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104 Timestamp(2016-07-22T09:00:55-04:00)&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104 ::&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104 TransactionID()&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104 ::&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104 ClientId(xxxxxx 4000172)&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104 ::&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104 UserInfo()&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104 ::&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104 Status(0x00000000)&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104 ::&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104 TimeTake(V1_180_169_0_1_10)&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104 ::&lt;BR /&gt;
    Jul 22 09:00:55 10.214.8.104 Message()&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:21:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-with-props-on-multiline-event/m-p/269481#M51742</guid>
      <dc:creator>banderson7</dc:creator>
      <dc:date>2020-09-29T10:21:41Z</dc:date>
    </item>
  </channel>
</rss>

