<?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: Trying to filter ASA syslogs before indexing to avoid license violations, why are our props and transforms configurations not working? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283484#M54198</link>
    <description>&lt;P&gt;Anshu,&lt;/P&gt;

&lt;P&gt;I just received the violation reset key. I'm still seeing events coming in that should be filtered out. Here is an Example of some of the events I see&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;6/9/16
2:42:56.000 PM  
Jun  9 14:42:56 X.X.X.X Jun 09 2016 14:42:56: %ASA-6-106100: access-list access-Inside-in permitted tcp Inside/X.X.X.X(57937) -&amp;gt; Outside/X.X.X.X(80) hit-cnt 1 first hit [0x87344829, 0x8bff5156]
host = X.X.X.X source = udp:514 sourcetype = cisco:asa
6/9/16
2:42:56.000 PM  
Jun  9 14:42:56 X.X.X.X Jun 09 2016 14:42:56: %ASA-6-106100: access-list access-Inside-in permitted tcp Inside/X.X.X.X(14860) -&amp;gt; Outside/X.X.X.X(80) hit-cnt 1 first hit [0x8741ea3f, 0x44de932b]
host = X.X.X.X source = udp:514 sourcetype = cisco:asa
6/9/16
2:42:56.000 PM  
Jun  9 14:42:56 X.X.X.X Jun 09 2016 14:42:56: %ASA-6-106100: access-list access-DMZ-in permitted tcp DMZ/X.X.X.X(65010) -&amp;gt; Inside/X.X.X.X(80) hit-cnt 1 first hit [0xe6542d3c, 0x664ba493]
host = X.X.X.X source = udp:514 sourcetype = cisco:asa
6/9/16
2:42:56.000 PM  
Jun  9 14:42:56 X.X.X.X Jun 09 2016 14:42:56: %ASA-6-106100: access-list access-Inside-in permitted udp Inside/X.X.X.X(53535) -&amp;gt; Outside/4.2.2.2(53) hit-cnt 1 first hit [0x87344829, 0x8bff5156]
host = X.X.X.X source = udp:514 sourcetype = cisco:asa
6/9/16
2:42:56.000 PM  
Jun  9 14:42:56 X.X.X.X Jun 09 2016 14:42:56: %ASA-6-106100: access-list access-Inside-in permitted udp Inside/X.X.X.X(18305) -&amp;gt; Outside/X.X.X.X(53) hit-cnt 1 first hit [0x87344829, 0x8bff5156]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Phil&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jun 2016 18:55:12 GMT</pubDate>
    <dc:creator>pnazario</dc:creator>
    <dc:date>2016-06-09T18:55:12Z</dc:date>
    <item>
      <title>Trying to filter ASA syslogs before indexing to avoid license violations, why are our props and transforms configurations not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283473#M54187</link>
      <description>&lt;P&gt;I've created this filter and placed them in the config files mentioned below in the following directory:&lt;/P&gt;

&lt;P&gt;D:\Program Files (x86)\Splunk\etc\system\local&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[cisco:asa]
TRANSFORMS-null = setnull
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX = (?=.*ASA-4-106100)(?=.\b(Built|Teardown|permitted)\b)
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The filter doesn't seem to work. Anyone have any suggestions?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 18:28:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283473#M54187</guid>
      <dc:creator>pnazario</dc:creator>
      <dc:date>2016-06-07T18:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to filter ASA syslogs before indexing to avoid license violations, why are our props and transforms configurations not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283474#M54188</link>
      <description>&lt;P&gt;Can you explain a bit more about your deployment?  Is this is a standalone install or distributed deployment? &lt;/P&gt;

&lt;P&gt;Have you restarted the Splunk service on the instance this configuration resides on? &lt;/P&gt;

&lt;P&gt;Ensure the files don't have a .txt extension at the end of them, Splunk will ignore these files.  &lt;/P&gt;

