<?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 Monitoring logs on a Windows forwarder, how do I configure line breaking so each line is a separate event? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-logs-on-a-Windows-forwarder-how-do-I-configure-line/m-p/239001#M46422</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a forwarder on a Windows server that is pulling logs from a folder. Logs are in a single file (multiple lines - each line per event).&lt;BR /&gt;
Each event for that index contains multiple lines in Splunk.&lt;BR /&gt;
I would like Splunk to separate lines so each line appears as a new event.&lt;BR /&gt;
Please help me achieve this. I want to extract fields, but to do it, I need to have each line as a separate event.&lt;/P&gt;

&lt;P&gt;Right now events look like this:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1538iA68430E2FAF53F4E/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2016 18:39:23 GMT</pubDate>
    <dc:creator>pashtet13</dc:creator>
    <dc:date>2016-07-06T18:39:23Z</dc:date>
    <item>
      <title>Monitoring logs on a Windows forwarder, how do I configure line breaking so each line is a separate event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-logs-on-a-Windows-forwarder-how-do-I-configure-line/m-p/239001#M46422</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a forwarder on a Windows server that is pulling logs from a folder. Logs are in a single file (multiple lines - each line per event).&lt;BR /&gt;
Each event for that index contains multiple lines in Splunk.&lt;BR /&gt;
I would like Splunk to separate lines so each line appears as a new event.&lt;BR /&gt;
Please help me achieve this. I want to extract fields, but to do it, I need to have each line as a separate event.&lt;/P&gt;

&lt;P&gt;Right now events look like this:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1538iA68430E2FAF53F4E/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 18:39:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-logs-on-a-Windows-forwarder-how-do-I-configure-line/m-p/239001#M46422</guid>
      <dc:creator>pashtet13</dc:creator>
      <dc:date>2016-07-06T18:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring logs on a Windows forwarder, how do I configure line breaking so each line is a separate event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-logs-on-a-Windows-forwarder-how-do-I-configure-line/m-p/239002#M46423</link>
      <description>&lt;P&gt;What you need is to configure Line breaking for your log on Indexer/Heavy forwarder. Have a look at this to understand how splunk processes a log file data&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/Data/Configureeventlinebreaking"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/Data/Configureeventlinebreaking&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;So, configure following on your indexer/Heavy forwarder&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetype]
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Jul 2016 18:46:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-logs-on-a-Windows-forwarder-how-do-I-configure-line/m-p/239002#M46423</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-07-06T18:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring logs on a Windows forwarder, how do I configure line breaking so each line is a separate event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-logs-on-a-Windows-forwarder-how-do-I-configure-line/m-p/239003#M46424</link>
      <description>&lt;P&gt;&lt;CODE&gt;SHOULD_LINEMERGE = false&lt;/CODE&gt; in &lt;CODE&gt;props.conf&lt;/CODE&gt; for the source, should do it.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 18:50:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-logs-on-a-Windows-forwarder-how-do-I-configure-line/m-p/239003#M46424</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-07-06T18:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring logs on a Windows forwarder, how do I configure line breaking so each line is a separate event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-logs-on-a-Windows-forwarder-how-do-I-configure-line/m-p/239004#M46425</link>
      <description>&lt;P&gt;Thanks. I saw this document before. The issue is that there is no props.conf file in $SPLUNK_HOME/etc/system/local/&lt;BR /&gt;
Our Splunk was initially configured by the consultant, that's why it's hard to make changes now.&lt;BR /&gt;
I am pulling data with the deployment app I created. Should I create a props.conf file under the app itself?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 19:24:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-logs-on-a-Windows-forwarder-how-do-I-configure-line/m-p/239004#M46425</guid>
      <dc:creator>pashtet13</dc:creator>
      <dc:date>2016-07-06T19:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring logs on a Windows forwarder, how do I configure line breaking so each line is a separate event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-logs-on-a-Windows-forwarder-how-do-I-configure-line/m-p/239005#M46426</link>
      <description>&lt;P&gt;Just create a new props.conf file with the desired configuration in $SPLUNK_HOME/etc/system/local/ on your indexer.&lt;/P&gt;

&lt;P&gt;Make sure to restart Splunk to apply the changes.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 06:47:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-logs-on-a-Windows-forwarder-how-do-I-configure-line/m-p/239005#M46426</guid>
      <dc:creator>aosso</dc:creator>
      <dc:date>2016-07-07T06:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring logs on a Windows forwarder, how do I configure line breaking so each line is a separate event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitoring-logs-on-a-Windows-forwarder-how-do-I-configure-line/m-p/239006#M46427</link>
      <description>&lt;P&gt;Ideally you'll want to deploy as many changes as possible using the Deployment Server if you have one. But if you can't figure that out, than yes the changes mentioned above should get you where you need to go. &lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 12:03:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitoring-logs-on-a-Windows-forwarder-how-do-I-configure-line/m-p/239006#M46427</guid>
      <dc:creator>ryanoconnor</dc:creator>
      <dc:date>2016-07-07T12:03:06Z</dc:date>
    </item>
  </channel>
</rss>

