<?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 configure Splunk to break my sample log data into separate events, not one combined event? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-break-my-sample-log-data-into/m-p/245821#M47523</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;All great answers but I have splunk cloud and therefore no access to props.conf.&lt;/P&gt;

&lt;P&gt;I did try this but..... now I get no events &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[root@pds2 bin]# ./splunk add monitor /home/icontrol/ucontrol/logs/gatewaySync.log -index pds2 -sourcetype _json
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any way to do this just by using inputs.conf???&lt;/P&gt;</description>
    <pubDate>Thu, 25 Aug 2016 15:40:28 GMT</pubDate>
    <dc:creator>dbcase</dc:creator>
    <dc:date>2016-08-25T15:40:28Z</dc:date>
    <item>
      <title>How to configure Splunk to break my sample log data into separate events, not one combined event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-break-my-sample-log-data-into/m-p/245818#M47520</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have the below log data:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;16:37:56.875 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG splunk - {'externalRefId':'exr654321','message':'input: {"wifiNetwork":{"ssidName":"YOCTO_2.1S9","securityPassphrase":"xxxxxxx"}}'}
16:37:56.883 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG splunk - {'externalRefId':'exr654321','message':'Calling &lt;A href="https://csp-stg.codebig2.net/selfhelp/account/exr654321/services/home/wifiNetwork'}" target="test_blank"&gt;https://csp-stg.codebig2.net/selfhelp/account/exr654321/services/home/wifiNetwork'}&lt;/A&gt;
16:37:57.296 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG splunk - {'externalRefId':'exr654321','message':'RMA service return 202','serverResponseTimeMs':'413'}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and whenever it is imported into Splunk using the Universal Forwarder, it treats it as one event   (see image)&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1765i0B4EA0493782C10B/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;How can I get Splunk to separate each line?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 21:55:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-break-my-sample-log-data-into/m-p/245818#M47520</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-08-24T21:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk to break my sample log data into separate events, not one combined event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-break-my-sample-log-data-into/m-p/245819#M47521</link>
      <description>&lt;P&gt;Try adding this to your &lt;CODE&gt;props.conf&lt;/CODE&gt; on the indexer and restart splunk&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype_stanza_name]
SHOULD_LINEMERGE=true
TIME_FORMAT=%H:%M:%S.%3N
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Aug 2016 22:25:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-break-my-sample-log-data-into/m-p/245819#M47521</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-24T22:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk to break my sample log data into separate events, not one combined event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-break-my-sample-log-data-into/m-p/245820#M47522</link>
      <description>&lt;P&gt;It looks like you are relying on Splunk to detect your events, given the sourcetype name of gatewaySync-too_small. I recommend you are explicit in defining your sourcetype on the receiving indexer(s) by creating a props.conf file and specifying the settings you want to apply.&lt;/P&gt;

&lt;P&gt;Try this: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetypename]
BREAK_ONLY_BEFORE=^\d+:\d+:d+\.\d+
SHOULD_LINEMERGE=false
TIME_FORMAT=%H:%M:%S.%3N
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then set &lt;STRONG&gt;sourcetype=yoursourcetypename&lt;/STRONG&gt; in inputs.conf on your forwarder.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.slideshare.net/Splunk/data-onboarding-61048253"&gt;This presentation&lt;/A&gt; may be helpful, if you are new to Splunk; relevant stuff starting on slide 23.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 23:45:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-break-my-sample-log-data-into/m-p/245820#M47522</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2016-08-24T23:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk to break my sample log data into separate events, not one combined event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-break-my-sample-log-data-into/m-p/245821#M47523</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;All great answers but I have splunk cloud and therefore no access to props.conf.&lt;/P&gt;

&lt;P&gt;I did try this but..... now I get no events &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[root@pds2 bin]# ./splunk add monitor /home/icontrol/ucontrol/logs/gatewaySync.log -index pds2 -sourcetype _json
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any way to do this just by using inputs.conf???&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 15:40:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-break-my-sample-log-data-into/m-p/245821#M47523</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2016-08-25T15:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk to break my sample log data into separate events, not one combined event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-break-my-sample-log-data-into/m-p/245822#M47524</link>
      <description>&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/149597/im-struggling-with-how-i-should-be-doing-inputs-and-also-props-transforms-etc-stuff-within-splunk-cloud.html"&gt;This answers post&lt;/A&gt; should give you a pretty good overview of how to work with SplunkCloud for both search-time as well as index-time settings. &lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2016 23:50:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-break-my-sample-log-data-into/m-p/245822#M47524</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2016-08-30T23:50:08Z</dc:date>
    </item>
  </channel>
</rss>