&lt;P&gt;Is it possible to provide a (scrubbed) sample event? &lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 20:17:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283474#M54188</guid>
      <dc:creator>anshu</dc:creator>
      <dc:date>2016-06-07T20:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to filter ASA syslogs before indexing to avoid license violations, why are our props and transforms configurations not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283475#M54189</link>
      <description>&lt;P&gt;Anshu,&lt;/P&gt;

&lt;P&gt;It is a standalone install. The files do not have a .txt extension.&lt;/P&gt;

&lt;P&gt;Sample Event:&lt;BR /&gt;
This is from the ASA itself. Unfortunately, I've already violated my license, so I cannot search anymore.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Jun 07 2016 16:27:30: %ASA-6-106100: access-list access-Inside-in permitted tcp Inside/X.X.X.X.(52455) -&amp;gt; Outside/X.X.X.X(443) hit-cnt 1 first hit [0x8741ea3f, 0x4eba6142]
Jun 07 2016 16:27:30: %ASA-6-106100: access-list access-Inside-in permitted tcp Inside/X.X.X.X(52456) -&amp;gt; Outside/X.X.X.X(443) hit-cnt 1 first hit [0x8741ea3f, 0x4eba6142]
Jun 07 2016 16:27:30: %ASA-6-106100: access-list access-Inside-in permitted tcp Inside/X.X.X.X(52457) -&amp;gt; Outside/ X.X.X.X (443) hit-cnt 1 first hit [0x8741ea3f, 0x4eba6142]
Jun 07 2016 16:27:30: %ASA-6-106100: access-list access-Inside-in permitted tcp Inside/ X.X.X.X (52458) -&amp;gt; Outside/ X.X.X.X (443) hit-cnt 1 first hit [0x8741ea3f, 0x4eba6142]
Jun 07 2016 16:27:30: %ASA-6-106100: access-list access-Inside-in permitted tcp Inside/ X.X.X.X (2443) -&amp;gt; Outside/ X.X.X.X (80) hit-cnt 1 first hit [0x8741ea3f, 0x44de932b]
Jun 07 2016 16:27:30: %ASA-6-106100: access-list access-Inside-in permitted tcp Inside/ X.X.X.X (4178) -&amp;gt; Outside/ X.X.X.X (80) hit-cnt 1 first hit [0x8741ea3f, 0x44de932b]
Jun 07 2016 16:27:30: %ASA-6-106100: access-list access-Inside-in denied udp Inside/ X.X.X.X (42030) -&amp;gt; Outside/ X.X.X.X (53) hit-cnt 1 first hit [0x36396194, 0x0]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So I'm trying to filter out anything with the event id matching 106100 and containing Built or Teardown or permitted.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Phil&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 20:39:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283475#M54189</guid>
      <dc:creator>pnazario</dc:creator>
      <dc:date>2016-06-07T20:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to filter ASA syslogs before indexing to avoid license violations, why are our props and transforms configurations not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283476#M54190</link>
      <description>&lt;P&gt;Thanks for the info, I'll post my suggestion as an answer.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 04:03:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283476#M54190</guid>
      <dc:creator>anshu</dc:creator>
      <dc:date>2016-06-08T04:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to filter ASA syslogs before indexing to avoid license violations, why are our props and transforms configurations not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283477#M54191</link>
      <description>&lt;P&gt;I was not able to get your expression to work with the data that was provided.  Please try the following value for the "REGEX" attribute.&lt;/P&gt;

&lt;P&gt;REGEX = %ASA-\d+-106100.*(Built|Teardown|permitted)&lt;/P&gt;

&lt;P&gt;If needed, you should be able to make the expression case-insensitive.  Please refer to the following post: &lt;A href="https://answers.splunk.com/answers/25305/case-insensitive-transforms-conf.html"&gt;https://answers.splunk.com/answers/25305/case-insensitive-transforms-conf.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;After modifying the configuration files please make sure to restart the Splunk service before testing.  &lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 04:50:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283477#M54191</guid>
      <dc:creator>anshu</dc:creator>
      <dc:date>2016-06-08T04:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to filter ASA syslogs before indexing to avoid license violations, why are our props and transforms configurations not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283478#M54192</link>
      <description>&lt;P&gt;Anshu,&lt;/P&gt;

