<?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: Event breaking in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Event-breaking/m-p/710484#M117347</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;03/02/2025 15:22:41 info: created keep-alive:
{
  "identifier": "gdghsjjsjjl",
  "info": {
    "category": "other",
  },
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example 1&lt;/P&gt;&lt;P&gt;Thats in the log file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;03/02/2025 15:22:41 info: created keep-alive:
{
  "identifier": "gdghsjjsjjl",
  &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example 1&lt;/P&gt;&lt;P&gt;This is the event in splunk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; info: created keep-alive:
{
  "identifier": "gdghsjjsjjl",
  "info": {
    "category": "other",
  },
}
03/02/2025 15:22:41 this is a test log&lt;/PRE&gt;&lt;P&gt;Example 2&lt;/P&gt;&lt;P&gt;This is in the log file.&lt;/P&gt;&lt;P&gt;Both of this events will be collected as 1&lt;/P&gt;</description>
    <pubDate>Mon, 03 Feb 2025 14:20:32 GMT</pubDate>
    <dc:creator>Amith55555</dc:creator>
    <dc:date>2025-02-03T14:20:32Z</dc:date>
    <item>
      <title>Event breaking</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-breaking/m-p/710472#M117339</link>
      <description>&lt;P&gt;Hey, i have a problem with event breaking. My app outputs logs that starts with date and time in the format 15/05/2024 16:35:45&lt;/P&gt;&lt;P&gt;Some events have an object in them and can be accross multiple lines. But every event starts with date and time.&lt;/P&gt;&lt;P&gt;For some reason splunk sometimes combine two events. And sometimes cut off an event who has an object in it.&lt;/P&gt;&lt;P&gt;I tried multiple configs in the props.conf such as LINE_BREAKER , SHOULD_LINEMERGE, and more.&lt;/P&gt;&lt;P&gt;Im new to splunk and i would be grateful if u can help me&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 13:34:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-breaking/m-p/710472#M117339</guid>
      <dc:creator>Amith55555</dc:creator>
      <dc:date>2025-02-03T13:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Event breaking</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-breaking/m-p/710473#M117340</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/273098"&gt;@Amith55555&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;could you share some sample (eventually anonymized) of your logs of both types?&lt;/P&gt;&lt;P&gt;please in text format (not screenshot!) using the "Insert/Edit code sample" button.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 13:40:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-breaking/m-p/710473#M117340</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-02-03T13:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Event breaking</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-breaking/m-p/710479#M117346</link>
      <description>&lt;P&gt;Can't do anything without knowing your actual data &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; (possibly anonymized if it contains sensitive information somewhere in the middle).&lt;/P&gt;&lt;P&gt;As long as you don't have valid data which looks like a timestamp in the middle of your multiline event, you will probably be good with something like (might need adjusting to your date format)&lt;/P&gt;&lt;PRE&gt;LINE_BREAKER=([\r\n]+)\d{2}/\d{2}/\d{4}&lt;/PRE&gt;&lt;P&gt;And don't touch SHOULD_LINEMERGE - it should be set to false and never ever changed to true (honestly, there are almost no valid use cases for it to be set to true).&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 14:05:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-breaking/m-p/710479#M117346</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-02-03T14:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Event breaking</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-breaking/m-p/710484#M117347</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;03/02/2025 15:22:41 info: created keep-alive:
{
  "identifier": "gdghsjjsjjl",
  "info": {
    "category": "other",
  },
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example 1&lt;/P&gt;&lt;P&gt;Thats in the log file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;03/02/2025 15:22:41 info: created keep-alive:
{
  "identifier": "gdghsjjsjjl",
  &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example 1&lt;/P&gt;&lt;P&gt;This is the event in splunk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; info: created keep-alive:
{
  "identifier": "gdghsjjsjjl",
  "info": {
    "category": "other",
  },
}
03/02/2025 15:22:41 this is a test log&lt;/PRE&gt;&lt;P&gt;Example 2&lt;/P&gt;&lt;P&gt;This is in the log file.&lt;/P&gt;&lt;P&gt;Both of this events will be collected as 1&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 14:20:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-breaking/m-p/710484#M117347</guid>
      <dc:creator>Amith55555</dc:creator>
      <dc:date>2025-02-03T14:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Event breaking</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-breaking/m-p/710494#M117352</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/273098"&gt;@Amith55555&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Does the following work for you?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)(\d{2}\/\d{2}\/\d{4}\s\d{2}:\d{2}:\d{2})
TIME_PREFIX = ^
TIME_FORMAT = %d/%m/%Y %H:%M:%S&lt;/LI-CODE&gt;&lt;P&gt;This assumes your date format is DD/MM/YYYY not MM/DD/YYYY but feel free to tweak if required.&lt;BR /&gt;Let me know how you get on!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 15:21:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-breaking/m-p/710494#M117352</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-02-03T15:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Event breaking</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-breaking/m-p/710506#M117357</link>
      <description>&lt;P&gt;No, i get the same result. Thanks tho&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 16:02:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-breaking/m-p/710506#M117357</guid>
      <dc:creator>Amith55555</dc:creator>
      <dc:date>2025-02-03T16:02:04Z</dc:date>
    </item>
  </channel>
</rss>

