<?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: Parsing pfSense logs in Security</title>
    <link>https://community.splunk.com/t5/Security/Parsing-pfSense-logs/m-p/24207#M798</link>
    <description>&lt;P&gt;Try looking here for more info: &lt;A href="http://splunk-base.splunk.com/answers/25292/parsing-pfsense-logs-part-2"&gt;Parsing pfSense Logs Part 2&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Short answer:  When setting up the input file, assign a manual sourcetype of pfSense&lt;/P&gt;

&lt;P&gt;Then include the following in props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[pfSense]
SHOULD_LINEMERGE=true
BREAK_ONLY_BEFORE=match
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You will probably have to define the fields yourself.  There are a couple of ways to do that:&lt;BR /&gt;&lt;BR /&gt;
&lt;A href="http://www.splunk.com/base/Documentation/4.2.1/Knowledge/Addfieldsatsearchtime"&gt;Overview of Search-Time Field Extractions&lt;/A&gt; has an overview&lt;BR /&gt;&lt;BR /&gt;
&lt;A href="http://www.splunk.com/base/Documentation/4.2.1/Knowledge/Createandmaintainsearch-timefieldextractionsthroughconfigurationfiles"&gt;Create search-time field extractions by editing configuration files&lt;/A&gt; - this is my preferred way to do this&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
Note: you do &lt;STRONG&gt;not&lt;/STRONG&gt; want to use index-time extractions.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jun 2011 21:56:33 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2011-06-01T21:56:33Z</dc:date>
    <item>
      <title>Parsing pfSense logs</title>
      <link>https://community.splunk.com/t5/Security/Parsing-pfSense-logs/m-p/24204#M795</link>
      <description>&lt;P&gt;We're running some pfSense (FreeBSD-based firewall) on our network and dumping it to a dedicated syslog-ng server. When splunk reads the dumped files in syslog, it doesn't break it apart into fields which is what I expected. pfSense uses the pf (packet filter) tool originally from OpenBSD to manage the firewall rules.&lt;/P&gt;

&lt;P&gt;Here's a sample line from the log:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Jan 11 07:28:30 141.102.4.254 pf: 000145 rule 141/0(match): block in on bge0: (tos 0x0, ttl 128, id 58078, offset 0, flags [none], proto UDP (17), length 1052) 141.102.12.99.1137 &amp;gt; 188.40.123.111.24460: UDP, length 1024
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Jan 2011 09:01:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Parsing-pfSense-logs/m-p/24204#M795</guid>
      <dc:creator>ketchapay</dc:creator>
      <dc:date>2011-01-11T09:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing pfSense logs</title>
      <link>https://community.splunk.com/t5/Security/Parsing-pfSense-logs/m-p/24205#M796</link>
      <description>&lt;P&gt;It would be helpful to see a sample of what these log files or lines look like.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2011 11:54:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Parsing-pfSense-logs/m-p/24205#M796</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-01-11T11:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing pfSense logs</title>
      <link>https://community.splunk.com/t5/Security/Parsing-pfSense-logs/m-p/24206#M797</link>
      <description>&lt;P&gt;What is the easiest way to package up a chunk of logs for you to look at ? &lt;/P&gt;

&lt;P&gt;And where should I send it ? &lt;/P&gt;

&lt;P&gt;Thanks, &lt;/P&gt;

&lt;P&gt;-d&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2011 11:35:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Parsing-pfSense-logs/m-p/24206#M797</guid>
      <dc:creator>dont</dc:creator>
      <dc:date>2011-03-31T11:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing pfSense logs</title>
      <link>https://community.splunk.com/t5/Security/Parsing-pfSense-logs/m-p/24207#M798</link>
      <description>&lt;P&gt;Try looking here for more info: &lt;A href="http://splunk-base.splunk.com/answers/25292/parsing-pfsense-logs-part-2"&gt;Parsing pfSense Logs Part 2&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Short answer:  When setting up the input file, assign a manual sourcetype of pfSense&lt;/P&gt;

&lt;P&gt;Then include the following in props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[pfSense]
SHOULD_LINEMERGE=true
BREAK_ONLY_BEFORE=match
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You will probably have to define the fields yourself.  There are a couple of ways to do that:&lt;BR /&gt;&lt;BR /&gt;
&lt;A href="http://www.splunk.com/base/Documentation/4.2.1/Knowledge/Addfieldsatsearchtime"&gt;Overview of Search-Time Field Extractions&lt;/A&gt; has an overview&lt;BR /&gt;&lt;BR /&gt;
&lt;A href="http://www.splunk.com/base/Documentation/4.2.1/Knowledge/Createandmaintainsearch-timefieldextractionsthroughconfigurationfiles"&gt;Create search-time field extractions by editing configuration files&lt;/A&gt; - this is my preferred way to do this&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
Note: you do &lt;STRONG&gt;not&lt;/STRONG&gt; want to use index-time extractions.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2011 21:56:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Parsing-pfSense-logs/m-p/24207#M798</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2011-06-01T21:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing pfSense logs</title>
      <link>https://community.splunk.com/t5/Security/Parsing-pfSense-logs/m-p/24208#M799</link>
      <description>&lt;P&gt;I just created a blog entry on how I was able to parse the pfSense files. It works for me and hopefully will work for you too. &lt;A href="http://blog.basementpctech.com/2012/02/splunk-and-pfsense-what-pair.html"&gt;http://blog.basementpctech.com/2012/02/splunk-and-pfsense-what-pair.html&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2012 04:12:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Parsing-pfSense-logs/m-p/24208#M799</guid>
      <dc:creator>s0mmy1</dc:creator>
      <dc:date>2012-02-07T04:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing pfSense logs</title>
      <link>https://community.splunk.com/t5/Security/Parsing-pfSense-logs/m-p/24209#M800</link>
      <description>&lt;P&gt;Great addition to the community!  Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2012 05:51:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Parsing-pfSense-logs/m-p/24209#M800</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2012-02-07T05:51:05Z</dc:date>
    </item>
  </channel>
</rss>

