<?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: Trying to Split one Event into Multiple Events in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394305#M70375</link>
    <description>&lt;P&gt;That did that trick. &lt;/P&gt;

&lt;P&gt;Thank you so much, didn't realize it was such an easy fix.&lt;/P&gt;</description>
    <pubDate>Wed, 09 May 2018 15:19:36 GMT</pubDate>
    <dc:creator>jordankswan</dc:creator>
    <dc:date>2018-05-09T15:19:36Z</dc:date>
    <item>
      <title>Trying to Split one Event into Multiple Events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394303#M70373</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am trying to split a Splunk event into multiple events. I just want each line to be an event, and it was my understanding that this is Splunk's default line breaking attitude as long as each line has a time stamp. &lt;/P&gt;

&lt;P&gt;I am doing some TraceRoutes from various locations and having them output to a log file that I am sending to Splunk. I have been able to add a timestamp to each line and this made most of the lines be their own Splunk event, but the last 3 or 4 hops get bundled together into a single event.&lt;/P&gt;

&lt;P&gt;Here is an example of the lines that Splunk is putting into a single event:&lt;/P&gt;

&lt;P&gt;May 09 08:00:31   9.|-- fw.edge-sc9.elliemae.com   0.0%    30   78.4  78.5  78.2  81.7   0.6&lt;BR /&gt;
May 09 08:00:31  10.|-- fw.edge-sc9.elliemae.com   0.0%    30   79.0  79.1  78.8  79.6   0.0&lt;BR /&gt;
May 09 08:00:31  11.|-- be11147453.ea.elliemae.ne  0.0%    30   78.4  78.6  78.4  79.5   0.0&lt;/P&gt;

&lt;P&gt;Note that each line for hops 1-8 have been split up into their own individual events.&lt;/P&gt;

&lt;P&gt;Please let me know if I just need to make a simple edit to the props.conf or something else.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Jordan&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 14:10:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394303#M70373</guid>
      <dc:creator>jordankswan</dc:creator>
      <dc:date>2018-05-09T14:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to Split one Event into Multiple Events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394304#M70374</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SHOULD_LINEMERGE = [true|false]
* When set to true, Splunk combines several lines of data into a single
  multi-line event, based on the following configuration attributes.
* Defaults to true.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you set that to false for your sourcetype, every line will be one event.&lt;/P&gt;

&lt;P&gt;Hope that helps - if it does I'd be happy if you would upvote/accept this answer, so others could profit from it. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 15:01:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394304#M70374</guid>
      <dc:creator>xpac</dc:creator>
      <dc:date>2018-05-09T15:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to Split one Event into Multiple Events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394305#M70375</link>
      <description>&lt;P&gt;That did that trick. &lt;/P&gt;

&lt;P&gt;Thank you so much, didn't realize it was such an easy fix.&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 15:19:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394305#M70375</guid>
      <dc:creator>jordankswan</dc:creator>
      <dc:date>2018-05-09T15:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to Split one Event into Multiple Events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394306#M70376</link>
      <description>&lt;P&gt;Actually, false alarm, it worked for two pulls of the logs but it is back to doing the same thing even though I have made changes to the props.conf file and restarted our Splunk server.&lt;/P&gt;

&lt;P&gt;The sourcetype for these logs is [MTR]&lt;/P&gt;

&lt;P&gt;and here is the entry in my props.conf file:&lt;BR /&gt;
[MTR]&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 15:46:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394306#M70376</guid>
      <dc:creator>jordankswan</dc:creator>
      <dc:date>2018-05-09T15:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to Split one Event into Multiple Events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394307#M70377</link>
      <description>&lt;P&gt;Go to the CLI and try a &lt;CODE&gt;splunk bool props list MTR&lt;/CODE&gt; and see what value is set there, please. &lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 20:35:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394307#M70377</guid>
      <dc:creator>xpac</dc:creator>
      <dc:date>2018-05-09T20:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to Split one Event into Multiple Events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394308#M70378</link>
      <description>&lt;P&gt;Nice hint using &lt;CODE&gt;btool&lt;/CODE&gt;, but here is a &lt;STRONG&gt;BUT&lt;/STRONG&gt; : you must be aware that &lt;CODE&gt;btool&lt;/CODE&gt; does not necessarily shows the config Splunk is using. Here is the quote from the docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Troubleshooting/Usebtooltotroubleshootconfigurations"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Troubleshooting/Usebtooltotroubleshootconfigurations&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Btool displays merged on-disk configurations. That is, btool shows you the merged settings in the       .conf files. It does not necessarily show you what Splunk software is currently using. 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 20:53:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394308#M70378</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2018-05-09T20:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to Split one Event into Multiple Events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394309#M70379</link>
      <description>&lt;P&gt;Here are the results of that command:&lt;/P&gt;