&lt;P&gt;Thanks the regular expression you provided does work when I test it but my filter still doesn't seem to work this is what I did&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;P&gt;[cisco:asa]&lt;BR /&gt;
  TRANSFORMS-null = setnull&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;P&gt;[setnull]&lt;BR /&gt;
REGEX = (%ASA-\d+-106100.*(Built|Teardown|permitted))&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;In the following directory D:\Program Files (x86)\Splunk\etc\system\local&lt;/P&gt;

&lt;P&gt;Does this look right?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 17:41:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283478#M54192</guid>
      <dc:creator>pnazario</dc:creator>
      <dc:date>2016-06-08T17:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to filter ASA syslogs before indexing to avoid license violations, why are our props and transforms configurations not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283479#M54193</link>
      <description>&lt;P&gt;That looks good.  Did you restart the Splunk service?  What does the configuration look like for the cisco:asa data input, this can be found in inputs.conf.  What search are you running to verify the results? &lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 18:32:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283479#M54193</guid>
      <dc:creator>anshu</dc:creator>
      <dc:date>2016-06-08T18:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to filter ASA syslogs before indexing to avoid license violations, why are our props and transforms configurations not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283480#M54194</link>
      <description>&lt;P&gt;Anshu,&lt;/P&gt;

&lt;P&gt;I rebooted the server which should of restarted the service.&lt;/P&gt;

&lt;P&gt;inputs.conf in the local directory only contains&lt;BR /&gt;
[default]&lt;BR /&gt;
host = SPLUNK01&lt;/P&gt;

&lt;P&gt;in the default inputs.conf I don't see anything for ASA either. Unfortunately I've violoated my license and am waiting on a license violation reset key but most of the data being indexed is from my ASA's so I would of expected a significant drop in the amount of data being indexed after the change in the reg expression.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Phil&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 19:12:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283480#M54194</guid>
      <dc:creator>pnazario</dc:creator>
      <dc:date>2016-06-08T19:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to filter ASA syslogs before indexing to avoid license violations, why are our props and transforms configurations not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283481#M54195</link>
      <description>&lt;P&gt;Okay, just as an fyi, there's no need to reboot the server, just the service.  How is the cisco ASA data being sent to Splunk? over syslog? &lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 19:14:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283481#M54195</guid>
      <dc:creator>anshu</dc:creator>
      <dc:date>2016-06-08T19:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to filter ASA syslogs before indexing to avoid license violations, why are our props and transforms configurations not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283482#M54196</link>
      <description>&lt;P&gt;Anshu,&lt;/P&gt;

&lt;P&gt;Yes over syslog udp/514. When I look at source types I have 2 at the moment&lt;/P&gt;

&lt;P&gt;cisco:asa   Quick Report    1,536,092,054   6/8/16 3:17:36.000 PM&lt;BR /&gt;
cisco_syslog    Quick Report    70,655,524  6/8/16 3:17:36.000 PM&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Phil&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 19:18:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283482#M54196</guid>
      <dc:creator>pnazario</dc:creator>
      <dc:date>2016-06-08T19:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to filter ASA syslogs before indexing to avoid license violations, why are our props and transforms configurations not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283483#M54197</link>
      <description>&lt;P&gt;The sourcetypes might be set by the Cisco add-on, if you have that installed, while the data is being parsed.  You can try applying the transforms referencing the "source" of the data.  So if the "source" of the data is "udp:514" you could do the following in props.conf&lt;/P&gt;

&lt;P&gt;[udp:514]&lt;BR /&gt;
TRANSFORMS-null = setnull&lt;/P&gt;

