<?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: After editing props.conf, why is sensitive information not masked when data is coming from universal forwarders? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348399#M63987</link>
    <description>&lt;P&gt;hi nirmalya2006,&lt;BR /&gt;
have you INDEXED_EXTRACTIONS data? (see &lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/6.5.1612/Data/Extractfieldsfromfileswithstructureddata#Forward_data_extracted_from_structured_data_files" target="_blank"&gt;http://docs.splunk.com/Documentation/SplunkCloud/6.5.1612/Data/Extractfieldsfromfileswithstructureddata#Forward_data_extracted_from_structured_data_files&lt;/A&gt;)&lt;BR /&gt;
in this case you have to  insert props.conf and trasforms.conf also in UFs (&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/6.5.1612/Data/Anonymizedata" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/6.5.1612/Data/Anonymizedata&lt;/A&gt;).&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 13:49:37 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2020-09-29T13:49:37Z</dc:date>
    <item>
      <title>After editing props.conf, why is sensitive information not masked when data is coming from universal forwarders?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348392#M63980</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;

&lt;P&gt;I have followed the regular expression method to anonymize data during indexing as mentioned in the below Splunk documentation.&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/6.5.1612/Data/Anonymizedata"&gt;https://docs.splunk.com/Documentation/SplunkCloud/6.5.1612/Data/Anonymizedata&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Path : {Splunk_home}/etc/system/local&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;props.conf entry:
[access_log]
TRANSFORMS-anonymize = cardType1-anonymizer, cardType2-anonymizer

transforms.conf entry:
[cardType1-anonymizer]
REGEX = (.*?)(37)\d{2}(-|%20)\d{6}(-|%20)\d{1}(.*)(37)\d{2}(-|%20)\d{6}(-|%20)\d{1}(.*?)$
FORMAT = $1$2##$3######$4#$5$6##$7######$8#$9
DEST_KEY = _raw

[cardType2-anonymizer]
REGEX = (.*?)(37)\d{2}(-|%20)\d{6}(-|%20)\d{1}(.*?)$
FORMAT = $1$2##$3######$4#$5
DEST_KEY = _raw
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When I am loading data from Search Head UI using Settings &amp;gt; Add Data &amp;gt; Upload from My Computer the masking is working and card numbers are getting masked properly.&lt;BR /&gt;
However when the same data is coming from universal forwarders installed on application servers the masking is not working.&lt;BR /&gt;
In both cases I have the same sourcetype.&lt;BR /&gt;
I am not able to understand what is it that I am missing.&lt;BR /&gt;
Can anyone help me to resolve this.&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Nirmalya&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 14:18:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348392#M63980</guid>
      <dc:creator>nirmalya2006</dc:creator>
      <dc:date>2017-04-24T14:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: After editing props.conf, why is sensitive information not masked when data is coming from universal forwarders?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348393#M63981</link>
      <description>&lt;P&gt;Hi nirmalya2006,&lt;BR /&gt;
where do you inserted the props.conf to hide sensitive numbers?&lt;BR /&gt;
 you have to insert it in all the indexers.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 14:34:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348393#M63981</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-04-24T14:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: After editing props.conf, why is sensitive information not masked when data is coming from universal forwarders?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348394#M63982</link>
      <description>&lt;P&gt;please verify the inputs on forwarder gives the same sourcetype to match the satnza in props.conf &lt;BR /&gt;
sourcetype = access_logs&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 14:35:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348394#M63982</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-04-24T14:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: After editing props.conf, why is sensitive information not masked when data is coming from universal forwarders?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348395#M63983</link>
      <description>&lt;P&gt;sourcetype is verified. As mentioned, data loaded locally is masked but not from the forwarder for same sourcetype&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 15:10:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348395#M63983</guid>
      <dc:creator>nirmalya2006</dc:creator>
      <dc:date>2017-04-24T15:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: After editing props.conf, why is sensitive information not masked when data is coming from universal forwarders?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348396#M63984</link>
      <description>&lt;P&gt;I have only one indexer for the current testing that I am doing.&lt;BR /&gt;
I have placed it in {splunk_home}/etc/system/local on the indexer as mentioned on the documentation.&lt;BR /&gt;
Do you think I am missing something else.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 15:13:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348396#M63984</guid>
      <dc:creator>nirmalya2006</dc:creator>
      <dc:date>2017-04-24T15:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: After editing props.conf, why is sensitive information not masked when data is coming from universal forwarders?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348397#M63985</link>
      <description>&lt;P&gt;Hi Hi nirmalya2006,,&lt;BR /&gt;
verify that sourcetypes in your inputs.conf are the same of your props.conf.&lt;/P&gt;

&lt;P&gt;after verify your regexes.&lt;/P&gt;

&lt;P&gt;after insert transforms command in two different rows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TRANSFORMS-anonymize1 = cardType1-anonymizer
TRANSFORMS-anonymize2 = cardType2-anonymizer
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 15:25:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348397#M63985</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-04-24T15:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: After editing props.conf, why is sensitive information not masked when data is coming from universal forwarders?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348398#M63986</link>
      <description>&lt;P&gt;Verified sourcetypes and regex.&lt;BR /&gt;
Also the transforms as you mentioned.&lt;BR /&gt;
But still data uploaded from local is getting masked but the data that is being forwarded from the forwarders are not getting masked.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 08:55:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348398#M63986</guid>
      <dc:creator>nirmalya2006</dc:creator>
      <dc:date>2017-04-25T08:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: After editing props.conf, why is sensitive information not masked when data is coming from universal forwarders?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348399#M63987</link>
      <description>&lt;P&gt;hi nirmalya2006,&lt;BR /&gt;
have you INDEXED_EXTRACTIONS data? (see &lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/6.5.1612/Data/Extractfieldsfromfileswithstructureddata#Forward_data_extracted_from_structured_data_files" target="_blank"&gt;http://docs.splunk.com/Documentation/SplunkCloud/6.5.1612/Data/Extractfieldsfromfileswithstructureddata#Forward_data_extracted_from_structured_data_files&lt;/A&gt;)&lt;BR /&gt;
in this case you have to  insert props.conf and trasforms.conf also in UFs (&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/6.5.1612/Data/Anonymizedata" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/6.5.1612/Data/Anonymizedata&lt;/A&gt;).&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:49:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348399#M63987</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-29T13:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: After editing props.conf, why is sensitive information not masked when data is coming from universal forwarders?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348400#M63988</link>
      <description>&lt;P&gt;Sorry Cusello.&lt;BR /&gt;
Tried all that stuff and I am following the same documentation.&lt;BR /&gt;
So just now I tried to remove all the regex and use only SEDCMD in props.conf&lt;BR /&gt;
It included just replace anything that comes in with a random string.&lt;BR /&gt;
Didn't work.&lt;BR /&gt;
So it seems the props.conf is not even read, when the data comes in from forwarder.&lt;BR /&gt;
Did the same thing on the universal forwarder also. But there also it seems to skip reading the props.conf file.&lt;BR /&gt;
I am not using INDEXED_EXTRACTIONS as this is unstructured data and there is no delimiter that I can use for extractions.&lt;BR /&gt;
I am at a loss for all options to mask the account numbers in the logs&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 11:26:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348400#M63988</guid>
      <dc:creator>nirmalya2006</dc:creator>
      <dc:date>2017-04-25T11:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: After editing props.conf, why is sensitive information not masked when data is coming from universal forwarders?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348401#M63989</link>
      <description>&lt;P&gt;Finally I got this working.&lt;BR /&gt;
I had to contact my splunk infrastructure team and found that I have been making the changes in secondary indexer servers and primary search head servers.&lt;BR /&gt;
As a result data ingested through search head was getting masked and data ingested through forwarders were not getting masked since the data from forwarders were hitting the primary indexer where the changes were not placed.&lt;/P&gt;

&lt;P&gt;So, I had to make the changes in the primary indexers and the primary search head to get it working.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 10:55:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-editing-props-conf-why-is-sensitive-information-not-masked/m-p/348401#M63989</guid>
      <dc:creator>nirmalya2006</dc:creator>
      <dc:date>2017-04-26T10:55:01Z</dc:date>
    </item>
  </channel>
</rss>

