<?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: Need help filtering Cisco ASA Logs at index time. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-filtering-Cisco-ASA-Logs-at-index-time/m-p/63602#M12779</link>
    <description>&lt;P&gt;Anything guys?&lt;/P&gt;</description>
    <pubDate>Mon, 06 Feb 2012 16:57:53 GMT</pubDate>
    <dc:creator>balbano</dc:creator>
    <dc:date>2012-02-06T16:57:53Z</dc:date>
    <item>
      <title>Need help filtering Cisco ASA Logs at index time.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-filtering-Cisco-ASA-Logs-at-index-time/m-p/63601#M12778</link>
      <description>&lt;P&gt;Hey Guys, &lt;/P&gt;

&lt;P&gt;I am trying to understand how the props.conf and transforms.conf work when manipulating/filtering data. &lt;/P&gt;

&lt;P&gt;In a very simple way, let me explain what I need done. &lt;/P&gt;

&lt;P&gt;Problem: I have Cisco ASA Logs sent to this syslog-ng server. &lt;/P&gt;

&lt;P&gt;I would like to setup a monitor point on the folder containing the logs. However, I want to exclude the following events from getting indexed: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ASA-6-302016
ASA-6-302015
ASA-7-609001
ASA-7-609002
ASA-6-302013
ASA-6-302014
ASA-6-302020
ASA-6-302021
ASA-6-305012
ASA-6-305011
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Everything else other than this I would like to index to a certain specified index. &lt;/P&gt;

&lt;P&gt;Can someone tell me from start to finish how I would do this as for as specifying the monitor path to get indexed and the appropriate props.conf/transforms.conf configuration specifications that are needed. &lt;/P&gt;

&lt;P&gt;The documentation is a little tricky for me to understand so maybe an example will make me understand better. &lt;/P&gt;

&lt;P&gt;Appreciate any help you can provide. &lt;/P&gt;

&lt;P&gt;Thanks. &lt;/P&gt;

&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2012 18:22:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-filtering-Cisco-ASA-Logs-at-index-time/m-p/63601#M12778</guid>
      <dc:creator>balbano</dc:creator>
      <dc:date>2012-02-02T18:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need help filtering Cisco ASA Logs at index time.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-filtering-Cisco-ASA-Logs-at-index-time/m-p/63602#M12779</link>
      <description>&lt;P&gt;Anything guys?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2012 16:57:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-filtering-Cisco-ASA-Logs-at-index-time/m-p/63602#M12779</guid>
      <dc:creator>balbano</dc:creator>
      <dc:date>2012-02-06T16:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need help filtering Cisco ASA Logs at index time.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-filtering-Cisco-ASA-Logs-at-index-time/m-p/63603#M12780</link>
      <description>&lt;PRE&gt;&lt;CODE&gt; props.conf

 [yoursourcetype]
 TRANSFORMS-null = setnull

 transforms.conf

 [setnull]
 REGEX = ASA-[67]-(302016|302015|609001|609002|302013|302014|302020|302021|305012|305011)
 DEST_KEY = queue
 FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Feb 2012 21:33:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-filtering-Cisco-ASA-Logs-at-index-time/m-p/63603#M12780</guid>
      <dc:creator>jbsplunk</dc:creator>
      <dc:date>2012-02-06T21:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need help filtering Cisco ASA Logs at index time.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-filtering-Cisco-ASA-Logs-at-index-time/m-p/63604#M12781</link>
      <description>&lt;P&gt;Thank You!!!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2012 21:46:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-filtering-Cisco-ASA-Logs-at-index-time/m-p/63604#M12781</guid>
      <dc:creator>balbano</dc:creator>
      <dc:date>2012-02-06T21:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need help filtering Cisco ASA Logs at index time.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-filtering-Cisco-ASA-Logs-at-index-time/m-p/63605#M12782</link>
      <description>&lt;P&gt;glad to help!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2012 21:50:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-filtering-Cisco-ASA-Logs-at-index-time/m-p/63605#M12782</guid>
      <dc:creator>jbsplunk</dc:creator>
      <dc:date>2012-02-06T21:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need help filtering Cisco ASA Logs at index time.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-filtering-Cisco-ASA-Logs-at-index-time/m-p/63606#M12783</link>
      <description>&lt;P&gt;your regex will fail with the 8.4+ ASA (need to verify actual revs), it comes in with %ASA-session- in it,&lt;BR /&gt;
see &lt;A href="http://splunk-base.splunk.com//answers/42936/cisco-asa-logging-format-change"&gt;http://splunk-base.splunk.com//answers/42936/cisco-asa-logging-format-change&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;so you you might modify the regex to be&lt;BR /&gt;
%ASA-(session-)?[67]-(code|code|code|code)&lt;BR /&gt;
or&lt;BR /&gt;
%ASA-(\w+-)?[67]-(code|code|code|code)&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2012 22:35:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-filtering-Cisco-ASA-Logs-at-index-time/m-p/63606#M12783</guid>
      <dc:creator>cvajs</dc:creator>
      <dc:date>2012-03-16T22:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need help filtering Cisco ASA Logs at index time.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-filtering-Cisco-ASA-Logs-at-index-time/m-p/63607#M12784</link>
      <description>&lt;P&gt;sorry, once again this forum code is a pita and takes a single \ as a special char.&lt;/P&gt;

&lt;P&gt;it should be &lt;BR /&gt;
%ASA-(\w+-)?[67]-(code|code|code|code)&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2012 12:58:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-filtering-Cisco-ASA-Logs-at-index-time/m-p/63607#M12784</guid>
      <dc:creator>cvajs</dc:creator>
      <dc:date>2012-03-19T12:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need help filtering Cisco ASA Logs at index time.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-filtering-Cisco-ASA-Logs-at-index-time/m-p/63608#M12785</link>
      <description>&lt;P&gt;or - better yet, why not save yourself the unnecessary log traffic and load on the ASA anyway and just turn those message numbers off at the source.&lt;/P&gt;

&lt;P&gt;ex&amp;gt;&lt;BR /&gt;
asa-firewall# conf t&lt;/P&gt;

&lt;P&gt;asa-firewall(conf)# no logging message 302016&lt;/P&gt;

&lt;P&gt;asa-firewall(conf)# no logging message 302015&lt;/P&gt;

&lt;P&gt;etc.&lt;/P&gt;

&lt;P&gt;-Chris&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2013 22:07:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-filtering-Cisco-ASA-Logs-at-index-time/m-p/63608#M12785</guid>
      <dc:creator>chris_moody</dc:creator>
      <dc:date>2013-03-25T22:07:22Z</dc:date>
    </item>
  </channel>
</rss>

