<?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: line breaking... in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68588#M13879</link>
    <description>&lt;P&gt;I'm using the universal forwarder. So, the props.conf needs to go on the index server? &lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2012 04:18:24 GMT</pubDate>
    <dc:creator>a212830</dc:creator>
    <dc:date>2012-02-09T04:18:24Z</dc:date>
    <item>
      <title>line breaking...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68583#M13874</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm stumped. I've been playing with the linebreaking trying to get the format properly, and it won't work. The format is below. I want each "Trap:" to begin a new event, down to the next "Trap:"  Any suggestions?&lt;/P&gt;

&lt;P&gt;Trap: 23708419&lt;BR /&gt;
        Wed Feb  8 02:01:11 2012&lt;BR /&gt;
        Src IP: 10.216.0.26&lt;BR /&gt;
        Agent IP: 10.216.0.26&lt;BR /&gt;
        Trap Type: Vendor Specific&lt;BR /&gt;
        Specific Type: 1&lt;BR /&gt;
        Enterprise: 1.3.6.1.4.1.9.9.41.2&lt;BR /&gt;
        Object:1.3.6.1.4.1.9.9.41.1.2.3.1.2.61290766 Value:PIM&lt;BR /&gt;
        Object:1.3.6.1.4.1.9.9.41.1.2.3.1.3.61290766 Value:5&lt;BR /&gt;
        Object:1.3.6.1.4.1.9.9.41.1.2.3.1.4.61290766 Value:INVALID_SRC_REG&lt;BR /&gt;
        Object:1.3.6.1.4.1.9.9.41.1.2.3.1.5.61290766 Value:Received Register from XX.XX.XX.XX for (XX.XX.XX.XX, XX.XX.XX.XXX), not willing to be RP&lt;BR /&gt;
        Object:1.3.6.1.4.1.9.9.41.1.2.3.1.6.61290766 Value:467d 06:45:53&lt;/P&gt;

&lt;P&gt;Trap: 23708420&lt;BR /&gt;
        Wed Feb  8 02:01:11 2012&lt;BR /&gt;
        Src IP: 1.2.3.4&lt;BR /&gt;
        Agent IP: 1.2.3.4&lt;BR /&gt;
        Trap Type: Authentication Failure&lt;BR /&gt;
        Specific Type: 0&lt;BR /&gt;
        Enterprise: 1.3.6.1.6.3.1.1.5&lt;BR /&gt;
        Object:1.3.6.1.4.1.9.2.1.5.0 Value:1.2.3.4&lt;BR /&gt;
        Object:1.3.6.1.4.1.9.9.412.1.1.1.0 Value:1&lt;BR /&gt;
        Object:1.3.6.1.4.1.9.9.412.1.1.2.0 Value:1.2.3.4&lt;/P&gt;

&lt;P&gt;Trap: 23708421&lt;BR /&gt;
        Wed Feb  8 02:01:11 2012&lt;BR /&gt;
        Src IP: 1.2.3.4&lt;BR /&gt;
        Agent IP: 1.2.3.4&lt;BR /&gt;
        Trap Type: Authentication Failure&lt;BR /&gt;
        Specific Type: 0&lt;BR /&gt;
        Enterprise: 1.3.6.1.6.3.1.1.5&lt;BR /&gt;
        Object:1.3.6.1.4.1.9.2.1.5.0 Value:1.2.3.4&lt;BR /&gt;
        Object:1.3.6.1.4.1.9.9.412.1.1.1.0 Value:1&lt;BR /&gt;
        Object:1.3.6.1.4.1.9.9.412.1.1.2.0 Value:1.2.3.4&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:22:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68583#M13874</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2020-09-28T11:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68584#M13875</link>
      <description>&lt;P&gt;You will need to configure props.conf like as bellow.&lt;/P&gt;

&lt;P&gt;[your_sourcetype]&lt;BR /&gt;
SHOULD_LINEMERGE = True&lt;BR /&gt;
BREAK_ONLY_BEFORE = Trap:&lt;/P&gt;

&lt;P&gt;You can also refer to following manual.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Indexmulti-lineevents" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Indexmulti-lineevents&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:22:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68584#M13875</guid>
      <dc:creator>Takajian</dc:creator>
      <dc:date>2020-09-28T11:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68585#M13876</link>
      <description>&lt;P&gt;Thanks. That almost works. It's putting the "Trap:" from the next event at the bottom of the previous event. The "Trap:" is the start of the event, and I want to include it.   Any way to do that? &lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2012 01:35:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68585#M13876</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2012-02-09T01:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68586#M13877</link>
      <description>&lt;P&gt;"Trap:" is the start of the event. If you break before "Trap:", you will see "Trap:" is first line of the indexed event. Please let me know if I have misunderstanding.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2012 01:40:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68586#M13877</guid>
      <dc:creator>Takajian</dc:creator>
      <dc:date>2012-02-09T01:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68587#M13878</link>
      <description>&lt;P&gt;Yeah, restarted the forwarder, and the results are below.&lt;/P&gt;

&lt;P&gt;Wed Feb  8 23:10:18 2012&lt;BR /&gt;
    Src IP: 1.2.3.4&lt;BR /&gt;
    Agent IP: 1.2.3.4&lt;BR /&gt;
    Trap Type: Authentication Failure&lt;BR /&gt;
    Specific Type: 0&lt;BR /&gt;
    Enterprise: 1.3.6.1.6.3.1.1.5&lt;BR /&gt;
    Object:1.3.6.1.4.1.9.2.1.5.0 Value:1.2.3.4&lt;BR /&gt;
