<?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 splunk not parsing txt file from forwarder correctly in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/splunk-not-parsing-txt-file-from-forwarder-correctly/m-p/137686#M28328</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;One of my forwarders is monitoring a directory where timestamped files populate every five minutes.  The text output in the file includes a few-line header from the script along with all the results.  The results are in the format "user ~ message"&lt;/P&gt;

&lt;P&gt;For some reason, splunk is reading the ENTIRE file (source) as one log event.  This is what's in my inputs file:&lt;/P&gt;

&lt;P&gt;[monitor://D:\badPwdCount\logs\HIGH*.txt]&lt;/P&gt;

&lt;P&gt;sourcetype = OVD_PW&lt;/P&gt;

&lt;P&gt;disabled = false&lt;/P&gt;

&lt;P&gt;SHOULD_LINEMERGE= false&lt;/P&gt;

&lt;P&gt;crcSalt = &lt;SOURCE&gt;&lt;/SOURCE&gt;&lt;/P&gt;

&lt;P&gt;SOURCE is in between &amp;lt;&amp;gt; for crcSALT but it won't show up in comments.  The issue is that Splunk is either picking up the entire file as an event, or a few events at a time as 1 event.  Is a separate timestamp/unique identifier required for each line?&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jul 2014 18:03:46 GMT</pubDate>
    <dc:creator>bcusick</dc:creator>
    <dc:date>2014-07-10T18:03:46Z</dc:date>
    <item>
      <title>splunk not parsing txt file from forwarder correctly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-not-parsing-txt-file-from-forwarder-correctly/m-p/137686#M28328</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;One of my forwarders is monitoring a directory where timestamped files populate every five minutes.  The text output in the file includes a few-line header from the script along with all the results.  The results are in the format "user ~ message"&lt;/P&gt;

&lt;P&gt;For some reason, splunk is reading the ENTIRE file (source) as one log event.  This is what's in my inputs file:&lt;/P&gt;

&lt;P&gt;[monitor://D:\badPwdCount\logs\HIGH*.txt]&lt;/P&gt;

&lt;P&gt;sourcetype = OVD_PW&lt;/P&gt;

&lt;P&gt;disabled = false&lt;/P&gt;

&lt;P&gt;SHOULD_LINEMERGE= false&lt;/P&gt;

&lt;P&gt;crcSalt = &lt;SOURCE&gt;&lt;/SOURCE&gt;&lt;/P&gt;

&lt;P&gt;SOURCE is in between &amp;lt;&amp;gt; for crcSALT but it won't show up in comments.  The issue is that Splunk is either picking up the entire file as an event, or a few events at a time as 1 event.  Is a separate timestamp/unique identifier required for each line?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2014 18:03:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-not-parsing-txt-file-from-forwarder-correctly/m-p/137686#M28328</guid>
      <dc:creator>bcusick</dc:creator>
      <dc:date>2014-07-10T18:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: splunk not parsing txt file from forwarder correctly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-not-parsing-txt-file-from-forwarder-correctly/m-p/137687#M28329</link>
      <description>&lt;P&gt;What settings are you using for that sourcetype in props.conf on the indexer(s)?&lt;BR /&gt;
Additionally, do post some sample data.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2014 19:03:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-not-parsing-txt-file-from-forwarder-correctly/m-p/137687#M28329</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-07-10T19:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: splunk not parsing txt file from forwarder correctly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-not-parsing-txt-file-from-forwarder-correctly/m-p/137688#M28330</link>
      <description>&lt;P&gt;&lt;CODE&gt;SHOULD_LINEMERGE= false&lt;/CODE&gt; does not go in &lt;CODE&gt;inputs.conf&lt;/CODE&gt; - it goes in &lt;CODE&gt;props.conf&lt;/CODE&gt; like so&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[OVD_PW]
SHOULD_LINEMERGE= false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I think that is the problem here.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2014 00:10:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-not-parsing-txt-file-from-forwarder-correctly/m-p/137688#M28330</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-07-11T00:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: splunk not parsing txt file from forwarder correctly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-not-parsing-txt-file-from-forwarder-correctly/m-p/137689#M28331</link>
      <description>&lt;P&gt;You should tell Splunk how an event looks like in order to split the events correctly.&lt;/P&gt;

&lt;P&gt;Could you post a sample of your data ?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2014 15:12:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-not-parsing-txt-file-from-forwarder-correctly/m-p/137689#M28331</guid>
      <dc:creator>ofrachon</dc:creator>
      <dc:date>2014-07-11T15:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: splunk not parsing txt file from forwarder correctly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-not-parsing-txt-file-from-forwarder-correctly/m-p/137690#M28332</link>
      <description>&lt;P&gt;I added a field to the log records for "line number" which is basically "log record" and this worked like a charm. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2014 14:55:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-not-parsing-txt-file-from-forwarder-correctly/m-p/137690#M28332</guid>
      <dc:creator>bcusick</dc:creator>
      <dc:date>2014-08-04T14:55:56Z</dc:date>
    </item>
  </channel>
</rss>

