<?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 How to filter out audit id field from Brightmail logs in Splunk? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-audit-id-field-from-Brightmail-logs-in-Splunk/m-p/201226#M39792</link>
    <description>&lt;P&gt;Hi Splunkers:&lt;/P&gt;

&lt;P&gt;I have an issue filtering out a field called &lt;STRONG&gt;Audit ID&lt;/STRONG&gt;. Each email is assigned this number as it passes thru a mail exchange, so the conventional wisdom would be that if I search on one Audit ID, but we are getting several audit id results from other event records.&lt;/P&gt;

&lt;P&gt;I have created transforms to deal with various event records containing mailing activity such as mail delivery, accept, order, sender, subject, trackerid, verdict etc. I want this audit id field to be only indexed by Splunk for verdict ID and ignore all other event records.&lt;/P&gt;

&lt;P&gt;This audit id field exists on the other event records pertaining to mail delivery, accept, order, sender, subject, trackerid etc. How do I filter this field in Splunk so that it only shows this field 'audit_id' from 'verdict' event records and not others.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Mohammed&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2016 16:06:10 GMT</pubDate>
    <dc:creator>mohammed7860</dc:creator>
    <dc:date>2016-08-01T16:06:10Z</dc:date>
    <item>
      <title>How to filter out audit id field from Brightmail logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-audit-id-field-from-Brightmail-logs-in-Splunk/m-p/201226#M39792</link>
      <description>&lt;P&gt;Hi Splunkers:&lt;/P&gt;

&lt;P&gt;I have an issue filtering out a field called &lt;STRONG&gt;Audit ID&lt;/STRONG&gt;. Each email is assigned this number as it passes thru a mail exchange, so the conventional wisdom would be that if I search on one Audit ID, but we are getting several audit id results from other event records.&lt;/P&gt;

&lt;P&gt;I have created transforms to deal with various event records containing mailing activity such as mail delivery, accept, order, sender, subject, trackerid, verdict etc. I want this audit id field to be only indexed by Splunk for verdict ID and ignore all other event records.&lt;/P&gt;

&lt;P&gt;This audit id field exists on the other event records pertaining to mail delivery, accept, order, sender, subject, trackerid etc. How do I filter this field in Splunk so that it only shows this field 'audit_id' from 'verdict' event records and not others.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Mohammed&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 16:06:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-audit-id-field-from-Brightmail-logs-in-Splunk/m-p/201226#M39792</guid>
      <dc:creator>mohammed7860</dc:creator>
      <dc:date>2016-08-01T16:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out audit id field from Brightmail logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-audit-id-field-from-Brightmail-logs-in-Splunk/m-p/201227#M39793</link>
      <description>&lt;P&gt;Can you post the actual raw events that want to ingest and that you don't want to ingest?&lt;BR /&gt;
Highlight the match terms as well.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 17:34:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-audit-id-field-from-Brightmail-logs-in-Splunk/m-p/201227#M39793</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-08-01T17:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out audit id field from Brightmail logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-audit-id-field-from-Brightmail-logs-in-Splunk/m-p/201228#M39794</link>
      <description>&lt;P&gt;I want to filter out only the audit_id from the below logs (audit_id) :&lt;/P&gt;

&lt;P&gt;Aug  2 07:24:12  ecelerity[port_no]: |****|ACCEPT|&lt;/P&gt;

&lt;P&gt;I want to keep all the event records below as is appearing in Splunk:&lt;/P&gt;

&lt;P&gt;Aug  2 07:26:14 bmserver[port_no]: |****|VERDICT||none|default|default&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:27:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-audit-id-field-from-Brightmail-logs-in-Splunk/m-p/201228#M39794</guid>
      <dc:creator>mohammed7860</dc:creator>
      <dc:date>2020-09-29T10:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out audit id field from Brightmail logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-audit-id-field-from-Brightmail-logs-in-Splunk/m-p/201229#M39795</link>
      <description>&lt;P&gt;Try this in your props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SEDCMD-hideauditid = s/(\w+-\w+-\w{2}-\w+)\|(?!VERDICT)/xxx-xxx-x-xxx|/g
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.9/Data/Anonymizedatausingconfigurationfiles"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.9/Data/Anonymizedatausingconfigurationfiles&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 13:55:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-audit-id-field-from-Brightmail-logs-in-Splunk/m-p/201229#M39795</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-02T13:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out audit id field from Brightmail logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-audit-id-field-from-Brightmail-logs-in-Splunk/m-p/201230#M39796</link>
      <description>&lt;P&gt;You want to filter the whole events which has that kind of structure shown by event 1 OR just want to mask the audit_id for the events?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 14:09:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-audit-id-field-from-Brightmail-logs-in-Splunk/m-p/201230#M39796</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-08-02T14:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out audit id field from Brightmail logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-audit-id-field-from-Brightmail-logs-in-Splunk/m-p/201231#M39797</link>
      <description>&lt;P&gt;I just want to mask out the audit_id for the events for the first data type:&lt;/P&gt;

&lt;P&gt;Aug 2 07:24:12 gk-c84-email ecelerity[2648]: 1470140652|38008f54-df7ff70000000a58-a3-57a090ec9bad|ACCEPT|56.0.143.4:41611&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 18:56:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-audit-id-field-from-Brightmail-logs-in-Splunk/m-p/201231#M39797</guid>
      <dc:creator>mohammed7860</dc:creator>
      <dc:date>2016-08-02T18:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out audit id field from Brightmail logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-audit-id-field-from-Brightmail-logs-in-Splunk/m-p/201232#M39798</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;P&gt;props.conf on your Indexer/Heavy forwarder&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[yoursourcetype]
SEDCMD-maskAuditId = s/^([^\|]+\|)([^\|]+\|)([^\|]+\|)([^\|]+)$/\1XX-X-XXXX-X-XX\3\4/g
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 02 Aug 2016 19:25:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-audit-id-field-from-Brightmail-logs-in-Splunk/m-p/201232#M39798</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-08-02T19:25:44Z</dc:date>
    </item>
  </channel>
</rss>

