<?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-breaker not working on FortiGate logs forwarded via syslog in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Line-breaker-not-working-on-FortiGate-logs-forwarded-via-syslog/m-p/540758#M90517</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231082"&gt;@frapei&lt;/a&gt;&amp;nbsp;It looks like the issue is that some events start with a 3 digit code and some don't.&amp;nbsp; If that isn't due to the parser, and the regex from &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231750"&gt;@asridhara&lt;/a&gt; does not work, you need to address those cases.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2021 04:40:58 GMT</pubDate>
    <dc:creator>gbeatty</dc:creator>
    <dc:date>2021-02-22T04:40:58Z</dc:date>
    <item>
      <title>Line-breaker not working on FortiGate logs forwarded via syslog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-breaker-not-working-on-FortiGate-logs-forwarded-via-syslog/m-p/538096#M90204</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I was hoping someone might be able to help me on how to set this:&lt;/P&gt;&lt;P&gt;I'm consuming logs from Fortigate via Syslog (log sample below for reference), but this pattern doesn't work for event breaks.&lt;/P&gt;&lt;P&gt;601 &amp;lt;189&amp;gt;date=2021-01-29 time=01:13:54 devname="xxxSEC" devid="FG101" logid="0101037141" type="event" subtype="vpn" level="notice" vd="root" eventtime=1611893634651699002 tz="-0300" logdesc="IPsec tunnel statistics" msg="IPsec tunnel statistics" action="tunnel-stats" remip=xxx.xxx.xxx.xxx locip=xxx.xxx.xxx.xxx remport=500 locport=500 outintf="wan1" cookies="xxx" user="N/A" group="N/A" xauthuser="N/A" xauthgroup="N/A" assignip=N/A vpntunnel="VPN-xxx" tunnelip=N/A tunnelid=0 tunneltype="ipsec" duration=4823936 sentbyte=0 rcvdbyte=120 nextstat=600607 &amp;lt;189&amp;gt;date=2021-01-29 time=01:13:54 devname="xxxSEC" devid="FG101" logid="0101037141" type="event" subtype="vpn" level="notice" vd="root" eventtime=1611893634651791593 tz="-0300" logdesc="IPsec tunnel statistics" msg="IPsec tunnel statistics" action="tunnel-stats" remip=xxx.xxx.xxx.xxx locip=xxx.xxx.xxx.xxx remport=500 locport=500 outintf="wan1" cookies="xxx" user="N/A" group="N/A" xauthuser="N/A" xauthgroup="N/A" assignip=N/A vpntunnel="Soc_xxx" tunnelip=N/A tunnelid=0 tunneltype="ipsec" duration=4823936 sentbyte=13785 rcvdbyte=368 nextstat=600597 601 &amp;lt;189&amp;gt;date=2021-01-29 time=01:13:54 devname="xxxSEC" devid="FG101" logid="0101037141" type="event" subtype="vpn" level="notice" vd="root" eventtime=1611893634651699002 tz="-0300" logdesc="IPsec tunnel statistics" msg="IPsec tunnel statistics" action="tunnel-stats" remip=xxx.xxx.xxx.xxx locip=xxx.xxx.xxx.xxx remport=500 locport=500 outintf="wan1" cookies="xxx" user="N/A" group="N/A" xauthuser="N/A" xauthgroup="N/A" assignip=N/A vpntunnel="VPN-xxx" tunnelip=N/A tunnelid=0 tunneltype="ipsec" duration=4823936 sentbyte=0 rcvdbyte=120 nextstat=600607 &amp;lt;189&amp;gt;date=2021-01-29 time=01:13:54 devname="xxxSEC" devid="FG101" logid="0101037141" type="event" subtype="vpn" level="notice" vd="root" eventtime=1611893634651791593 tz="-0300" logdesc="IPsec tunnel statistics" msg="IPsec tunnel statistics" action="tunnel-stats" remip=xxx.xxx.xxx.xxx locip=xxx.xxx.xxx.xxx remport=500 locport=500 outintf="wan1" cookies="xxx" user="N/A" group="N/A" xauthuser="N/A" xauthgroup="N/A" assignip=N/A vpntunnel="Soc_xxx" tunnelip=N/A tunnelid=0 tunneltype="ipsec" duration=4823936 sentbyte=13785 rcvdbyte=368 nextstat=600597&lt;/P&gt;&lt;P&gt;As you can see from the sample above, each event starts with &amp;lt;189&amp;gt; and ends with nextstat=xxx&lt;/P&gt;&lt;P&gt;The rest of the patterns seem to work fine:&lt;/P&gt;&lt;P&gt;285 &amp;lt;190&amp;gt;date=2021-01-29 time=05:01:06 devname="xxxSEC" devid="FG101" logid="0100020027" type="event" subtype="system" level="information" vd="root" eventtime=1611907266834995102 tz="-0300" logdesc="Outdated report files deleted" msg="Delete 1 old report files"279 &amp;lt;190&amp;gt;date=2021-01-29 time=05:01:06 devname="xxxSEC" devid="FG101" logid="0100020027" type="event" subtype="system" level="information" vd="root" eventtime=1611907266835276157 tz="-0300" logdesc="Outdated report files deleted" msg="Delete 4 old report files"&lt;/P&gt;&lt;P&gt;615 &amp;lt;189&amp;gt;date=2021-01-29 time=05:00:45 devname="xxxSEC" devid="FG101" logid="0100040704" type="event" subtype="system" level="notice" vd="root" eventtime=1611907246008443458 tz="-0300" logdesc="System performance statistics" action="perf-stats" cpu=0 mem=39 totalsession=48 disk=1 bandwidth="22/7595" setuprate=1 disklograte=0 fazlograte=0 freediskstorage=426665 sysuptime=4837848 waninfo="name=wan1,bytes=1709688/171114431,packets=7001/1473776;name=wan2,bytes=15678/404589561,packets=167/5559353;" msg="Performance statistics: average CPU: 0, memory: 39, concurrent sessions: 48, setup-rate: 1"&lt;/P&gt;&lt;P&gt;289 &amp;lt;190&amp;gt;date=2021-01-29 time=04:58:45 devname="xxxSEC" devid="FG101" logid="0100026003" type="event" subtype="system" level="information" vd="root" eventtime=1611907125775362364 tz="-0300" logdesc="DHCP statistics" interface="mgmt" total=101 used=0 msg="DHCP statistics"&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 14:34:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-breaker-not-working-on-FortiGate-logs-forwarded-via-syslog/m-p/538096#M90204</guid>
      <dc:creator>frapei</dc:creator>
      <dc:date>2021-02-01T14:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Line-breaker not working on FortiGate logs forwarded via syslog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-breaker-not-working-on-FortiGate-logs-forwarded-via-syslog/m-p/540755#M90516</link>
      <description>&lt;P&gt;Add LINE_BREAKER in your props.conf at &amp;lt;SPLUNK_HOME&amp;gt;/etc/apps/Splunk_TA_fortinet_fortigate/default under fgt_log&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;LINE_BREAKER = (\d+)?\s*\&amp;lt;\d{2,3}\&amp;gt;date&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 04:31:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-breaker-not-working-on-FortiGate-logs-forwarded-via-syslog/m-p/540755#M90516</guid>
      <dc:creator>asridhara</dc:creator>
      <dc:date>2021-02-22T04:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Line-breaker not working on FortiGate logs forwarded via syslog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Line-breaker-not-working-on-FortiGate-logs-forwarded-via-syslog/m-p/540758#M90517</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231082"&gt;@frapei&lt;/a&gt;&amp;nbsp;It looks like the issue is that some events start with a 3 digit code and some don't.&amp;nbsp; If that isn't due to the parser, and the regex from &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231750"&gt;@asridhara&lt;/a&gt; does not work, you need to address those cases.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 04:40:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Line-breaker-not-working-on-FortiGate-logs-forwarded-via-syslog/m-p/540758#M90517</guid>
      <dc:creator>gbeatty</dc:creator>
      <dc:date>2021-02-22T04:40:58Z</dc:date>
    </item>
  </channel>
</rss>

