<?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 do you mask sensitive data from Splunk? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-mask-sensitive-data-from-Splunk/m-p/423963#M42850</link>
    <description>&lt;P&gt;I did already and I was trying using SED command but not able to get to anything. Could you give me a start on this?&lt;/P&gt;</description>
    <pubDate>Wed, 05 Dec 2018 12:20:54 GMT</pubDate>
    <dc:creator>Shashank_87</dc:creator>
    <dc:date>2018-12-05T12:20:54Z</dc:date>
    <item>
      <title>How do you mask sensitive data from Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-mask-sensitive-data-from-Splunk/m-p/423961#M42848</link>
      <description>&lt;P&gt;Hi, I am trying to mask some data while indexing. Below is one single event where the tag "SecurityQuestion" is occuring multiple times and I want to mask all of its values.&lt;/P&gt;

&lt;P&gt;Can someone please advice?&lt;/P&gt;

&lt;P&gt;(SecurityQuestion)Favorite song(SecurityQuestion)(SecurityAnswer)TEST(SecurityAnswer)&lt;BR /&gt;
(SecurityQuestion)Favorite band(SecurityQuestion)(SecurityAnswer)TEST123(SecurityAnswer)&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 11:33:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-mask-sensitive-data-from-Splunk/m-p/423961#M42848</guid>
      <dc:creator>Shashank_87</dc:creator>
      <dc:date>2018-12-05T11:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do you mask sensitive data from Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-mask-sensitive-data-from-Splunk/m-p/423962#M42849</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;

&lt;P&gt;Check out the Splunk documentation on &lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/7.2.0/Data/Anonymizedata"&gt;Anonymize data&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;EDIT: Here is the sed command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;s/\(SecurityQuestion\).+?\(SecurityQuestion\)\(SecurityAnswer\).+?\(SecurityAnswer\)/(SecurityQuestion)########(SecurityQuestion)(SecurityAnswer)########(SecurityAnswer)/g
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Dec 2018 11:47:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-mask-sensitive-data-from-Splunk/m-p/423962#M42849</guid>
      <dc:creator>whrg</dc:creator>
      <dc:date>2018-12-05T11:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do you mask sensitive data from Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-mask-sensitive-data-from-Splunk/m-p/423963#M42850</link>
      <description>&lt;P&gt;I did already and I was trying using SED command but not able to get to anything. Could you give me a start on this?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 12:20:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-mask-sensitive-data-from-Splunk/m-p/423963#M42850</guid>
      <dc:creator>Shashank_87</dc:creator>
      <dc:date>2018-12-05T12:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do you mask sensitive data from Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-mask-sensitive-data-from-Splunk/m-p/423964#M42851</link>
      <description>&lt;P&gt;I edited my first reply and added the sed command because apparently comments cannot display backslashes.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 12:41:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-mask-sensitive-data-from-Splunk/m-p/423964#M42851</guid>
      <dc:creator>whrg</dc:creator>
      <dc:date>2018-12-05T12:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do you mask sensitive data from Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-mask-sensitive-data-from-Splunk/m-p/423965#M42852</link>
      <description>&lt;P&gt;What we did was to hide the data at the indexing layer when there was data we didn't want.&lt;/P&gt;

&lt;P&gt;In our case there was &lt;CODE&gt;secret_data=&lt;/CODE&gt; as a URL parameter that we wanted to removed.&lt;/P&gt;

&lt;P&gt;So I updated the props.conf on the indexers.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[my_sourctype]
[source::/path/to/my/logs]
SEDCMD-remove_secret_data = s/(&amp;amp;)?secret_data=[^&amp;amp;\s.]+//g
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Dec 2018 19:08:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-you-mask-sensitive-data-from-Splunk/m-p/423965#M42852</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2018-12-05T19:08:44Z</dc:date>
    </item>
  </channel>
</rss>

