Page 1 of 1

Masking data for Analytics

Posted: Thu Jun 20, 2019 9:56 am
by dpc
Hello

I am trying to obscure some of our data for analytics. I am trying to follow the guide and wanted to know if the way I am adding the tags would be valid/honored by the system.

I have examples below of trying to obfuscate a number. Is adding the property like that to the log valid? Thanks!

Code: Select all

<log label="Debug" property name="logging" value="private">RTM, call_id=<%=call_id %>/></log>

Code: Select all

<block>
    <property name="logging"value="private"/>
    <log label="Debug">RTM, db=<%=db%>/></log>
    <log label="Debug">RTM, call_id=<%=call_id %>/></log>
</block>

Re: Masking data for Analytics

Posted: Mon Jul 01, 2019 1:51 pm
by admin
Hello,

"<%=call_id %>" may not work. An alternative is to replace "<% .. %>" with "<value expr= .. />"; i.e, "<log>call id: <value expr="call_id"/></log>". Besides this, the block looks valid. Please let us know if you have any further questions.

Regards,
Plum Support