<?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: forwarder creating multiline event from big file transferred via rsycn on slow channel in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/forwarder-creating-multiline-event-from-big-file-transferred-via/m-p/292426#M55701</link>
    <description>&lt;P&gt;Two ways to solve:&lt;/P&gt;

&lt;P&gt;option 1- &lt;BR /&gt;
Let the forwarder create multi-line. Use "transaction" keyword to group similar based on common field you prepare for.&lt;/P&gt;

&lt;P&gt;Option2-&lt;BR /&gt;
try using trail method for the log. Let rsync write to file.log, but use another crontab to send data to another file - rysnclistner.log.&lt;BR /&gt;
Now listen to this log file.&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Reason:&lt;/EM&gt;&lt;BR /&gt;
1. Changes the frequency of reading data for fowarder&lt;BR /&gt;
2. You can use it in form of Queue and data purges as new entries keeps come. (FIFO)&lt;/P&gt;

&lt;P&gt;Hope any of the option can help. But most important, we also would like to see some sample _raw to be able to decide.&lt;/P&gt;

&lt;P&gt;Thank You&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2017 12:10:08 GMT</pubDate>
    <dc:creator>anand_singh17</dc:creator>
    <dc:date>2017-06-09T12:10:08Z</dc:date>
    <item>
      <title>forwarder creating multiline event from big file transferred via rsycn on slow channel</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/forwarder-creating-multiline-event-from-big-file-transferred-via/m-p/292425#M55700</link>
      <description>&lt;P&gt;We have big file with events in each line of file. Every minute file transfers via rsync to forwarder with new events.&lt;BR /&gt;
Events format:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;timestamp="XXXX" login="YYY" action="ZZZ"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Size of file about 10Mb, with 15000 lines.&lt;BR /&gt;
Sometimes (1-2 times per minute) forwarder compile one event from multiple (usually 2) lines.&lt;BR /&gt;
Configs from forwarder:&lt;BR /&gt;
inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///file.log]
disabled = false
followTail = 1
index = f_logs
sourcetype = f_logs
multiline_event_extra_waittime = true
time_before_close = 10
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[f_logs]
TIME_PREFIX = timestamp=\"
TIME_FORMAT = %s
SHOULD_LINEMERGE = true
MAX_EVENTS = 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What i have to do to solve this problem?&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2017 16:26:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/forwarder-creating-multiline-event-from-big-file-transferred-via/m-p/292425#M55700</guid>
      <dc:creator>gots</dc:creator>
      <dc:date>2017-05-14T16:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: forwarder creating multiline event from big file transferred via rsycn on slow channel</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/forwarder-creating-multiline-event-from-big-file-transferred-via/m-p/292426#M55701</link>
      <description>&lt;P&gt;Two ways to solve:&lt;/P&gt;

&lt;P&gt;option 1- &lt;BR /&gt;
Let the forwarder create multi-line. Use "transaction" keyword to group similar based on common field you prepare for.&lt;/P&gt;

&lt;P&gt;Option2-&lt;BR /&gt;
try using trail method for the log. Let rsync write to file.log, but use another crontab to send data to another file - rysnclistner.log.&lt;BR /&gt;
Now listen to this log file.&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Reason:&lt;/EM&gt;&lt;BR /&gt;
1. Changes the frequency of reading data for fowarder&lt;BR /&gt;
2. You can use it in form of Queue and data purges as new entries keeps come. (FIFO)&lt;/P&gt;

&lt;P&gt;Hope any of the option can help. But most important, we also would like to see some sample _raw to be able to decide.&lt;/P&gt;

&lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 12:10:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/forwarder-creating-multiline-event-from-big-file-transferred-via/m-p/292426#M55701</guid>
      <dc:creator>anand_singh17</dc:creator>
      <dc:date>2017-06-09T12:10:08Z</dc:date>
    </item>
  </channel>
</rss>

