<?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: Merge logs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Merge-logs/m-p/487967#M136331</link>
    <description>&lt;P&gt;I wanted to do it at index time yes, the events are all part of the same Java error message &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2020 08:51:14 GMT</pubDate>
    <dc:creator>mastoras</dc:creator>
    <dc:date>2020-04-28T08:51:14Z</dc:date>
    <item>
      <title>Merge logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-logs/m-p/487965#M136329</link>
      <description>&lt;P&gt;Hello team&lt;/P&gt;

&lt;P&gt;I would like to merge more events into one, currently my events look like this:&lt;/P&gt;

&lt;P&gt;1st part&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{"log":"feign.FeignException$NotFound: status 404 reading xxxxx#getContractDataByContractUuidDynamicV1(String,String)\n","stream":"stdout","time":"2020-04-28T06:09:41.253478466Z","kubernetes":{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;source http:xxx-xxx-xxx&lt;/P&gt;

&lt;P&gt;2nd part&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{"log":"\tat feign.FeignException.clientErrorStatus(FeignException.java:165)\n","stream":"stdout","time":"2020-04-28T06:09:41.253535467Z","xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;3rd....nnth parts are following&lt;/P&gt;

&lt;P&gt;So in props.conf I created the stanza like this:&lt;/P&gt;

&lt;P&gt;[source::http:xxx-xxx-xxx]&lt;BR /&gt;
SHOULD_LINEMERGE = true&lt;BR /&gt;
MUST_NOT_BREAK_BEFORE =&lt;BR /&gt;
MUST_NOT_BREAK_AFTER = feign.FeignException\$NotFound&lt;BR /&gt;
MUST_BREAK_AFTER = INFO&lt;/P&gt;

&lt;P&gt;but still I do not see the events being merged. Any ideas where to check in order to debug?&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:14:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-logs/m-p/487965#M136329</guid>
      <dc:creator>mastoras</dc:creator>
      <dc:date>2020-09-30T05:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Merge logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-logs/m-p/487966#M136330</link>
      <description>&lt;P&gt;Hi @mastoras,&lt;BR /&gt;
do you want to merge events at index time or at search Time?&lt;BR /&gt;
in your question you seem to want to do this at index time, but your events seem to be different (every one has fields and a timestamp), and if you merge them at index time, it's more difficoult to use them.&lt;BR /&gt;
So probably it could be better to index them one by one and correlate them at search time using the methods by Splunk (transaction, stats, etc...).&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 06:50:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-logs/m-p/487966#M136330</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-04-28T06:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Merge logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-logs/m-p/487967#M136331</link>
      <description>&lt;P&gt;I wanted to do it at index time yes, the events are all part of the same Java error message &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 08:51:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-logs/m-p/487967#M136331</guid>
      <dc:creator>mastoras</dc:creator>
      <dc:date>2020-04-28T08:51:14Z</dc:date>
    </item>
  </channel>
</rss>

