<?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: Mask Splunk access logs in Security</title>
    <link>https://community.splunk.com/t5/Security/Mask-Splunk-access-logs/m-p/78694#M2608</link>
    <description>&lt;P&gt;Not the answer I was hoping for, but an effective answer. Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 07 Oct 2013 17:55:45 GMT</pubDate>
    <dc:creator>BryanBerry</dc:creator>
    <dc:date>2013-10-07T17:55:45Z</dc:date>
    <item>
      <title>Mask Splunk access logs</title>
      <link>https://community.splunk.com/t5/Security/Mask-Splunk-access-logs/m-p/78689#M2603</link>
      <description>&lt;P&gt;I'm wondering if it's possible to mask/scrub the Splunk access logs. If so, how?&lt;/P&gt;

&lt;P&gt;It's for a security requirement. We have a search page that does a one-way hash of an input value and searches for the hash, but we don't want any written record of the input value. This value would appear in the Splunk access logs for a given request.&lt;/P&gt;

&lt;P&gt;Edit:&lt;BR /&gt;
I would like to do this for the Splunk access logs on the filesystem.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2013 17:47:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Mask-Splunk-access-logs/m-p/78689#M2603</guid>
      <dc:creator>BryanBerry</dc:creator>
      <dc:date>2013-10-01T17:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mask Splunk access logs</title>
      <link>https://community.splunk.com/t5/Security/Mask-Splunk-access-logs/m-p/78690#M2604</link>
      <description>&lt;P&gt;Yes, yes you can. You will need to make a transforms for the splunkd_access logs. Ref: &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.5/admin/Transformsconf"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.5/admin/Transformsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
&lt;CODE&gt;[splunkd_access]&lt;BR /&gt;
TRANSFORMS-splunkdhash = splunkd-masker&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
&lt;CODE&gt;[splunkd-masker]&lt;BR /&gt;
REGEX = (?m)^(.*)fieldofhash=YOUR_REGEX_FOR_HASH(.*)$&lt;BR /&gt;
FORMAT = $1=anonyhash$2&lt;BR /&gt;
DEST_KEY = _raw&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2013 20:58:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Mask-Splunk-access-logs/m-p/78690#M2604</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2013-10-01T20:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Mask Splunk access logs</title>
      <link>https://community.splunk.com/t5/Security/Mask-Splunk-access-logs/m-p/78691#M2605</link>
      <description>&lt;P&gt;Sorry, I wasn't clear. I mean to mask Splunk's access logs on the filesystem itself.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2013 21:13:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Mask-Splunk-access-logs/m-p/78691#M2605</guid>
      <dc:creator>BryanBerry</dc:creator>
      <dc:date>2013-10-01T21:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Mask Splunk access logs</title>
      <link>https://community.splunk.com/t5/Security/Mask-Splunk-access-logs/m-p/78692#M2606</link>
      <description>&lt;P&gt;Then no. Splunkd writes those out. You could cron a script to replace in the file, but then Splunk re-indexes it.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2013 17:30:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Mask-Splunk-access-logs/m-p/78692#M2606</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2013-10-07T17:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Mask Splunk access logs</title>
      <link>https://community.splunk.com/t5/Security/Mask-Splunk-access-logs/m-p/78693#M2607</link>
      <description>&lt;P&gt;It is likely not possible to mask these directly in the Splunk access logs before they are written to flat files on disk.  It may be possible with some deep hacking into Splunkweb and/or new framework (written in python) - but if it is showing up in the splunkd_access.log, then that's compiled C++ code that you cannot even change.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2013 17:37:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Mask-Splunk-access-logs/m-p/78693#M2607</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2013-10-07T17:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Mask Splunk access logs</title>
      <link>https://community.splunk.com/t5/Security/Mask-Splunk-access-logs/m-p/78694#M2608</link>
      <description>&lt;P&gt;Not the answer I was hoping for, but an effective answer. Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2013 17:55:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Mask-Splunk-access-logs/m-p/78694#M2608</guid>
      <dc:creator>BryanBerry</dc:creator>
      <dc:date>2013-10-07T17:55:45Z</dc:date>
    </item>
  </channel>
</rss>

