<?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: Log file with CRLF not producing multiple indexed events in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Log-file-with-CRLF-not-producing-multiple-indexed-events/m-p/680575#M113702</link>
    <description>&lt;P&gt;What are the props.conf settings for &lt;FONT face="courier new,courier"&gt;[mysourcetype]&lt;/FONT&gt;?&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2024 16:41:06 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2024-03-13T16:41:06Z</dc:date>
    <item>
      <title>Log file with CRLF not producing multiple indexed events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Log-file-with-CRLF-not-producing-multiple-indexed-events/m-p/680568#M113700</link>
      <description>&lt;P&gt;I'm using Splunk Enterprise 9 on Windows Server 2019 and monitoring a simple log file that has &lt;EM&gt;&lt;STRONG&gt;CRLF&lt;/STRONG&gt; &lt;/EM&gt;lines endings and is encoded as &lt;STRONG&gt;UTF8&lt;/STRONG&gt;. My inputs stanza is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor://c:\windows\debug\test.log]
disabled = 0
sourcetype = my_sourcetype
index=test&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Consider two consectuive lines in the log file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Some data 1
Some data 2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When indexed this creates a &lt;FONT color="#FF0000"&gt;&lt;EM&gt;&lt;STRONG&gt;single&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt; event rather than my expectation of 2 events.&lt;/P&gt;&lt;P&gt;Where am I going wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 15:24:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Log-file-with-CRLF-not-producing-multiple-indexed-events/m-p/680568#M113700</guid>
      <dc:creator>shocko</dc:creator>
      <dc:date>2024-03-13T15:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Log file with CRLF not producing multiple indexed events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Log-file-with-CRLF-not-producing-multiple-indexed-events/m-p/680575#M113702</link>
      <description>&lt;P&gt;What are the props.conf settings for &lt;FONT face="courier new,courier"&gt;[mysourcetype]&lt;/FONT&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 16:41:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Log-file-with-CRLF-not-producing-multiple-indexed-events/m-p/680575#M113702</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-03-13T16:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Log file with CRLF not producing multiple indexed events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Log-file-with-CRLF-not-producing-multiple-indexed-events/m-p/680594#M113704</link>
      <description>&lt;P class="lia-align-left"&gt;I dont have one as I didn't think I needed one for something this simple. I have tried just now though adding this to no avail&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[my_sourcetype]
SHOULD_LINEMERGE = FALSE
LINE_BREAKER = ([\r\n]+)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 20:07:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Log-file-with-CRLF-not-producing-multiple-indexed-events/m-p/680594#M113704</guid>
      <dc:creator>shocko</dc:creator>
      <dc:date>2024-03-13T20:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Log file with CRLF not producing multiple indexed events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Log-file-with-CRLF-not-producing-multiple-indexed-events/m-p/680603#M113705</link>
      <description>Hi&lt;BR /&gt;This should work. If you are looking spec file for props.conf you see that SHOULD_LINEMERGE = true for unknown reason? It should be false for almost 100% of cases.&lt;BR /&gt;r. Ismo</description>
      <pubDate>Wed, 13 Mar 2024 21:27:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Log-file-with-CRLF-not-producing-multiple-indexed-events/m-p/680603#M113705</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-03-13T21:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Log file with CRLF not producing multiple indexed events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Log-file-with-CRLF-not-producing-multiple-indexed-events/m-p/680681#M113720</link>
      <description>&lt;P&gt;Is there any tooling (btool perhaps) that would tell me what props/transfroms are being applied to my sourcetype? Even if I drop the sourcetype form my inputs.conf the issue perists&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 12:12:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Log-file-with-CRLF-not-producing-multiple-indexed-events/m-p/680681#M113720</guid>
      <dc:creator>shocko</dc:creator>
      <dc:date>2024-03-14T12:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Log file with CRLF not producing multiple indexed events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Log-file-with-CRLF-not-producing-multiple-indexed-events/m-p/680715#M113723</link>
      <description>&lt;P&gt;You could use btool to look what is applied to your sourcetype, BUT if there is also apply to source or host something those will override sourcetype definitions. Unfortunately I don't know if there is any tool which can show to you which of those are applied ;-(&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 15:49:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Log-file-with-CRLF-not-producing-multiple-indexed-events/m-p/680715#M113723</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-03-14T15:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Log file with CRLF not producing multiple indexed events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Log-file-with-CRLF-not-producing-multiple-indexed-events/m-p/681353#M113850</link>
      <description>&lt;P&gt;So I spun up a new Splunk instance in Podman (completely clean) and ingested the same file and the behaviourt is the same with no line breaking! This is with UTF8 encoding and CRLF or LF endings. So I went into the UI and created a sourcetype for it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[netlogon]
DATETIME_CONFIG =
LINE_BREAKER = ([\r\n]+)
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
category = Custom
pulldown_type = 1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now working on &lt;SPAN&gt;9.2.0.1&amp;nbsp;&lt;/SPAN&gt;but &lt;EM&gt;&lt;STRONG&gt;not&lt;/STRONG&gt; &lt;/EM&gt;on &lt;SPAN&gt;9.1.2 &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 12:21:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Log-file-with-CRLF-not-producing-multiple-indexed-events/m-p/681353#M113850</guid>
      <dc:creator>shocko</dc:creator>
      <dc:date>2024-03-20T12:21:29Z</dc:date>
    </item>
  </channel>
</rss>

