<?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: Problems with File Import and props.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Problems-with-File-Import-and-props-conf/m-p/60790#M12095</link>
    <description>&lt;P&gt;What happens if you put the 'sourcetype=mysourcetypename' in your inputs.conf under the appropriate monitor stanzas?&lt;/P&gt;

&lt;P&gt;What happens if you disable the '[mysourcetype]' stanza?&lt;/P&gt;</description>
    <pubDate>Sun, 21 Aug 2011 15:26:14 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2011-08-21T15:26:14Z</dc:date>
    <item>
      <title>Problems with File Import and props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problems-with-File-Import-and-props-conf/m-p/60789#M12094</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;we use Splunk 4.1.7 and we would like to import once every night a file with the following content:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;19702800;  2;00;  5377;     0; 0; 0; 0;002/00;     5;     1158;     0; 8;001401;       22727;          11;      272042 
 19706400;  2;00;  2924;     0; 0; 0; 0;002/00;     4;     1158;     0; 8;001401;       12123;          12;      425960 
 19710000;  2;00;  1163;     0; 0; 0; 0;002/00;     1;     1158;     0; 8;001401;        4953;          12;      487065 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The file is about 3MB big.&lt;/P&gt;

&lt;P&gt;We want each line to be indexed in Splunk as a single event.&lt;BR /&gt;
For that purpose i wrote the following entry in our props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mysourcetypename]
KV_MODE = none
MAX_EVENTS = 1
SHOULD_LINEMERGE = false

[source::.../var/MYFILEWITHDATA.TXT]
sourcetype = mysourcetypename
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Despite this props.conf the first 258 lines of the file will always get imported as a big multiline event, before with line 259 Splunk starts to import each line as single events.&lt;BR /&gt;
I can´t find any problems within the datafile, so what is causing this behaviour and how can we get Splunk to break each line into a single event?&lt;/P&gt;

&lt;P&gt;Thank you in advance,&lt;/P&gt;

&lt;P&gt;with kind regards, Thomas Paulsen &lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2011 13:11:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problems-with-File-Import-and-props-conf/m-p/60789#M12094</guid>
      <dc:creator>tpaulsen</dc:creator>
      <dc:date>2011-08-19T13:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with File Import and props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problems-with-File-Import-and-props-conf/m-p/60790#M12095</link>
      <description>&lt;P&gt;What happens if you put the 'sourcetype=mysourcetypename' in your inputs.conf under the appropriate monitor stanzas?&lt;/P&gt;

&lt;P&gt;What happens if you disable the '[mysourcetype]' stanza?&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2011 15:26:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problems-with-File-Import-and-props-conf/m-p/60790#M12095</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2011-08-21T15:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with File Import and props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problems-with-File-Import-and-props-conf/m-p/60791#M12096</link>
      <description>&lt;P&gt;My inputs.conf looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/MYFILEWITHDATA.TXT]
disabled = false
host = splunk-a
index = idx_mystatistik
crcSalt = &amp;lt;SOURCE&amp;gt;
sourcetype = mysourcetypename
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If i don´t have the crcSalt stanza and the props.conf defintion, then everything gets imported as one single big chunky multilineevent. &lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2011 07:29:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problems-with-File-Import-and-props-conf/m-p/60791#M12096</guid>
      <dc:creator>tpaulsen</dc:creator>
      <dc:date>2011-08-22T07:29:58Z</dc:date>
    </item>
  </channel>
</rss>