&lt;P&gt;[MTR]&lt;BR /&gt;
ADD_EXTRA_TIME_FIELDS = True&lt;BR /&gt;
ANNOTATE_PUNCT = True&lt;BR /&gt;
AUTO_KV_JSON = true&lt;BR /&gt;
BREAK_ONLY_BEFORE =&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE = True&lt;BR /&gt;
CHARSET = UTF-8&lt;BR /&gt;
DATETIME_CONFIG = /etc/datetime.xml&lt;BR /&gt;
DEPTH_LIMIT = 1000&lt;BR /&gt;
HEADER_MODE =&lt;BR /&gt;
LEARN_MODEL = true&lt;BR /&gt;
LEARN_SOURCETYPE = true&lt;BR /&gt;
LINE_BREAKER_LOOKBEHIND = 100&lt;BR /&gt;
MATCH_LIMIT = 100000&lt;BR /&gt;
MAX_DAYS_AGO = 2000&lt;BR /&gt;
MAX_DAYS_HENCE = 2&lt;BR /&gt;
MAX_DIFF_SECS_AGO = 3600&lt;BR /&gt;
MAX_DIFF_SECS_HENCE = 604800&lt;BR /&gt;
MAX_EVENTS = 256&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 128&lt;BR /&gt;
MUST_BREAK_AFTER =&lt;BR /&gt;
MUST_NOT_BREAK_AFTER =&lt;BR /&gt;
MUST_NOT_BREAK_BEFORE =&lt;BR /&gt;
SEGMENTATION = indexing&lt;BR /&gt;
SEGMENTATION-all = full&lt;BR /&gt;
SEGMENTATION-inner = inner&lt;BR /&gt;
SEGMENTATION-outer = outer&lt;BR /&gt;
SEGMENTATION-raw = none&lt;BR /&gt;
SEGMENTATION-standard = standard&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
TRANSFORMS =&lt;BR /&gt;
TRUNCATE = 10000&lt;BR /&gt;
detect_trailing_nulls = false&lt;BR /&gt;
maxDist = 100&lt;BR /&gt;
priority =&lt;BR /&gt;
sourcetype =&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:30:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394309#M70379</guid>
      <dc:creator>jordankswan</dc:creator>
      <dc:date>2020-09-29T19:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to Split one Event into Multiple Events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394310#M70380</link>
      <description>&lt;P&gt;You're absolutely right, you could use &lt;CODE&gt;splunk show config props&lt;/CODE&gt;and would than have to look for the MTR stanza, that would be the actual running config.&lt;BR /&gt;
When SHOULD_LINEMERGE is false and you didn't change the default linebreaker, it should really not create multi-line events... &lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 21:18:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394310#M70380</guid>
      <dc:creator>xpac</dc:creator>
      <dc:date>2018-05-09T21:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to Split one Event into Multiple Events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394311#M70381</link>
      <description>&lt;P&gt;Thats what I was thinking... I thought that it shouldn't be creating multi-line events....&lt;/P&gt;

&lt;P&gt;Here are the results from the "splunk show config props" cmd.&lt;/P&gt;

