<?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: Encrypt data during anonymization in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114494#M23942</link>
    <description>&lt;P&gt;How do you do this in Splunk? I can't find any encryption function.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Apr 2018 15:44:59 GMT</pubDate>
    <dc:creator>mihenn</dc:creator>
    <dc:date>2018-04-03T15:44:59Z</dc:date>
    <item>
      <title>Encrypt data during anonymization</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114489#M23937</link>
      <description>&lt;P&gt;Referring to instruction of anonymization in page bellow:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Anonymizedatausingconfigurationfiles"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Anonymizedatausingconfigurationfiles&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;During indexing, instead of replacing a field value with literals, I would like to apply a function on it (for example encrypt it) &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[session-anonymizer]
REGEX = (?m)^(.*)SessionId=\w+(\w{4}[&amp;amp;"].*)$
FORMAT = $1SessionId=########$2
DEST_KEY = _raw
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For example instead of replacing &lt;CODE&gt;SessionId=3A1785URH117BEA&lt;/CODE&gt; with &lt;CODE&gt;SessionId=########&lt;/CODE&gt; , I would like to replace it with a runtime value result of applying a function (like encryption function ).&lt;/P&gt;

&lt;P&gt;This way I'll have a mechanism to get the original values if needed.&lt;/P&gt;

&lt;P&gt;Has anybody come up with a solution for that.&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2015 19:59:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114489#M23937</guid>
      <dc:creator>hmozaffari</dc:creator>
      <dc:date>2015-05-19T19:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt data during anonymization</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114490#M23938</link>
      <description>&lt;P&gt;You are going to have to do this with a pre-parser (outside of Splunk); it is pretty easy.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2015 20:24:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114490#M23938</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-05-19T20:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt data during anonymization</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114491#M23939</link>
      <description>&lt;P&gt;You mean: log.txt -&amp;gt; postprocessed to -&amp;gt; log_processed.txt -&amp;gt; indexing only log_processed.txt files ?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:55:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114491#M23939</guid>
      <dc:creator>gesman</dc:creator>
      <dc:date>2020-09-28T19:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt data during anonymization</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114492#M23940</link>
      <description>&lt;P&gt;Yes, exactly.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2015 03:30:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114492#M23940</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-05-20T03:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt data during anonymization</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114493#M23941</link>
      <description>&lt;P&gt;Well, it works when batch processing files. But in case of real time monitoring files or TCP/UDP it is ideal to leave  encryption to Splunk.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2015 12:28:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114493#M23941</guid>
      <dc:creator>hmozaffari</dc:creator>
      <dc:date>2015-05-20T12:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt data during anonymization</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114494#M23942</link>
      <description>&lt;P&gt;How do you do this in Splunk? I can't find any encryption function.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 15:44:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114494#M23942</guid>
      <dc:creator>mihenn</dc:creator>
      <dc:date>2018-04-03T15:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt data during anonymization</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114495#M23943</link>
      <description>&lt;P&gt;I am also searching for something similar. My requirement is I should be able to decrypt fields or rex pattern by supplying "KEY" on the search box . I did some search and found the best way to do is to write custom search command and feed the search result to this search command by eval function. The underlining decryption may be written in python sdk using mapper.&lt;/P&gt;

&lt;P&gt;Please let me know&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 05:53:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114495#M23943</guid>
      <dc:creator>Tapan_12345</dc:creator>
      <dc:date>2018-10-23T05:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt data during anonymization</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114496#M23944</link>
      <description>&lt;P&gt;Splunk 6.6 introduced cryptographic functions md5() sha1() etc.&lt;/P&gt;

&lt;P&gt;You can encrypt fields at index time using these functions along with INGEST_EVAL. &lt;/P&gt;

&lt;P&gt;You can also use calculated fields in props.conf to encrypt fields at search time. But one can easily view the source of the log data to see unencrypted values if done at search time.&lt;/P&gt;

&lt;P&gt;See: &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.6/SearchReference/CryptographicFunctions"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.6/SearchReference/CryptographicFunctions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 04:40:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114496#M23944</guid>
      <dc:creator>jpass</dc:creator>
      <dc:date>2019-05-06T04:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt data during anonymization</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114497#M23945</link>
      <description>&lt;P&gt;This way you can generate hashes. But it isn´t possible to revert this to get the original value. There is no password or certificate based encryption implemented in Splunk yet. As far as I know.&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 05:34:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114497#M23945</guid>
      <dc:creator>mihenn</dc:creator>
      <dc:date>2019-05-06T05:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt data during anonymization</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114498#M23946</link>
      <description>&lt;P&gt;There is a hot new product called Cribl that is a swiss-army-knife to backfill all of the things that splunk should do but doesn't/can't.  I passed this on to them and they should comment (@clintsharp, @dritan).&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2019 19:32:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114498#M23946</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-05-11T19:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypt data during anonymization</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114499#M23947</link>
      <description>&lt;P&gt;Hi Gregg,&lt;/P&gt;

&lt;P&gt;thanks for the hint, it seems this tool could solve my problem described at &lt;A href="https://answers.splunk.com/answers/771002/how-to-anonymize-the-client-ip-in-msiis-log-files.html"&gt;771002&lt;/A&gt;. &lt;/P&gt;

&lt;P&gt;I will take a look at this tool.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 13:28:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Encrypt-data-during-anonymization/m-p/114499#M23947</guid>
      <dc:creator>manuelostertag</dc:creator>
      <dc:date>2019-09-13T13:28:31Z</dc:date>
    </item>
  </channel>
</rss>

