<?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: How to merge all lines into one single event? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437286#M76266</link>
    <description>&lt;P&gt;Finally I solved by putting the following rows of my props.conf into the deployment server and also the index server:&lt;/P&gt;

&lt;P&gt;[CatTools:Firewall:ASA-CLI]&lt;BR /&gt;
SHOULD_LINEMERGE = TRUE&lt;BR /&gt;
LINE_BREAKER = (ALL_ROWS_INTO_ONE_EVENT)&lt;BR /&gt;
DATETIME_CONFIG = CURRENT&lt;BR /&gt;
TRUNCATE = 0&lt;BR /&gt;
MAX_EVENTS = 100000&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 21:08:22 GMT</pubDate>
    <dc:creator>danielearangiom</dc:creator>
    <dc:date>2020-09-29T21:08:22Z</dc:date>
    <item>
      <title>How to merge all lines into one single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437278#M76258</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
How can I merge all lines of a config file into one single event?&lt;BR /&gt;
My inputs.conf is:&lt;/P&gt;

&lt;P&gt;[monitor:D:\CatTools3\Config.Current.Running.ASA-CLI.txt]&lt;BR /&gt;
sourcetype = CatTools:Firewall:ASA-CLI&lt;BR /&gt;
host_regex = Config.Current.Running.(?P.+)&lt;BR /&gt;
index = eli&lt;/P&gt;

&lt;P&gt;And my props.conf is:&lt;BR /&gt;
[CatTools:Firewall:ASA-CLI]&lt;BR /&gt;
SHOULD_LINEMERGE = TRUE&lt;/P&gt;

&lt;P&gt;But on Splunk search, each line is a single event, so now I have more than 5000 events instead of one event of 5000 lines.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 11:06:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437278#M76258</guid>
      <dc:creator>danielearangiom</dc:creator>
      <dc:date>2018-08-31T11:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge all lines into one single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437279#M76259</link>
      <description>&lt;P&gt;After modifying props.conf you must restart your indexer(s) for the change to take effect.&lt;BR /&gt;
Changes to props.conf only apply to NEW data.  Events already indexed will not change.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 11:58:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437279#M76259</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-08-31T11:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge all lines into one single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437280#M76260</link>
      <description>&lt;P&gt;Done, same as before&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 13:30:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437280#M76260</guid>
      <dc:creator>danielearangiom</dc:creator>
      <dc:date>2018-08-31T13:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge all lines into one single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437281#M76261</link>
      <description>&lt;P&gt;How are you breaking events?  The default setting is by line, even with line merging turned on.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 15:41:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437281#M76261</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-08-31T15:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge all lines into one single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437282#M76262</link>
      <description>&lt;P&gt;What do you mean? Where can i see this setting?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 15:59:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437282#M76262</guid>
      <dc:creator>danielearangiom</dc:creator>
      <dc:date>2018-08-31T15:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge all lines into one single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437283#M76263</link>
      <description>&lt;P&gt;It will be in props.conf.  If you have access to the CLI, run this command.  It will show all of the properties for that sourcetype.  Look for &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt;, which is probably set to the default value of "([\r\n]+)".  You should change the value in parentheses to something that separates one event from another.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk btool --debug props list CatTools:Firewall:ASA-CLI | more
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 31 Aug 2018 20:13:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437283#M76263</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-08-31T20:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge all lines into one single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437284#M76264</link>
      <description>&lt;P&gt;Try this in props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[CatTools:Firewall:ASA-CLI]
SHOULD_LINEMERGE = false
BREAK_ONLY_BEFORE=gobbldegook
MAX_EVENTS=200000
LINE_BREAKER = ((*FAIL))
TRUNCATE=99999999
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The break only before and line breaker above are set to something that should not match in the source file.&lt;BR /&gt;
There is also a 500 line default for max events which we are bypassing above.&lt;BR /&gt;
The result should be that the entire ASA config is imported as a single event.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Sep 2018 22:33:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437284#M76264</guid>
      <dc:creator>Lazarix</dc:creator>
      <dc:date>2018-09-02T22:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge all lines into one single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437285#M76265</link>
      <description>&lt;P&gt;Same as before, nothing change.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 08:32:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437285#M76265</guid>
      <dc:creator>danielearangiom</dc:creator>
      <dc:date>2018-09-03T08:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge all lines into one single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437286#M76266</link>
      <description>&lt;P&gt;Finally I solved by putting the following rows of my props.conf into the deployment server and also the index server:&lt;/P&gt;

&lt;P&gt;[CatTools:Firewall:ASA-CLI]&lt;BR /&gt;
SHOULD_LINEMERGE = TRUE&lt;BR /&gt;
LINE_BREAKER = (ALL_ROWS_INTO_ONE_EVENT)&lt;BR /&gt;
DATETIME_CONFIG = CURRENT&lt;BR /&gt;
TRUNCATE = 0&lt;BR /&gt;
MAX_EVENTS = 100000&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:08:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437286#M76266</guid>
      <dc:creator>danielearangiom</dc:creator>
      <dc:date>2020-09-29T21:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge all lines into one single event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437287#M76267</link>
      <description>&lt;P&gt;@danielearangiomazza If your problem is resolved, please accept an answer to help future readers.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 14:18:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-merge-all-lines-into-one-single-event/m-p/437287#M76267</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-09-04T14:18:59Z</dc:date>
    </item>
  </channel>
</rss>

