<?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: Multiple events from same indexed data in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Multiple-events-from-same-indexed-data/m-p/80289#M1156</link>
    <description>&lt;P&gt;Splunk's default event breaking behaviour unless you specify otherwise is to break into a new event whenever it finds a line with something it recognizes as a timestamp in. You can change this however you want by specifying other event breaking rules in props.conf. You could change the &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt; so that Splunk doesn't consider something to be the end of the line unless it specifies your regex. I find this approach can often get messy though, even if it's the best option performance-wise. The other option is to change the line merging options - have a look at &lt;CODE&gt;BREAK_ONLY_BEFORE_DATE&lt;/CODE&gt;, &lt;CODE&gt;BREAK_ONLY_BEFORE&lt;/CODE&gt;, &lt;CODE&gt;MUST_NOT_BREAK_AFTER&lt;/CODE&gt; etc.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2013 20:53:18 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2013-10-02T20:53:18Z</dc:date>
    <item>
      <title>Multiple events from same indexed data</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Multiple-events-from-same-indexed-data/m-p/80288#M1155</link>
      <description>&lt;P&gt;I've written  a script that polls a WebApi and after receiving the response streams the data into Splunk to be indexed . The response that is intended to be indexed is a large Json Object with more than 100 keys . I would aspect to see only one event after the script is runned containg the indexed json Object. Instead I see several events with the same timestamp ,each  containing s subset of keys from the received Json Object. Is this correct ? Can there be something done so that the entire Json object belongs to the same event ?&lt;/P&gt;

&lt;P&gt;I index the data into splunk through the following lines of code :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;print jsonObject
sys.sdout.flush()
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 20:36:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Multiple-events-from-same-indexed-data/m-p/80288#M1155</guid>
      <dc:creator>rantravee</dc:creator>
      <dc:date>2013-10-02T20:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple events from same indexed data</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Multiple-events-from-same-indexed-data/m-p/80289#M1156</link>
      <description>&lt;P&gt;Splunk's default event breaking behaviour unless you specify otherwise is to break into a new event whenever it finds a line with something it recognizes as a timestamp in. You can change this however you want by specifying other event breaking rules in props.conf. You could change the &lt;CODE&gt;LINE_BREAKER&lt;/CODE&gt; so that Splunk doesn't consider something to be the end of the line unless it specifies your regex. I find this approach can often get messy though, even if it's the best option performance-wise. The other option is to change the line merging options - have a look at &lt;CODE&gt;BREAK_ONLY_BEFORE_DATE&lt;/CODE&gt;, &lt;CODE&gt;BREAK_ONLY_BEFORE&lt;/CODE&gt;, &lt;CODE&gt;MUST_NOT_BREAK_AFTER&lt;/CODE&gt; etc.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 20:53:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Multiple-events-from-same-indexed-data/m-p/80289#M1156</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-10-02T20:53:18Z</dc:date>
    </item>
  </channel>
</rss>

