<?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 Why are multiline fields not parsed properly? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-multiline-fields-not-parsed-properly/m-p/584941#M102928</link>
    <description>&lt;P&gt;I have below logs file i indexed with props below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;type=PROCTITLE msg=audit(02/08/2022 15:00:01.749:4321) : proctitle=xxxx
type=PATH msg=audit(02/08/2022 15:00:01.749:4321) : item=1 name=xxx  mode=file,644 
type=PATH msg=audit(02/08/2022 15:00:01.749:4321) : item=0 name=sfsdfds  mode=file,644 ouid=root 
type=CWD msg=audit(02/08/2022 15:00:01.749:4321) :  cwd=/
type=SYSCALL msg=audit(02/08/2022 15:00:01.749:4321) : arch=x86_64 syscall=open success=yes exit=3 a0=dsfdsfds a1=dfsdf a2=sdfsdf a3=sdfsdf 
----
type=CRED_ACQ msg=audit(02/08/2022 15:00:01.749:4322) : pid=30891 
----
type=LOGIN msg=audit(02/08/2022 15:00:01.751:4323) : pid=30891 
----
type=USER_ACCT msg=audit(02/08/2022 15:00:01.751:4324) : pid=30892 
----&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Props.conf&lt;/STRONG&gt;&lt;/U&gt;&lt;U&gt;&lt;/U&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[src_type]
SHOULD_LINEMERGE = false
LINE_BREAKER = (----\s)&lt;/LI-CODE&gt;
&lt;P&gt;Its properly get indexed with line breaking but when i search for values(type) on search head its not giving all the values&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for example, from the first event values(type) suppose to be multivalue field with&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;PROCTITLE, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;PATH, CWD,&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;SYSCALL&lt;BR /&gt;but it only has single value&amp;nbsp;&lt;SPAN&gt;PROCTITLE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;why type value is not properly getting extracted.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Am i missing something with props configuration???&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Thanks for the help in advance )&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 14 Feb 2022 17:14:51 GMT</pubDate>
    <dc:creator>sivaranjiniG</dc:creator>
    <dc:date>2022-02-14T17:14:51Z</dc:date>
    <item>
      <title>Why are multiline fields not parsed properly?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-multiline-fields-not-parsed-properly/m-p/584941#M102928</link>
      <description>&lt;P&gt;I have below logs file i indexed with props below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;type=PROCTITLE msg=audit(02/08/2022 15:00:01.749:4321) : proctitle=xxxx
type=PATH msg=audit(02/08/2022 15:00:01.749:4321) : item=1 name=xxx  mode=file,644 
type=PATH msg=audit(02/08/2022 15:00:01.749:4321) : item=0 name=sfsdfds  mode=file,644 ouid=root 
type=CWD msg=audit(02/08/2022 15:00:01.749:4321) :  cwd=/
type=SYSCALL msg=audit(02/08/2022 15:00:01.749:4321) : arch=x86_64 syscall=open success=yes exit=3 a0=dsfdsfds a1=dfsdf a2=sdfsdf a3=sdfsdf 
----
type=CRED_ACQ msg=audit(02/08/2022 15:00:01.749:4322) : pid=30891 
----
type=LOGIN msg=audit(02/08/2022 15:00:01.751:4323) : pid=30891 
----
type=USER_ACCT msg=audit(02/08/2022 15:00:01.751:4324) : pid=30892 
----&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Props.conf&lt;/STRONG&gt;&lt;/U&gt;&lt;U&gt;&lt;/U&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[src_type]
SHOULD_LINEMERGE = false
LINE_BREAKER = (----\s)&lt;/LI-CODE&gt;
&lt;P&gt;Its properly get indexed with line breaking but when i search for values(type) on search head its not giving all the values&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for example, from the first event values(type) suppose to be multivalue field with&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;PROCTITLE, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;PATH, CWD,&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;SYSCALL&lt;BR /&gt;but it only has single value&amp;nbsp;&lt;SPAN&gt;PROCTITLE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;why type value is not properly getting extracted.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Am i missing something with props configuration???&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Thanks for the help in advance )&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Feb 2022 17:14:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-multiline-fields-not-parsed-properly/m-p/584941#M102928</guid>
      <dc:creator>sivaranjiniG</dc:creator>
      <dc:date>2022-02-14T17:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why are multiline fields not parsed properly?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-multiline-fields-not-parsed-properly/m-p/585069#M102949</link>
      <description>&lt;P&gt;The props you specify are for index time parsing and you are saying the line-breaker is working as expected.&lt;/P&gt;&lt;P&gt;By default, Splunk uses search-time field extraction for (key=value) pairs.&lt;/P&gt;&lt;P&gt;But in your case it is not working so just to validate run the below query to see what you get:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=&amp;lt;your-data-index&amp;gt; sourcetype="src_type" | extract pairdelim=" " kvdelim="="&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 06:36:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-multiline-fields-not-parsed-properly/m-p/585069#M102949</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-02-15T06:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why are multiline fields not parsed properly?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-multiline-fields-not-parsed-properly/m-p/585085#M102952</link>
      <description>&lt;P&gt;In case of automatic KV extractions Splunk only gets first value (or so it seems). You have to define custom extractions to deal with such situations and use&lt;/P&gt;&lt;PRE&gt;MV_ADD = &amp;lt;boolean&amp;gt;
* NOTE: This setting is only valid for search-time field extractions.
* Optional. Controls what the extractor does when it finds a field which
  already exists.
* If set to true, the extractor makes the field a multivalued field and
  appends the newly found value, otherwise the newly found value is
  discarded.
* Default: false&lt;/PRE&gt;&lt;P&gt;in your transforms&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 07:14:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-multiline-fields-not-parsed-properly/m-p/585085#M102952</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-02-15T07:14:15Z</dc:date>
    </item>
  </channel>
</rss>

