<?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: How to filter off /var/spool events on linux? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-off-var-spool-events-on-linux/m-p/59373#M14623</link>
    <description>&lt;P&gt;I will need to filter them off before splunk indexes it.So that means I have to  specific the REGEX in transforms.conf?If this is the only way then how do I specify a REGEX to filter off the events?&lt;/P&gt;</description>
    <pubDate>Wed, 16 Mar 2011 08:40:01 GMT</pubDate>
    <dc:creator>remy06</dc:creator>
    <dc:date>2011-03-16T08:40:01Z</dc:date>
    <item>
      <title>How to filter off /var/spool events on linux?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-off-var-spool-events-on-linux/m-p/59371#M14621</link>
      <description>&lt;P&gt;auditd is generating number of events on linux server.&lt;/P&gt;

&lt;P&gt;For eg.this event is identified by session id=1336067(auto generated).&lt;/P&gt;

&lt;P&gt;`
type=PATH msg=audit(03/15/2011 17:04:01.513:1336067) : item=0 name=/etc/shadow inode=123456789 dev=fd:00 mode=file,400 ouid=root ogid=root rdev=00:00 &lt;/P&gt;

&lt;P&gt;type=CWD msg=audit(03/15/2011 17:03:01.493:1336067) :  cwd=/var/spool 
`&lt;/P&gt;

&lt;P&gt;I can filter off the 2nd line using the keyword "&lt;CODE&gt;cwd=/var/spool&lt;/CODE&gt;" but for the first line there isn't any keyword i can use.&lt;/P&gt;

&lt;P&gt;Is there a way to filter off both events by using the keyword="&lt;CODE&gt;cwd=/var/spool&lt;/CODE&gt;" and relating the two events together by their session id?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2011 17:19:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-off-var-spool-events-on-linux/m-p/59371#M14621</guid>
      <dc:creator>remy06</dc:creator>
      <dc:date>2011-03-15T17:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter off /var/spool events on linux?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-off-var-spool-events-on-linux/m-p/59372#M14622</link>
      <description>&lt;P&gt;One idea might be to use the transaction command to group similar events together. I think you would first need to teach splunk how to extract the 'session id' field.  Once you did that you could do something like&lt;/P&gt;

&lt;P&gt;eventtype=audit | transaction fields=sid maxspan=5s&lt;/P&gt;

&lt;P&gt;where 'sid' is the session id field you previous taught splunk how to extract.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2011 20:28:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-off-var-spool-events-on-linux/m-p/59372#M14622</guid>
      <dc:creator>netwrkr</dc:creator>
      <dc:date>2011-03-15T20:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter off /var/spool events on linux?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-off-var-spool-events-on-linux/m-p/59373#M14623</link>
      <description>&lt;P&gt;I will need to filter them off before splunk indexes it.So that means I have to  specific the REGEX in transforms.conf?If this is the only way then how do I specify a REGEX to filter off the events?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2011 08:40:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-off-var-spool-events-on-linux/m-p/59373#M14623</guid>
      <dc:creator>remy06</dc:creator>
      <dc:date>2011-03-16T08:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter off /var/spool events on linux?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-filter-off-var-spool-events-on-linux/m-p/59374#M14624</link>
      <description>&lt;P&gt;The way I suggested above is to group at search time.  Splunk has a nice document which details how to extract fields here - &lt;A href="http://www.splunk.com/base/Documentation/latest/User/InteractiveFieldExtractionExample"&gt;http://www.splunk.com/base/Documentation/latest/User/InteractiveFieldExtractionExample&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2011 20:53:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-filter-off-var-spool-events-on-linux/m-p/59374#M14624</guid>
      <dc:creator>netwrkr</dc:creator>
      <dc:date>2011-03-16T20:53:41Z</dc:date>
    </item>
  </channel>
</rss>

