<?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 can I break a multiline  log by discarding the header and taking the rest? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-break-a-multiline-log-by-discarding-the-header-and/m-p/597021#M104225</link>
    <description>&lt;P&gt;Also for you thank you very much brother&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 09 May 2022 19:01:47 GMT</pubDate>
    <dc:creator>zcx01067</dc:creator>
    <dc:date>2022-05-09T19:01:47Z</dc:date>
    <item>
      <title>How can I break a multiline  log by discarding the header and taking the rest?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-break-a-multiline-log-by-discarding-the-header-and/m-p/596830#M104182</link>
      <description>&lt;P&gt;Hello, I have a multiline log file, but each file comes with a header that I want to discard and only use the part of the log that brings the important information, can someone help me.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Here is the original log file:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Audit file /oracle/SIC/AUDIT/SYS_OPERATIONS/ora_1695798.aud&lt;BR /&gt;Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production&lt;BR /&gt;With the Partitioning option&lt;BR /&gt;JServer Release 9.2.0.8.0 - Production&lt;BR /&gt;ORACLE_HOME = /oracle/SIC/920_64&lt;BR /&gt;System name: AIX&lt;BR /&gt;Node name: duero&lt;BR /&gt;Release: 3&lt;BR /&gt;Version: 5&lt;BR /&gt;Machine: 00CF214F4C00&lt;BR /&gt;Instance name: SIC&lt;BR /&gt;Redo thread mounted by this instance: 1&lt;BR /&gt;Oracle process number: 37&lt;BR /&gt;Unix process pid: 1695798, image: oracle@duero (TNS V1-V3)&lt;/P&gt;&lt;P&gt;Sat Mar 19 06:03:53 2022&lt;BR /&gt;ACTION : 'CONNECT'&lt;BR /&gt;DATABASE USER: '/'&lt;BR /&gt;PRIVILEGE : SYSOPER&lt;BR /&gt;CLIENT USER: orasic&lt;BR /&gt;CLIENT TERMINAL:&lt;BR /&gt;STATUS: 0&lt;/P&gt;&lt;P&gt;Sat Mar 19 06:03:53 2022&lt;BR /&gt;ACTION : '/* BRARCHIVE */ CREATE PFILE = '/oracle/SIC/920_64/dbs/sap.ora' FROM SPFILE = '/oracle/SIC/920_64/dbs/spfileSIC.ora''&lt;BR /&gt;DATABASE USER: '/'&lt;BR /&gt;PRIVILEGE : SYSOPER&lt;BR /&gt;CLIENT USER: orasic&lt;BR /&gt;CLIENT TERMINAL:&lt;BR /&gt;STATUS: 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;But I only need these parts of the log:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Sat Mar 19 06:03:53 2022&lt;BR /&gt;ACTION : 'CONNECT'&lt;BR /&gt;DATABASE USER: '/'&lt;BR /&gt;PRIVILEGE : SYSOPER&lt;BR /&gt;CLIENT USER: orasic&lt;BR /&gt;CLIENT TERMINAL:&lt;BR /&gt;STATUS: 0&lt;/P&gt;&lt;P&gt;Sat Mar 19 06:03:53 2022&lt;BR /&gt;ACTION : '/* BRARCHIVE */ CREATE PFILE = '/oracle/SIC/920_64/dbs/sap.ora' FROM SPFILE = '/oracle/SIC/920_64/dbs/spfileSIC.ora''&lt;BR /&gt;DATABASE USER: '/'&lt;BR /&gt;PRIVILEGE : SYSOPER&lt;BR /&gt;CLIENT USER: orasic&lt;BR /&gt;CLIENT TERMINAL:&lt;BR /&gt;STATUS: 0&lt;/P&gt;</description>
      <pubDate>Sat, 07 May 2022 20:14:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-break-a-multiline-log-by-discarding-the-header-and/m-p/596830#M104182</guid>
      <dc:creator>zcx01067</dc:creator>
      <dc:date>2022-05-07T20:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: How can I break a multiline  log by discarding the header and taking the rest?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-break-a-multiline-log-by-discarding-the-header-and/m-p/596838#M104183</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/245609"&gt;@zcx01067&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you have to follow the instructions at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.6/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.6/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in few words, add to your &lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[your_sourcetype]
TRANSFORMS-null = setnull&lt;/LI-CODE&gt;&lt;P&gt;and to your &lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[setnull]
REGEX = ^Audit\s+file\s+
DEST_KEY = queue
FORMAT = nullQueue&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sun, 08 May 2022 05:22:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-break-a-multiline-log-by-discarding-the-header-and/m-p/596838#M104183</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-05-08T05:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I break a multiline  log by discarding the header and taking the rest?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-break-a-multiline-log-by-discarding-the-header-and/m-p/596847#M104184</link>
      <description>&lt;P&gt;If I understand you correctly, the whole "header thing" is also a multiline "entity".&lt;/P&gt;&lt;P&gt;You could try setting proper event breaking, especially with BREAK_ONLY_BEFORE_DATE. That way you could check later as &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt; showed and discard anything that - for example - doesn't start with a date.&lt;/P&gt;</description>
      <pubDate>Sun, 08 May 2022 13:53:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-break-a-multiline-log-by-discarding-the-header-and/m-p/596847#M104184</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-05-08T13:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can I break a multiline  log by discarding the header and taking the rest?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-break-a-multiline-log-by-discarding-the-header-and/m-p/597020#M104224</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;, I just tried your answer and it is exactly what I needed, thank you very much brother, a big hug from the Dominican Republic.&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 18:59:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-break-a-multiline-log-by-discarding-the-header-and/m-p/597020#M104224</guid>
      <dc:creator>zcx01067</dc:creator>
      <dc:date>2022-05-09T18:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can I break a multiline  log by discarding the header and taking the rest?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-break-a-multiline-log-by-discarding-the-header-and/m-p/597021#M104225</link>
      <description>&lt;P&gt;Also for you thank you very much brother&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 19:01:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-break-a-multiline-log-by-discarding-the-header-and/m-p/597021#M104225</guid>
      <dc:creator>zcx01067</dc:creator>
      <dc:date>2022-05-09T19:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can I break a multiline  log by discarding the header and taking the rest?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-break-a-multiline-log-by-discarding-the-header-and/m-p/597075#M104228</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/245609"&gt;@zcx01067&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;please accept the answer for the other people of Community&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the Contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 06:07:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-break-a-multiline-log-by-discarding-the-header-and/m-p/597075#M104228</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-05-10T06:07:17Z</dc:date>
    </item>
  </channel>
</rss>

