<?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 Break multiple access logs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Line-Break-multiple-access-logs/m-p/144585#M29522</link>
    <description>&lt;P&gt;I think only IP based line breaking should be good enough for your logs&lt;/P&gt;

&lt;P&gt;In your props.conf add  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; LINE_BREAKER=([\r\n]+)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You have to tweak the regex to include - condition.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jul 2014 02:16:55 GMT</pubDate>
    <dc:creator>strive</dc:creator>
    <dc:date>2014-07-16T02:16:55Z</dc:date>
    <item>
      <title>Line Break multiple access logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Break-multiple-access-logs/m-p/144584#M29521</link>
      <description>&lt;P&gt;I need to line break, starting at the IP and end with the time. ex:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;74.100.11.60&lt;/STRONG&gt; xx.x.xxx.xxx:59726 - Unauthenticated [15/Jul/2014:17:53:26 -0700] "GET /wps/wcm/connect/4ebe8f0047818b77a890a9332342f25b/ew+-+pub+home+-+family+refer+-+225x130.jpg?MOD=AJPERES&amp;amp;CACHEID=4ebe8f0047818b77a890a9332342f25b HTTP/1.1" 304 - TS:0 WAS:backend_server:10029 TIME:3738&lt;BR /&gt;
&lt;STRONG&gt;- 127.0.0.1:37296&lt;/STRONG&gt; - - [15/Jul/2014:17:53:26 -0700] "GET / HTTP/1.1" 200 3216 TS:0 WAS:- &lt;STRONG&gt;TIME:286&lt;/STRONG&gt;&lt;BR /&gt;
&lt;STRONG&gt;- 127.0.0.1:47220&lt;/STRONG&gt; - - [15/Jul/2014:17:53:26 -0700] "GET / HTTP/1.1" 200 3216 TS:0 WAS:- &lt;STRONG&gt;TIME:314&lt;/STRONG&gt;&lt;BR /&gt;
46.4.94.230 xx.x.xxx.xxx:38896 - Unauthenticated [15/Jul/2014:17:53:26 -0700] "POST /wps/portal/PublicSearch HTTP/1.0" 200 148284 TS:0 WAS:backend_server:10053 TIME:230882&lt;BR /&gt;
107.185.76.225 10.4.102.144:59724 - 1205026 [15/Jul/2014:17:53:26 -0700] "GET /SchoolsFirst_Theme_Main/themes/html/SchoolsFirst_Theme_Main/shelfInit.html HTTP/1.1" 304 - TS:0 WAS: &lt;STRONG&gt;TIME:491&lt;/STRONG&gt;&lt;BR /&gt;
&lt;STRONG&gt;23.243.33.194&lt;/STRONG&gt; xx.x.xxx.xxx:38901 - 59196 [15/Jul/2014:17:53:26 -0700] "GET /wps/myportal/!ut/p/a1/hY7LDoIwEEW_hQVbWkR5uGuMJhIiBBKFbkghvEylpC3w-4IaV4Kzmjk5c2cABjHALRmaisiGtYTOMzbTg-9Y0cX1NroeOhDZ5jXwQ8vYhtYkJJMAFwrBf_s3gNcV_SOsnHABrijLXu8mqM0MuwKYF2XBC671fMK1lJ3Yq1CF4zhqIq8Zo6JsuJBl3muMVyqM3vA0wzRgXBJ6RGcVfttf4TUTEsQLmaB7xPC-o4OHFOUJ8gm7DQ!!/dl5/d5/L2dBISEvZ0FBIS9nQSEh/pw/Z7_CO97SNJL211R90A86VPOR734F4/act/id=F0ZnR_HOe7QFB/p=bf_action=_gen_call_pbAction_goToCheckingsSearchTranHistory_shareName/p=checkingsShareDesc=71/266691184729/=/ HTTP/1.1" 302 - TS:0 WAS:backend_server:10029 &lt;STRONG&gt;TIME:267941&lt;/STRONG&gt;&lt;BR /&gt;
&lt;STRONG&gt;108.220.220.26&lt;/STRONG&gt; xx.x.xxx.xxx:53683 - Unauthenticated [15/Jul/2014:17:53:26 -0700] "GET /wps/portal HTTP/1.1" 200 191960 TS:0 WAS:backend_server:10053 &lt;STRONG&gt;TIME:468361&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Sometimes Splunk singles out the events and/or groups them as seen above. I need to make them each event......Also I have noticed a - symbol once in a while before an IP......&lt;/P&gt;

&lt;P&gt;What would be the regex that needs to be added to my props.conf?? Please advise. &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:05:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Break-multiple-access-logs/m-p/144584#M29521</guid>
      <dc:creator>dperry</dc:creator>
      <dc:date>2020-09-28T17:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Line Break multiple access logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Break-multiple-access-logs/m-p/144585#M29522</link>
      <description>&lt;P&gt;I think only IP based line breaking should be good enough for your logs&lt;/P&gt;

&lt;P&gt;In your props.conf add  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; LINE_BREAKER=([\r\n]+)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You have to tweak the regex to include - condition.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2014 02:16:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Break-multiple-access-logs/m-p/144585#M29522</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-07-16T02:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Line Break multiple access logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Break-multiple-access-logs/m-p/144586#M29523</link>
      <description>&lt;P&gt;Thanks, tweak the regex to include - condition? how is this done?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2014 02:29:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Break-multiple-access-logs/m-p/144586#M29523</guid>
      <dc:creator>dperry</dc:creator>
      <dc:date>2014-07-16T02:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Line Break multiple access logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-Break-multiple-access-logs/m-p/144587#M29524</link>
      <description>&lt;P&gt;Currently this is what I have in Props.conf:&lt;/P&gt;

&lt;P&gt;[web_access]&lt;BR /&gt;
TIME_PREFIX = \d+.\d+.\d+.\d+\s+\d+.\d+.\d+.\d+:\d+\s+-\s+\d+\s+[&lt;BR /&gt;
TIME_FORMAT = %d/%b/%Y:%H:%M:%S\s%z&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 65&lt;BR /&gt;
SHOULD_LINEMERGE = False&lt;BR /&gt;
LINE_BREAKER = ([\r\n]+)(\d+.\d+.\d+.\d+\s+\d+.\d+.\d+.\d+:\d+\s+-\s+\d+\s+[\d+\/\w+\/\d{4}:\d{2}:\d{2}:\d{2})&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:05:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-Break-multiple-access-logs/m-p/144587#M29524</guid>
      <dc:creator>dperry</dc:creator>
      <dc:date>2020-09-28T17:05:09Z</dc:date>
    </item>
  </channel>
</rss>