Trap: 24780942&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2012 04:12:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68587#M13878</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2012-02-09T04:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68588#M13879</link>
      <description>&lt;P&gt;I'm using the universal forwarder. So, the props.conf needs to go on the index server? &lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2012 04:18:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68588#M13879</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2012-02-09T04:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68589#M13880</link>
      <description>&lt;P&gt;Yes, you need to put the props.conf on the index server.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2012 04:22:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68589#M13880</guid>
      <dc:creator>Takajian</dc:creator>
      <dc:date>2012-02-09T04:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68590#M13881</link>
      <description>&lt;P&gt;OK. I'll try that. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2012 04:22:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68590#M13881</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2012-02-09T04:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68591#M13882</link>
      <description>&lt;P&gt;That did it! Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2012 04:34:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68591#M13882</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2012-02-09T04:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68592#M13883</link>
      <description>&lt;P&gt;You need to vote for me, not your self.....&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2012 04:36:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68592#M13883</guid>
      <dc:creator>Takajian</dc:creator>
      <dc:date>2012-02-09T04:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68593#M13884</link>
      <description>&lt;P&gt;tHANKS! I appreciate it.&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2012 21:28:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68593#M13884</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2012-05-22T21:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68594#M13885</link>
      <description>&lt;P&gt;can you vote for me?&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2012 23:23:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68594#M13885</guid>
      <dc:creator>Takajian</dc:creator>
      <dc:date>2012-05-22T23:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68595#M13886</link>
      <description>&lt;P&gt;Are you using forwarder? Do you know where you should put props.conf in your deployment?&lt;/P&gt;

&lt;P&gt;If you are using light weight forwarder or universal forwarder, you need to put the props.conf on index server.&lt;BR /&gt;
If you are using other forwarder type(HF or regular forwarder), you will need to put the props.conf on forwarder, not index server. Please confirm if you put props.conf on appropriate location. You will also need to restart splunk to reflect the configuration.  &lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2015 21:25:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68595#M13886</guid>
      <dc:creator>Takajian</dc:creator>
      <dc:date>2015-07-06T21:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68596#M13887</link>
      <description>&lt;P&gt;No, you understand it, but that's not what's happening. See below from a search...&lt;/P&gt;

&lt;P&gt;Wed Feb  8 20:53:27 2012&lt;BR /&gt;
    Src IP: 1..2.3.4&lt;BR /&gt;
    Agent IP: 1.2.3.4&lt;BR /&gt;
    Trap Type: Vendor Specific&lt;BR /&gt;
    Specific Type: 0&lt;BR /&gt;
    Enterprise: 1.3.6.1.4.1.2620.1.5.6&lt;BR /&gt;
    Object:1.3.6.1.4.1.2620.1.5.6.0 Value:standby&lt;BR /&gt;
    Object:1.1.1.0 Value:Cluster State&lt;BR /&gt;
Trap: 24678117  &amp;lt;---- this should be the start of the next trap. &lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2015 21:25:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68596#M13887</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2015-07-06T21:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68597#M13888</link>
      <description>&lt;P&gt;Did you restart splunk and reflect configuration of props.conf and clean indexed data? The configuration will reflect for new index data, not past indexed data.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2015 21:25:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68597#M13888</guid>
      <dc:creator>Takajian</dc:creator>
      <dc:date>2015-07-06T21:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: line breaking...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68598#M13889</link>
      <description>&lt;P&gt;A good technique for this is to do go to &lt;STRONG&gt;Settings&lt;/STRONG&gt;-&amp;gt;&lt;STRONG&gt;Data Inputs&lt;/STRONG&gt;-&amp;gt;&lt;STRONG&gt;Add New&lt;/STRONG&gt; (Files &amp;amp; Directories) on your indexer with a sample log file in the temp directory, say. Select &lt;STRONG&gt;Preview Data Before Indexing&lt;/STRONG&gt; and then &lt;STRONG&gt;Browse&lt;/STRONG&gt; for the file. Once you've got that, click Continue.&lt;/P&gt;

&lt;P&gt;In the new screen called &lt;STRONG&gt;Data Preview&lt;/STRONG&gt;, you get a pop-up asking for you to select a sourcetype from the list of known ones, or to create a new sourcetype. If you use an existing sourcetype, Splunk will use the props.conf stanza associated with that sourcetype on the indexer (if there is one), and pre-populate the settings in the &lt;STRONG&gt;Advanced Mode&lt;/STRONG&gt; tab with them. Once you've done this (selected which option on sourcetype), you can see how Splunk is parsing the logs. Typically, if they are easy to parse then date and time (timestamp) in the logs will be highlighted in green. If not, you'll see a warning icon on the lines it can't figure out.&lt;/P&gt;

&lt;P&gt;This is where this is a nice tool. You can go to the &lt;STRONG&gt;Advanced Mode (props.conf)&lt;/STRONG&gt; tab and in the &lt;STRONG&gt;Additional Settings (override)&lt;/STRONG&gt; block enter in your various props.conf settings you'd like to try, then &lt;STRONG&gt;Apply&lt;/STRONG&gt; them. To this point, none of the things you have done affect the configuration of the indexer in any way, and you get to see the effects of the different things you try there.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2015 21:55:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/line-breaking/m-p/68598#M13889</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2015-07-06T21:55:23Z</dc:date>
    </item>
  </channel>
</rss>

