<?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 do I remove field data before indexing? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-remove-field-data-before-indexing/m-p/395607#M70545</link>
    <description>&lt;P&gt;These name value pairs are extracted at search time, not index time.&lt;/P&gt;

&lt;P&gt;Btw, &lt;CODE&gt;props.conf&lt;/CODE&gt; might have been -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[&amp;lt;sourcetype name&amp;gt;]
TRANSFORMS = tasknull
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Suppressing the name value pairs extraction at search time can be done via the explanations at  &lt;A href="https://answers.splunk.com/answers/74720/disable-automatic-field-extraction.html"&gt;Disable Automatic Field Extraction&lt;/A&gt; or &lt;A href="https://answers.splunk.com/answers/671900/how-to-avoid-extracting-fields-from-quoted-values.html"&gt;How to avoid extracting fields from quoted values?&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Unfortunately, it requires disabling the extractions by &lt;CODE&gt;KV_MODE=none&lt;/CODE&gt; in &lt;CODE&gt;props.conf&lt;/CODE&gt; in the search heads and creating your own extractions.&lt;/P&gt;</description>
    <pubDate>Sun, 30 Sep 2018 20:46:50 GMT</pubDate>
    <dc:creator>ddrillic</dc:creator>
    <dc:date>2018-09-30T20:46:50Z</dc:date>
    <item>
      <title>How do I remove field data before indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-remove-field-data-before-indexing/m-p/395605#M70543</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;I need to remove a field data before the data gets indexed to Splunk.&lt;/P&gt;

&lt;P&gt;The field that needs to be removed is in between the log and it has several lines.&lt;/P&gt;

&lt;P&gt;sample data:&lt;/P&gt;

&lt;P&gt;dv_u_business_duration_in_seconds="",closed_by="",sys_created_by="&lt;STRONG&gt;&lt;EM&gt;",sys_domain_path="/",dv_business_duration="",dv_work_notes="2018-08-05 09:46:09 - *&lt;/EM&gt;&lt;/STRONG&gt;******&lt;/P&gt;

&lt;HR /&gt;

&lt;HR /&gt;

&lt;PRE&gt;&lt;CODE&gt;active="true",dv_made_sla="true",additional_assignee_list="",delivery_task=""

field name in work_Notes
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note: I tried the null &lt;/P&gt;

&lt;P&gt;In Props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype:test_task]
TRANSFORMS-null= tasknull
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tasknull]
FIELDS = work_Notes
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:24:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-remove-field-data-before-indexing/m-p/395605#M70543</guid>
      <dc:creator>SathyaNarayanan</dc:creator>
      <dc:date>2020-09-29T21:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove field data before indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-remove-field-data-before-indexing/m-p/395606#M70544</link>
      <description>&lt;P&gt;You can replace the other portion of the events with blank during index time, so only the necessary information gets logged.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.4/Data/Anonymizedatausingconfigurationfiles#Anonymize_data_through_a_sed_script"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.4/Data/Anonymizedatausingconfigurationfiles#Anonymize_data_through_a_sed_script&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Sep 2018 11:57:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-remove-field-data-before-indexing/m-p/395606#M70544</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-09-30T11:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove field data before indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-remove-field-data-before-indexing/m-p/395607#M70545</link>
      <description>&lt;P&gt;These name value pairs are extracted at search time, not index time.&lt;/P&gt;

&lt;P&gt;Btw, &lt;CODE&gt;props.conf&lt;/CODE&gt; might have been -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[&amp;lt;sourcetype name&amp;gt;]
TRANSFORMS = tasknull
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Suppressing the name value pairs extraction at search time can be done via the explanations at  &lt;A href="https://answers.splunk.com/answers/74720/disable-automatic-field-extraction.html"&gt;Disable Automatic Field Extraction&lt;/A&gt; or &lt;A href="https://answers.splunk.com/answers/671900/how-to-avoid-extracting-fields-from-quoted-values.html"&gt;How to avoid extracting fields from quoted values?&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Unfortunately, it requires disabling the extractions by &lt;CODE&gt;KV_MODE=none&lt;/CODE&gt; in &lt;CODE&gt;props.conf&lt;/CODE&gt; in the search heads and creating your own extractions.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Sep 2018 20:46:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-remove-field-data-before-indexing/m-p/395607#M70545</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-09-30T20:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove field data before indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-remove-field-data-before-indexing/m-p/395608#M70546</link>
      <description>&lt;P&gt;hi @SathyaNarayanan&lt;/P&gt;

&lt;P&gt;Did the answer below solve your problem? If so, please resolve this post by approving it! &lt;BR /&gt;
If your problem is still not solved, keep us updated so that someone else can help ya. Thanks for posting!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2018 19:26:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-remove-field-data-before-indexing/m-p/395608#M70546</guid>
      <dc:creator>mstjohn_splunk</dc:creator>
      <dc:date>2018-10-01T19:26:50Z</dc:date>
    </item>
  </channel>
</rss>

