<?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 in data model? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-mask-data-in-data-model/m-p/170059#M186300</link>
    <description>&lt;P&gt;you can refer &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Data/Anonymizedatausingconfigurationfiles"&gt;here&lt;/A&gt;, using SEDCMD , REGEX in props.conf and transforms.conf file in $SPLUNK_HOME/etc/system/local/ directory&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Data/Anonymizedatausingconfigurationfiles"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Data/Anonymizedatausingconfigurationfiles&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Dec 2014 16:14:09 GMT</pubDate>
    <dc:creator>sgundeti</dc:creator>
    <dc:date>2014-12-29T16:14:09Z</dc:date>
    <item>
      <title>how to mask data in data model?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-mask-data-in-data-model/m-p/170055#M186296</link>
      <description>&lt;P&gt;Sample:&lt;BR /&gt;
1234/rani/abc1234/dfh&lt;BR /&gt;
Need to get output as &lt;CODE&gt;*/rani/*/dfh&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Dec 2014 06:22:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-mask-data-in-data-model/m-p/170055#M186296</guid>
      <dc:creator>viswanathsd</dc:creator>
      <dc:date>2014-12-28T06:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to mask data in data model?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-mask-data-in-data-model/m-p/170056#M186297</link>
      <description>&lt;P&gt;1234 should be replace by wild character&lt;/P&gt;</description>
      <pubDate>Sun, 28 Dec 2014 06:27:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-mask-data-in-data-model/m-p/170056#M186297</guid>
      <dc:creator>viswanathsd</dc:creator>
      <dc:date>2014-12-28T06:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to mask data in data model?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-mask-data-in-data-model/m-p/170057#M186298</link>
      <description>&lt;P&gt;Use an eval expression. Something like this should do it.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;replace(yourfield,"([^/]+)/([^/]+)/([^/]+)/([^/]+)","*/\2/*/\4")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 28 Dec 2014 09:36:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-mask-data-in-data-model/m-p/170057#M186298</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2014-12-28T09:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to mask data in data model?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-mask-data-in-data-model/m-p/170058#M186299</link>
      <description>&lt;P&gt;Thanks for your response.But i need to know,how can I implement this in Data MOdel?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2014 15:17:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-mask-data-in-data-model/m-p/170058#M186299</guid>
      <dc:creator>viswanathsd</dc:creator>
      <dc:date>2014-12-29T15:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to mask data in data model?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-mask-data-in-data-model/m-p/170059#M186300</link>
      <description>&lt;P&gt;you can refer &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Data/Anonymizedatausingconfigurationfiles"&gt;here&lt;/A&gt;, using SEDCMD , REGEX in props.conf and transforms.conf file in $SPLUNK_HOME/etc/system/local/ directory&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Data/Anonymizedatausingconfigurationfiles"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Data/Anonymizedatausingconfigurationfiles&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2014 16:14:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-mask-data-in-data-model/m-p/170059#M186300</guid>
      <dc:creator>sgundeti</dc:creator>
      <dc:date>2014-12-29T16:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to mask data in data model?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-mask-data-in-data-model/m-p/170060#M186301</link>
      <description>&lt;P&gt;Like @Ayn wrote, use an eval expresion in your data model. Look at the docs for more details &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Knowledge/Definedatamodelattributes"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Knowledge/Definedatamodelattributes&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Dec 2014 20:25:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-mask-data-in-data-model/m-p/170060#M186301</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-12-30T20:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to mask data in data model?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-mask-data-in-data-model/m-p/170061#M186302</link>
      <description>&lt;P&gt;To make this work via "add eval", you'd need to create a new field with a different name in the data model and hide the old field. The display name can be whatever you'd like.&lt;/P&gt;

&lt;P&gt;Another option is to do that eval in a root search -&amp;gt; Add object -&amp;gt; Root search.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2015 21:03:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-mask-data-in-data-model/m-p/170061#M186302</guid>
      <dc:creator>mrobichaud_splu</dc:creator>
      <dc:date>2015-06-04T21:03:08Z</dc:date>
    </item>
  </channel>
</rss>