&lt;P&gt;[MTR]&lt;BR /&gt;
ADD_EXTRA_TIME_FIELDS=True&lt;BR /&gt;
ANNOTATE_PUNCT=True&lt;BR /&gt;
AUTO_KV_JSON=true&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE=True&lt;BR /&gt;
CHARSET=UTF-8&lt;BR /&gt;
DATETIME_CONFIG=/etc/datetime.xml&lt;BR /&gt;
DEPTH_LIMIT=1000&lt;BR /&gt;
LEARN_MODEL=true&lt;BR /&gt;
LEARN_SOURCETYPE=true&lt;BR /&gt;
LINE_BREAKER_LOOKBEHIND=100&lt;BR /&gt;
MATCH_LIMIT=100000&lt;BR /&gt;
MAX_DAYS_AGO=2000&lt;BR /&gt;
MAX_DAYS_HENCE=2&lt;BR /&gt;
MAX_DIFF_SECS_AGO=3600&lt;BR /&gt;
MAX_DIFF_SECS_HENCE=604800&lt;BR /&gt;
MAX_EVENTS=256&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD=128&lt;BR /&gt;
SEGMENTATION=indexing&lt;BR /&gt;
SEGMENTATION-all=full&lt;BR /&gt;
SEGMENTATION-inner=inner&lt;BR /&gt;
SEGMENTATION-outer=outer&lt;BR /&gt;
SEGMENTATION-raw=none&lt;BR /&gt;
SEGMENTATION-standard=standard&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
TRUNCATE=10000&lt;BR /&gt;
detect_trailing_nulls=false&lt;BR /&gt;
maxDist=100&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:30:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394311#M70381</guid>
      <dc:creator>jordankswan</dc:creator>
      <dc:date>2020-09-29T19:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to Split one Event into Multiple Events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394312#M70382</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/110985"&gt;@jordankswan&lt;/a&gt;, Besides setting the SHOULD_LINEMERGE have you checked &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; and &lt;CODE&gt;MAX_TIMESTAMP_LOOKAHEAD&lt;/CODE&gt; settings&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[MTR]
SHOULD_LINEMERGE=false
TIME_FORMAT=%b %d %H:%M:%S
MAX_TIMESTAMP_LOOKAHEAD=15
BREAK_ONLY_BEFORE_DATE=false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Since your Date field does not have Year I am expecting Splunk is not interpreting Date Time stamp correctly for some events and ends up merging them together.&lt;BR /&gt;
Please try above props.conf. PS: You would need to test with a test index and also drop events which are not indexed correctly in your previous attempts. If this does not work, please post the sample events where Event Breaking/Timestamp recognition did not work as expected.&lt;/P&gt;

&lt;P&gt;Also test us adding sample data file in the Data Preview mode to see upfront whether there are any issues with configurations files and sample data input. Refer to Documentation &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Data/Uploaddata" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Data/Uploaddata&lt;/A&gt; (Please change documentation version as per your Splunk Enterprise version)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:27:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394312#M70382</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-09-29T19:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to Split one Event into Multiple Events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394313#M70383</link>
      <description>&lt;P&gt;@niketnilay&lt;/P&gt;

&lt;P&gt;Thanks for your suggestion. I tried to add those lines to my props.conf file, but it didn't fix my issue. The events were still being grouped exactly as they were before, in the body of my question above. &lt;/P&gt;

&lt;P&gt;However, thank you so much for explaining why it was most likely doing this, as you were correct.&lt;/P&gt;

&lt;P&gt;I have control over how these log files are timestamping each line, so I just had to add the year in there and that fixed the issue.&lt;/P&gt;

&lt;P&gt;Thank you so much! &lt;/P&gt;

&lt;P&gt;Jordan&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 14:48:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394313#M70383</guid>
      <dc:creator>jordankswan</dc:creator>
      <dc:date>2018-05-10T14:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to Split one Event into Multiple Events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394314#M70384</link>
      <description>&lt;P&gt;Just wondering - with SHOULD_LINEMERGE set to false, shouldn't it create single-line events and not merge at all, no matter if it finds a timestamp or not? &lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 23:15:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-Split-one-Event-into-Multiple-Events/m-p/394314#M70384</guid>
      <dc:creator>xpac</dc:creator>
      <dc:date>2018-05-10T23:15:39Z</dc:date>
    </item>
  </channel>
</rss>

