<?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 to mask data for a particular field in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-mask-data-for-a-particular-field/m-p/633942#M51970</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp; It worked I think I had a typo&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2023 20:43:39 GMT</pubDate>
    <dc:creator>power12</dc:creator>
    <dc:date>2023-03-09T20:43:39Z</dc:date>
    <item>
      <title>How to mask data for a particular field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-mask-data-for-a-particular-field/m-p/633450#M51905</link>
      <description>&lt;P&gt;Hello Splunkers ,&lt;/P&gt;
&lt;P&gt;I have the following sample data .I want to mask the data after VIN(bold) to xxxxxx before indexing .Also if the data is already ingested before need to. mask it on dashboards .I know SED command is used but I dont know how to use that&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;search ownership for claimnumber = " ----" with request payload={&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;"tID" : ---------------&lt;/DIV&gt;
&lt;DIV&gt;"adminInfo" : {&lt;/DIV&gt;
&lt;DIV&gt;},&lt;/DIV&gt;
&lt;DIV&gt;"cNumber" : " --------",&lt;/DIV&gt;
&lt;DIV&gt;"ier" : " -----",&lt;/DIV&gt;
&lt;DIV&gt;"dateofloss": "------",&lt;/DIV&gt;
&lt;DIV&gt;"vehicleinformation": {&lt;/DIV&gt;
&lt;DIV&gt;"vin":&amp;nbsp; "&lt;STRONG&gt;2323213123123&lt;/STRONG&gt;" ,&lt;/DIV&gt;
&lt;DIV&gt;"vee": "A"&lt;/DIV&gt;
&lt;DIV&gt;}&lt;/DIV&gt;
&lt;DIV&gt;"tis":{&lt;/DIV&gt;
&lt;DIV&gt;"state":"XYZ"&lt;/DIV&gt;
&lt;DIV&gt;},&lt;/DIV&gt;
&lt;DIV&gt;"on": "N"&lt;/DIV&gt;
&lt;DIV&gt;"county":"-------"&lt;/DIV&gt;
&lt;DIV&gt;}&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks in Advance&lt;/DIV&gt;</description>
      <pubDate>Mon, 06 Mar 2023 20:01:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-mask-data-for-a-particular-field/m-p/633450#M51905</guid>
      <dc:creator>power12</dc:creator>
      <dc:date>2023-03-06T20:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to mask data for a particular field</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-mask-data-for-a-particular-field/m-p/633453#M51907</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239523"&gt;@power12&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you want to replace the number after "vin" with some "XXXXXXXXXX", you have to use in props.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[your_sourcetype]
SEDCMD-mask = s/\"vin\":\s+\"\d+\"/\"vin\":\s+\"XXXXXXXXXX\"/g&lt;/LI-CODE&gt;&lt;P&gt;this props.conf must be located on Indexers or (uf present) on heavy Forwarders.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 16:30:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-mask-data-for-a-particular-field/m-p/633453#M51907</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-03-06T16:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to mask data for a particular field</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-mask-data-for-a-particular-field/m-p/633479#M51913</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;I tried using the one you sent in props.conf .It looks like below.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;\"vin\":\s+\"XXXXXXXXXX\" ,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It should be&amp;nbsp;&lt;BR /&gt;"vin": "XXXXXXX" ,&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 20:09:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-mask-data-for-a-particular-field/m-p/633479#M51913</guid>
      <dc:creator>power12</dc:creator>
      <dc:date>2023-03-06T20:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to mask data for a particular field</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-mask-data-for-a-particular-field/m-p/633525#M51916</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239523"&gt;@power12&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you can test the regex also using the rex command in a search:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;your_search&amp;gt;
| rex mode=sed "s/\"vin\":\s+\"\d+\"/\"vin\": \"XXXXXXXXXX\"/g"&lt;/LI-CODE&gt;&lt;P&gt;and it runs in my test&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gcusello_0-1678171211324.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24223iA12927AB38750A2F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gcusello_0-1678171211324.png" alt="gcusello_0-1678171211324.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;could you share the props.conf you used?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 06:41:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-mask-data-for-a-particular-field/m-p/633525#M51916</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-03-07T06:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to mask data for a particular field</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-mask-data-for-a-particular-field/m-p/633942#M51970</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp; It worked I think I had a typo&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 20:43:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-mask-data-for-a-particular-field/m-p/633942#M51970</guid>
      <dc:creator>power12</dc:creator>
      <dc:date>2023-03-09T20:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to mask data for a particular field</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-mask-data-for-a-particular-field/m-p/634016#M51974</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/239523"&gt;@power12&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 07:26:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-mask-data-for-a-particular-field/m-p/634016#M51974</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-03-10T07:26:03Z</dc:date>
    </item>
  </channel>
</rss>