&lt;P&gt;I would look at the "source" field when you do your search to see exactly what value is being set for it.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 19:26:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283483#M54197</guid>
      <dc:creator>anshu</dc:creator>
      <dc:date>2016-06-08T19:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to filter ASA syslogs before indexing to avoid license violations, why are our props and transforms configurations not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283484#M54198</link>
      <description>&lt;P&gt;Anshu,&lt;/P&gt;

&lt;P&gt;I just received the violation reset key. I'm still seeing events coming in that should be filtered out. Here is an Example of some of the events I see&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;6/9/16
2:42:56.000 PM  
Jun  9 14:42:56 X.X.X.X Jun 09 2016 14:42:56: %ASA-6-106100: access-list access-Inside-in permitted tcp Inside/X.X.X.X(57937) -&amp;gt; Outside/X.X.X.X(80) hit-cnt 1 first hit [0x87344829, 0x8bff5156]
host = X.X.X.X source = udp:514 sourcetype = cisco:asa
6/9/16
2:42:56.000 PM  
Jun  9 14:42:56 X.X.X.X Jun 09 2016 14:42:56: %ASA-6-106100: access-list access-Inside-in permitted tcp Inside/X.X.X.X(14860) -&amp;gt; Outside/X.X.X.X(80) hit-cnt 1 first hit [0x8741ea3f, 0x44de932b]
host = X.X.X.X source = udp:514 sourcetype = cisco:asa
6/9/16
2:42:56.000 PM  
Jun  9 14:42:56 X.X.X.X Jun 09 2016 14:42:56: %ASA-6-106100: access-list access-DMZ-in permitted tcp DMZ/X.X.X.X(65010) -&amp;gt; Inside/X.X.X.X(80) hit-cnt 1 first hit [0xe6542d3c, 0x664ba493]
host = X.X.X.X source = udp:514 sourcetype = cisco:asa
6/9/16
2:42:56.000 PM  
Jun  9 14:42:56 X.X.X.X Jun 09 2016 14:42:56: %ASA-6-106100: access-list access-Inside-in permitted udp Inside/X.X.X.X(53535) -&amp;gt; Outside/4.2.2.2(53) hit-cnt 1 first hit [0x87344829, 0x8bff5156]
host = X.X.X.X source = udp:514 sourcetype = cisco:asa
6/9/16
2:42:56.000 PM  
Jun  9 14:42:56 X.X.X.X Jun 09 2016 14:42:56: %ASA-6-106100: access-list access-Inside-in permitted udp Inside/X.X.X.X(18305) -&amp;gt; Outside/X.X.X.X(53) hit-cnt 1 first hit [0x87344829, 0x8bff5156]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Phil&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2016 18:55:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283484#M54198</guid>
      <dc:creator>pnazario</dc:creator>
      <dc:date>2016-06-09T18:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to filter ASA syslogs before indexing to avoid license violations, why are our props and transforms configurations not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283485#M54199</link>
      <description>&lt;P&gt;Anshu,&lt;/P&gt;

&lt;P&gt;I figured it out thanks for all your help you definitely guided me down the right pat. Especially with the regular expression.&lt;/P&gt;

&lt;P&gt;This is what worked&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
TRANSFORMS-null = setnull
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull1]
REGEX = (%ASA-\d+-106100.*(Built|Teardown|permitted))
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Phil&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 16:35:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283485#M54199</guid>
      <dc:creator>pnazario</dc:creator>
      <dc:date>2016-06-10T16:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to filter ASA syslogs before indexing to avoid license violations, why are our props and transforms configurations not working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283486#M54200</link>
      <description>&lt;P&gt;Thanks for that.  Switching my stanza to default worked for me too.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 19:48:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trying-to-filter-ASA-syslogs-before-indexing-to-avoid-license/m-p/283486#M54200</guid>
      <dc:creator>duckcluck</dc:creator>
      <dc:date>2020-03-05T19:48:38Z</dc:date>
    </item>
  </channel>
</rss>

