<?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 Data Anonimization - Multiple transforms not working for single _raw event in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Data-Anonimization-Multiple-transforms-not-working-for-single/m-p/520060#M87923</link>
    <description>&lt;P&gt;Hi Punters,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am facing issues with Data Anonimization. Below are my conf files. My transforms.conf anonimizes the data if my _raw event have any one regex pattern. But it's not anonimizing my _raw event if it has both the regex patterns. Need help please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;xml-anonymizer also doesn't work if my _raw event is having JSON message. But it works fine if the _raw event is a normal line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[dp_logs_multiline]&lt;BR /&gt;CHECK_METHOD = modtime&lt;BR /&gt;NO_BINARY_CHECK = true&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;LINE_BREAKER=([\r\n]+)\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}.\d{3}&lt;BR /&gt;category = Custom&lt;BR /&gt;disabled = false&lt;BR /&gt;pulldown_type = 1&lt;BR /&gt;MAX_TIMESTAMP_LOOKAHEAD = 24&lt;BR /&gt;TIME_FORMAT = %Y-%m-%d %H:%M:%S.%3N&lt;BR /&gt;TIME_PREFIX = ^&lt;BR /&gt;TRANSFORMS-anonymize = json-anonymizer, xml-anonymizer&lt;BR /&gt;ANNOTATE_PUNCT = false&lt;BR /&gt;TRUNCATE = 100000&lt;BR /&gt;MAX_EVENTS = 10000&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[json-anonymizer]&lt;BR /&gt;REGEX = (?ms)^(.*\"[sS]hippingAddress\"\s+\:\s+\{)[\s\S]*?(\}.*)$&lt;BR /&gt;FORMAT = $1#########JSON PCC DATA ANONIMIZED#############$2&lt;BR /&gt;REPEAT_MATCH = true&lt;BR /&gt;MV_ADD = true&lt;BR /&gt;DEST_KEY = _raw&lt;/P&gt;&lt;P&gt;[xml-anonymizer]&lt;BR /&gt;REGEX = (?ms)^(.*\&amp;lt;[bB]illTo\&amp;gt;)[\s\S]*?(\&amp;lt;\/[rR]equestMessage\&amp;gt;.*)$&lt;BR /&gt;FORMAT = $1#########XML PCC DATA ANONIMIZED#############$2&lt;BR /&gt;REPEAT_MATCH = true&lt;BR /&gt;MV_ADD = true&lt;BR /&gt;DEST_KEY = _raw&lt;/P&gt;</description>
    <pubDate>Thu, 17 Sep 2020 07:37:01 GMT</pubDate>
    <dc:creator>nareshinsvu</dc:creator>
    <dc:date>2020-09-17T07:37:01Z</dc:date>
    <item>
      <title>Data Anonimization - Multiple transforms not working for single _raw event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-Anonimization-Multiple-transforms-not-working-for-single/m-p/520060#M87923</link>
      <description>&lt;P&gt;Hi Punters,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am facing issues with Data Anonimization. Below are my conf files. My transforms.conf anonimizes the data if my _raw event have any one regex pattern. But it's not anonimizing my _raw event if it has both the regex patterns. Need help please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;xml-anonymizer also doesn't work if my _raw event is having JSON message. But it works fine if the _raw event is a normal line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[dp_logs_multiline]&lt;BR /&gt;CHECK_METHOD = modtime&lt;BR /&gt;NO_BINARY_CHECK = true&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;LINE_BREAKER=([\r\n]+)\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}.\d{3}&lt;BR /&gt;category = Custom&lt;BR /&gt;disabled = false&lt;BR /&gt;pulldown_type = 1&lt;BR /&gt;MAX_TIMESTAMP_LOOKAHEAD = 24&lt;BR /&gt;TIME_FORMAT = %Y-%m-%d %H:%M:%S.%3N&lt;BR /&gt;TIME_PREFIX = ^&lt;BR /&gt;TRANSFORMS-anonymize = json-anonymizer, xml-anonymizer&lt;BR /&gt;ANNOTATE_PUNCT = false&lt;BR /&gt;TRUNCATE = 100000&lt;BR /&gt;MAX_EVENTS = 10000&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[json-anonymizer]&lt;BR /&gt;REGEX = (?ms)^(.*\"[sS]hippingAddress\"\s+\:\s+\{)[\s\S]*?(\}.*)$&lt;BR /&gt;FORMAT = $1#########JSON PCC DATA ANONIMIZED#############$2&lt;BR /&gt;REPEAT_MATCH = true&lt;BR /&gt;MV_ADD = true&lt;BR /&gt;DEST_KEY = _raw&lt;/P&gt;&lt;P&gt;[xml-anonymizer]&lt;BR /&gt;REGEX = (?ms)^(.*\&amp;lt;[bB]illTo\&amp;gt;)[\s\S]*?(\&amp;lt;\/[rR]equestMessage\&amp;gt;.*)$&lt;BR /&gt;FORMAT = $1#########XML PCC DATA ANONIMIZED#############$2&lt;BR /&gt;REPEAT_MATCH = true&lt;BR /&gt;MV_ADD = true&lt;BR /&gt;DEST_KEY = _raw&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 07:37:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-Anonimization-Multiple-transforms-not-working-for-single/m-p/520060#M87923</guid>
      <dc:creator>nareshinsvu</dc:creator>
      <dc:date>2020-09-17T07:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Data Anonimization - Multiple transforms not working for single _raw event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-Anonimization-Multiple-transforms-not-working-for-single/m-p/520124#M87926</link>
      <description>&lt;P&gt;Did you try two SEDCMD-class1, SEDCMD-class2. you don't need to have transforms.conf. Having multiple transforms will always be a problem.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 12:26:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-Anonimization-Multiple-transforms-not-working-for-single/m-p/520124#M87926</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-17T12:26:07Z</dc:date>
    </item>
  </channel>
</rss>

