<?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 Line Breaking Not Working for some IIS logs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Not-Working-for-some-IIS-logs/m-p/424737#M74492</link>
    <description>&lt;P&gt;All, &lt;/P&gt;

&lt;P&gt;My IIS logs keep getting merged together into one event and maybe i am just exhausted, but I can't seem to figure out where i am going wrong. &lt;/P&gt;

&lt;H3&gt;Example logs that were merged -&lt;/H3&gt;

&lt;PRE&gt;&lt;CODE&gt;2019-06-12 04:06:56 10.1.1.1 GET SOMEURL=1234512244 443 - 10.2.2.2 - - 200 0 0 15
2019-06-12 04:06:56 10.11.11.1 GET SOMEURL 1 443 - 10.2.2.2 - - 200 0 0 31
2019-06-12 04:06:56 10.1.11.1 GET SOMEURL 443 - 10.2.2.2 - - 200 0 0 46
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;H3&gt;props.conf&lt;/H3&gt;

&lt;PRE&gt;&lt;CODE&gt;[ms:iis:default]
MAX_TIMESTAMP_LOOKAHEAD = 20
SHOULD_LINEMERGE = false
TIME_PREFIX = ^ 
TIME_FORMAT = %Y-%m-%d %H:%M:%S 
SHOULD_LINEMERGE = False 
LINE_BREAKER = ([\n\r]+)\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2} 
TRUNCATE = 4000
TZ=UTC
MAX_DAYS_AGO = 1
MAX_DAYS_HENCE = 2
EVENT_BREAKER_ENABLE = true 
EVENT_BREAKER = ([\n\r]+)\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hoping a second set of eyes will see where I went wrong? &lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2019 23:12:37 GMT</pubDate>
    <dc:creator>daniel333</dc:creator>
    <dc:date>2019-06-12T23:12:37Z</dc:date>
    <item>
      <title>Line Breaking Not Working for some IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Not-Working-for-some-IIS-logs/m-p/424737#M74492</link>
      <description>&lt;P&gt;All, &lt;/P&gt;

&lt;P&gt;My IIS logs keep getting merged together into one event and maybe i am just exhausted, but I can't seem to figure out where i am going wrong. &lt;/P&gt;

&lt;H3&gt;Example logs that were merged -&lt;/H3&gt;

&lt;PRE&gt;&lt;CODE&gt;2019-06-12 04:06:56 10.1.1.1 GET SOMEURL=1234512244 443 - 10.2.2.2 - - 200 0 0 15
2019-06-12 04:06:56 10.11.11.1 GET SOMEURL 1 443 - 10.2.2.2 - - 200 0 0 31
2019-06-12 04:06:56 10.1.11.1 GET SOMEURL 443 - 10.2.2.2 - - 200 0 0 46
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;H3&gt;props.conf&lt;/H3&gt;

&lt;PRE&gt;&lt;CODE&gt;[ms:iis:default]
MAX_TIMESTAMP_LOOKAHEAD = 20
SHOULD_LINEMERGE = false
TIME_PREFIX = ^ 
TIME_FORMAT = %Y-%m-%d %H:%M:%S 
SHOULD_LINEMERGE = False 
LINE_BREAKER = ([\n\r]+)\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2} 
TRUNCATE = 4000
TZ=UTC
MAX_DAYS_AGO = 1
MAX_DAYS_HENCE = 2
EVENT_BREAKER_ENABLE = true 
EVENT_BREAKER = ([\n\r]+)\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hoping a second set of eyes will see where I went wrong? &lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 23:12:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Not-Working-for-some-IIS-logs/m-p/424737#M74492</guid>
      <dc:creator>daniel333</dc:creator>
      <dc:date>2019-06-12T23:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking Not Working for some IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Not-Working-for-some-IIS-logs/m-p/424738#M74493</link>
      <description>&lt;P&gt;Hi daniel333,&lt;BR /&gt;
why did you used LINE_BREAKER and EVENT_BREAKER if you have SHOULD_LINEMERGE=false?&lt;BR /&gt;
As you can see at &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.0/Admin/Propsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.0/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;When using LINE_BREAKER to delimit events, SHOULD_LINEMERGE should be set to false, to ensure no further combination of delimited events occurs.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;SHOULD_LINEMERGE=false is repeated two times.&lt;/P&gt;

&lt;P&gt;Anyway I don't see any other problem, maybe in the wrong logs there's some problem in Line Feed, try to see this.&lt;BR /&gt;
In addition check if the timestamp format is the same in both the logs.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:54:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Not-Working-for-some-IIS-logs/m-p/424738#M74493</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-30T00:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Line Breaking Not Working for some IIS logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Not-Working-for-some-IIS-logs/m-p/424739#M74494</link>
      <description>&lt;P&gt;Are you not using the Splunk Add-on for Microsoft IIS to parse your IIS events ? &lt;A href="https://splunkbase.splunk.com/app/3185/" target="_blank"&gt;https://splunkbase.splunk.com/app/3185/&lt;/A&gt;&lt;BR /&gt;
I would assume that you are.&lt;BR /&gt;
I've been using this in the past and I never had to make any customizations to make things working.&lt;/P&gt;

&lt;P&gt;From the Addon, I see the props.conf have the following stanza:&lt;/P&gt;

&lt;P&gt;[ms:iis:default]&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 23&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
REPORT-auto_kv_for_iis_default = auto_kv_for_iis_default&lt;/P&gt;

&lt;P&gt;But in your settings, I see you have additionally defined LINE_BREAKER, EVENT_BREAKER etc. rules.&lt;BR /&gt;
I'd suggest to use the default settings that come out of the box with Add On and it should work smooth.&lt;/P&gt;

&lt;P&gt;Please accept as answer if this post responds your query&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:54:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Breaking-Not-Working-for-some-IIS-logs/m-p/424739#M74494</guid>
      <dc:creator>amitm05</dc:creator>
      <dc:date>2020-09-30T00:54:31Z</dc:date>
    </item>
  </channel>
</rss>

