<?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: Why are Props &amp; transforms not taking effect when trying to hide ipclient? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-are-Props-transforms-not-taking-effect-when-trying-to-hide/m-p/395302#M114792</link>
    <description>&lt;P&gt;Can you provide some redacted events to see if the issue is with regex. Thx..&lt;/P&gt;</description>
    <pubDate>Fri, 16 Nov 2018 15:58:21 GMT</pubDate>
    <dc:creator>sudosplunk</dc:creator>
    <dc:date>2018-11-16T15:58:21Z</dc:date>
    <item>
      <title>Why are Props &amp; transforms not taking effect when trying to hide ipclient?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-Props-transforms-not-taking-effect-when-trying-to-hide/m-p/395301#M114791</link>
      <description>&lt;P&gt;Hello community, &lt;/P&gt;

&lt;P&gt;I am trying to configure my props.conf and transforms.conf to hide ipclient when indexing data. I am doing all the configurations needed, but I find no effect after indexation. And I can't find my hidden values :&lt;/P&gt;

&lt;P&gt;NB : I am indexing in a specific app in my project, and I've added in props and transform in the local file of this app, And I am choosing access_combined in the source_type when indexing data.&lt;/P&gt;

&lt;P&gt;Here's my props.conf :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[access_combined]
TRANSFORMS-clientipindex = maskip_index
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And here's my transforms.conf : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[maskip_index]
FORMAT = clientip_hidden::$1.".".$2.".x.x"     &amp;lt;= Here I am trying to hide the last two numbers of the ip address.
REGEX = ^([0-9]{1,3})\.([^.]*)\.([^.]*)\.([^.]*)
SOURCE_KEY = clientip
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any help please &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; !&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:04:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-Props-transforms-not-taking-effect-when-trying-to-hide/m-p/395301#M114791</guid>
      <dc:creator>virtuosoo</dc:creator>
      <dc:date>2020-09-29T22:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why are Props &amp; transforms not taking effect when trying to hide ipclient?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-Props-transforms-not-taking-effect-when-trying-to-hide/m-p/395302#M114792</link>
      <description>&lt;P&gt;Can you provide some redacted events to see if the issue is with regex. Thx..&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 15:58:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-Props-transforms-not-taking-effect-when-trying-to-hide/m-p/395302#M114792</guid>
      <dc:creator>sudosplunk</dc:creator>
      <dc:date>2018-11-16T15:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why are Props &amp; transforms not taking effect when trying to hide ipclient?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-Props-transforms-not-taking-effect-when-trying-to-hide/m-p/395303#M114793</link>
      <description>&lt;P&gt;You are doing a TRANSFORMS on SOURCE_KEY 'clientip'. I don't think that is available as a field at indextime. And anyway such a transforms would not change the raw event, so the ip address would still be fully visible there.&lt;/P&gt;

&lt;P&gt;You are probably better off doing a SEDCMD in props.conf (assuming you have the client ip right at the start of your logs, as usual with access_combined I believe).&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;SEDCMD-mask_ip = s/^(\d{1,3})\.(\d{1,3})\.\d{1,3}\.\d{1,3}/\1.\2.x.x/&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 16:14:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-Props-transforms-not-taking-effect-when-trying-to-hide/m-p/395303#M114793</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-11-16T16:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why are Props &amp; transforms not taking effect when trying to hide ipclient?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-Props-transforms-not-taking-effect-when-trying-to-hide/m-p/395304#M114794</link>
      <description>&lt;P&gt;You are amazing  FrankVl :D...Thank youuuu&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 16:33:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-Props-transforms-not-taking-effect-when-trying-to-hide/m-p/395304#M114794</guid>
      <dc:creator>virtuosoo</dc:creator>
      <dc:date>2018-11-16T16:33:16Z</dc:date>
    </item>
  </channel>
</rss>

