<?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 apply the props and tranforms  ? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-to-apply-the-props-and-tranforms/m-p/754387#M119758</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249545"&gt;@_Raj&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;when you have fieldname=fieldvalue you don't need to extract fields because fields are automatically extracted by Splunk.&lt;/P&gt;&lt;P&gt;To mask field values, do you want to do this at index time or at search time?&lt;/P&gt;&lt;P&gt;if at index time, data are modified and indexed modified, so you lose the original values, you can do this in the props.conf using SEDCMD command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SEDCMD_Anonymize = s/student\=(\w+)\s/student\=(*****)\s/g&lt;/LI-CODE&gt;&lt;P&gt;For more infos see at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.2.1/Data/Anonymizedata" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.2.1/Data/Anonymizedata&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If at search time, data aren't modified and masked only in the dashboard, but accessing data using a search they are visible.&lt;/P&gt;&lt;P&gt;You can do this in many ways, e.g. eval or rex command (using the same regex of the other solution):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex mode=sed "s/student\=(\w+)\s/student\=(*****)\s/g"&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Thu, 16 Oct 2025 06:39:01 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2025-10-16T06:39:01Z</dc:date>
    <item>
      <title>how to apply the props and tranforms  ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-apply-the-props-and-tranforms/m-p/754354#M119751</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;How to apply props.conf and transforms.conf&lt;BR /&gt;Sample Log Data&lt;BR /&gt;2024-09-01 12:10:22 student=Alice subject=Math score=85&lt;BR /&gt;2024-09-01 12:11:45 student=Bob subject=Science score=72&lt;BR /&gt;Objective&lt;BR /&gt; Extract fields properly.&lt;BR /&gt; Apply a transform to mask student names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2025 16:05:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-apply-the-props-and-tranforms/m-p/754354#M119751</guid>
      <dc:creator>_Raj</dc:creator>
      <dc:date>2025-10-15T16:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to apply the props and tranforms  ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-apply-the-props-and-tranforms/m-p/754358#M119754</link>
      <description>&lt;P&gt;What settings have you tried so far and what results did you get?&lt;/P&gt;&lt;P&gt;Props and transforms must be applied on the first full Splunk instance that touches the data.&amp;nbsp; In most cases that is an indexer, but it could be an intermediate heavy forwarder.&lt;/P&gt;&lt;P&gt;If you want to extract fields at search time (preferred) see&amp;nbsp;&lt;A href="https://help.splunk.com/en/splunk-enterprise/search/search-manual/10.0/evaluate-and-manipulate-fields/extract-fields-with-search-commands" target="_blank"&gt;https://help.splunk.com/en/splunk-enterprise/search/search-manual/10.0/evaluate-and-manipulate-fields/extract-fields-with-search-commands&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To extract fields at index time (not recommended) see&amp;nbsp;&lt;A href="https://help.splunk.com/en/splunk-enterprise/get-data-in/get-started-with-getting-data-in/10.0/configure-indexed-field-extraction/about-indexed-field-extraction#d96b9241afbd44e29ba4333824cea50e5__About_indexed_field_extraction" target="_blank"&gt;https://help.splunk.com/en/splunk-enterprise/get-data-in/get-started-with-getting-data-in/10.0/configure-indexed-field-extraction/about-indexed-field-extraction#d96b9241afbd44e29ba4333824cea50e5__About_indexed_field_extraction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;See&amp;nbsp;&lt;A href="https://help.splunk.com/en/splunk-enterprise/get-data-in/get-started-with-getting-data-in/10.0/configure-event-processing/anonymize-data" target="_blank"&gt;https://help.splunk.com/en/splunk-enterprise/get-data-in/get-started-with-getting-data-in/10.0/configure-event-processing/anonymize-data&lt;/A&gt;&amp;nbsp;for how to mask data using props and transforms.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2025 16:47:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-apply-the-props-and-tranforms/m-p/754358#M119754</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-10-15T16:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to apply the props and tranforms  ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-apply-the-props-and-tranforms/m-p/754387#M119758</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249545"&gt;@_Raj&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;when you have fieldname=fieldvalue you don't need to extract fields because fields are automatically extracted by Splunk.&lt;/P&gt;&lt;P&gt;To mask field values, do you want to do this at index time or at search time?&lt;/P&gt;&lt;P&gt;if at index time, data are modified and indexed modified, so you lose the original values, you can do this in the props.conf using SEDCMD command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SEDCMD_Anonymize = s/student\=(\w+)\s/student\=(*****)\s/g&lt;/LI-CODE&gt;&lt;P&gt;For more infos see at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.2.1/Data/Anonymizedata" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.2.1/Data/Anonymizedata&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If at search time, data aren't modified and masked only in the dashboard, but accessing data using a search they are visible.&lt;/P&gt;&lt;P&gt;You can do this in many ways, e.g. eval or rex command (using the same regex of the other solution):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex mode=sed "s/student\=(\w+)\s/student\=(*****)\s/g"&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 06:39:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-apply-the-props-and-tranforms/m-p/754387#M119758</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-10-16T06:39:01Z</dc:date>
    </item>
  </channel>
</rss>

