<?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: Is heavy forwarder required for masking data in splunk cloud? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-heavy-forwarder-required-for-masking-data-in-Splunk-Cloud/m-p/604484#M105121</link>
    <description>&lt;P&gt;It's impossible to evaluate a regex without sample data. If you don't want to share sample data here then use a site like regex101.com to test your regex against some of your data.&lt;/P&gt;&lt;P&gt;FWIW, the backslashes in the regex are unnecessary.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jul 2022 17:00:16 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-07-05T17:00:16Z</dc:date>
    <item>
      <title>Is heavy forwarder required for masking data in Splunk Cloud?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-heavy-forwarder-required-for-masking-data-in-Splunk-Cloud/m-p/603989#M105060</link>
      <description>&lt;P&gt;Currently we use splunk cloud.&amp;nbsp; I've added the following into the advanced section of the "Edit Source Type" to mask some fields coming in from auth0:&lt;/P&gt;
&lt;PRE&gt;s/\"user_name\"\:\"[^\"]+\"/\"user_name\":\"###############\"/g&lt;/PRE&gt;
&lt;P&gt;However, while this masks the data in the _raw json, it doesn't appear to mask the data in the data.user_name event dropdown.&amp;nbsp; See below:&lt;/P&gt;
&lt;PRE&gt;data.user_name john doe &lt;BR /&gt;               ##########&lt;/PRE&gt;
&lt;P&gt;My question is, is a heavy forwarder setup necessary to mask this data in the events as well?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 18:48:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-heavy-forwarder-required-for-masking-data-in-Splunk-Cloud/m-p/603989#M105060</guid>
      <dc:creator>ballen1</dc:creator>
      <dc:date>2022-06-30T18:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is heavy forwarder required for masking data in splunk cloud?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-heavy-forwarder-required-for-masking-data-in-Splunk-Cloud/m-p/603991#M105061</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247333"&gt;@ballen1&lt;/a&gt;&amp;nbsp;- I'm presuming that this is JSON data type.&lt;/P&gt;&lt;P&gt;This could be because you are using INDEXED_EXTRACTION. If you use search-time extraction with KV_MODE=json then you will see masked value only.&lt;/P&gt;&lt;P&gt;(There are many unknowns here, so I'm giving an idea based on what I think most possible scenario based on my assumptions here.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!!!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 15:40:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-heavy-forwarder-required-for-masking-data-in-Splunk-Cloud/m-p/603991#M105061</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-06-30T15:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is heavy forwarder required for masking data in Splunk Cloud?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-heavy-forwarder-required-for-masking-data-in-Splunk-Cloud/m-p/604010#M105063</link>
      <description>&lt;P&gt;Masking in the HF is often easier because you (usually) have direct access to the file system making it easier to make changes.&amp;nbsp; However, it is possible to mask data at index-time from the Splunk Cloud UI.&lt;/P&gt;&lt;P&gt;You'll do that by creating a transform that masks the data and then referencing that transform from the appropriate sourcetype.&amp;nbsp; This is exactly how we do it in on-prem systems.&amp;nbsp; In the Splunk Cloud world, those props and transforms are put into a custom app and uploaded.&lt;/P&gt;&lt;P&gt;If you don't want to bother with an app, you can use the GUI.&amp;nbsp; Go to Settings-&amp;gt;Fields-&amp;gt;Field Transformations to define the masking transform.&amp;nbsp; Then go to &lt;SPAN&gt;the advanced section of the "Edit Source Type"&amp;nbsp;and add a TRANSFORMS setting to invoke that transform.&amp;nbsp; Splunk Cloud will magically apply the settings to the indexers and search heads.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jul 2022 00:36:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-heavy-forwarder-required-for-masking-data-in-Splunk-Cloud/m-p/604010#M105063</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-07-02T00:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is heavy forwarder required for masking data in splunk cloud?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-heavy-forwarder-required-for-masking-data-in-Splunk-Cloud/m-p/604137#M105076</link>
      <description>&lt;P&gt;Thank you for this. I've added:&lt;/P&gt;&lt;PRE&gt;s/\"user_name\"\:\"[^\"]+\"/\"user_name\":\"###############\"/g&lt;/PRE&gt;&lt;P&gt;into the "edit source type" advanced section and it doesn't appear to mask the values as expected.&amp;nbsp; Is there something wrong with my regex here?&amp;nbsp; I tested it in the search&amp;amp;reporting section and it works there but at index time it doesn't appear t work.&lt;/P&gt;&lt;P&gt;Also, would it be an better option to place this in the&amp;nbsp;&lt;SPAN&gt;Settings-&amp;gt;Fields-&amp;gt;Field Transformations section?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 15:01:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-heavy-forwarder-required-for-masking-data-in-Splunk-Cloud/m-p/604137#M105076</guid>
      <dc:creator>ballen1</dc:creator>
      <dc:date>2022-07-01T15:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is heavy forwarder required for masking data in splunk cloud?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-heavy-forwarder-required-for-masking-data-in-Splunk-Cloud/m-p/604208#M105088</link>
      <description>&lt;P&gt;The Advanced section of Edit Source Type calls for two fields, but you provided only one.&amp;nbsp; The value in your reply should go in the right box - what did you put in the left box?&amp;nbsp; It should have been something like &lt;FONT face="courier new,courier"&gt;SEDCMD-foo&lt;/FONT&gt;.&amp;nbsp; Also, settings put in this page of the UI apply at search time rather than index time.&lt;/P&gt;&lt;P&gt;To change data at index-time, the setting must be in a transform and that transform must be mentioned in a &lt;FONT face="courier new,courier"&gt;TRANSFORMS-foo&lt;/FONT&gt; setting in Edit Source Type.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jul 2022 00:41:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-heavy-forwarder-required-for-masking-data-in-Splunk-Cloud/m-p/604208#M105088</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-07-02T00:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is heavy forwarder required for masking data in splunk cloud?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-heavy-forwarder-required-for-masking-data-in-Splunk-Cloud/m-p/604473#M105120</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp; On the left hand side, i have SEDCMD-maskusername.&amp;nbsp; Based on what i have read, this should mask things at index time.&amp;nbsp; Which it has.&amp;nbsp; However, is my regex off?&amp;nbsp; At times when it masks the data, it pulls in the \"user_name\":"\xxxxxx\" and i'm not quite sure why it's doing that.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 16:07:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-heavy-forwarder-required-for-masking-data-in-Splunk-Cloud/m-p/604473#M105120</guid>
      <dc:creator>ballen1</dc:creator>
      <dc:date>2022-07-05T16:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is heavy forwarder required for masking data in splunk cloud?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-heavy-forwarder-required-for-masking-data-in-Splunk-Cloud/m-p/604484#M105121</link>
      <description>&lt;P&gt;It's impossible to evaluate a regex without sample data. If you don't want to share sample data here then use a site like regex101.com to test your regex against some of your data.&lt;/P&gt;&lt;P&gt;FWIW, the backslashes in the regex are unnecessary.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 17:00:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-heavy-forwarder-required-for-masking-data-in-Splunk-Cloud/m-p/604484#M105121</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-07-05T17:00:16Z</dc:date>
    </item>
  </channel>
</rss>

