<?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 edit inputs.conf to exclude a field before indexing? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-inputs-conf-to-exclude-a-field-before-indexing/m-p/271099#M52029</link>
    <description>&lt;P&gt;In your indexing tier's &lt;CODE&gt;props.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinHostMon]
### This affects ALL WinHostMon source types for the v6+ add-on
SEDCMD-nodesc = s/([\r\n]+)Description=".+"//g
SEDCMD-nopath = s/([\r\n]+)Path=".+"//g
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or to apply to &lt;EM&gt;only&lt;/EM&gt; WinHostMon's Service source&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::service]
SEDCMD-nodesc = s/([\r\n]+)Description=".+"//g
SEDCMD-nopath = s/([\r\n]+)Path=".+"//g
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 30 Apr 2019 22:49:06 GMT</pubDate>
    <dc:creator>Yorokobi</dc:creator>
    <dc:date>2019-04-30T22:49:06Z</dc:date>
    <item>
      <title>How to edit inputs.conf to exclude a field before indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-inputs-conf-to-exclude-a-field-before-indexing/m-p/271096#M52026</link>
      <description>&lt;P&gt;I am using Windows Host Monitoring stanza in inputs.conf like &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;([WinHostMon://Service]
interval = 10
disabled = 0
type = Service)
to collect service information on the windows machine . I got following in splunk .

Type=Service
Name="AeLookupSvc"
DisplayName="Application Experience"
Description="Processes application compatibility cache requests for applications as they are launched"
Path="C:\Windows\system32\svchost.exe -k netsvcs"
ServiceType="Share Process"
StartMode="Manual"
Started=false
State="Stopped"
Status="OK"
ProcessId=0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I do not want to index Description and Path Field. Please suggest how I can achieve this.&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
VG&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 12:38:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-inputs-conf-to-exclude-a-field-before-indexing/m-p/271096#M52026</guid>
      <dc:creator>vikas_gopal</dc:creator>
      <dc:date>2016-12-12T12:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit inputs.conf to exclude a field before indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-inputs-conf-to-exclude-a-field-before-indexing/m-p/271097#M52027</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;there are historic questions regarding this topic , for example&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/109253/how-to-filter-or-extract-fields-before-indexing-time.html"&gt;https://answers.splunk.com/answers/109253/how-to-filter-or-extract-fields-before-indexing-time.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 13:07:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-inputs-conf-to-exclude-a-field-before-indexing/m-p/271097#M52027</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2016-12-12T13:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit inputs.conf to exclude a field before indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-inputs-conf-to-exclude-a-field-before-indexing/m-p/271098#M52028</link>
      <description>&lt;P&gt;Please accept answer, if it was helpfull.&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 10:53:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-inputs-conf-to-exclude-a-field-before-indexing/m-p/271098#M52028</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2017-02-28T10:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit inputs.conf to exclude a field before indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-inputs-conf-to-exclude-a-field-before-indexing/m-p/271099#M52029</link>
      <description>&lt;P&gt;In your indexing tier's &lt;CODE&gt;props.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinHostMon]
### This affects ALL WinHostMon source types for the v6+ add-on
SEDCMD-nodesc = s/([\r\n]+)Description=".+"//g
SEDCMD-nopath = s/([\r\n]+)Path=".+"//g
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or to apply to &lt;EM&gt;only&lt;/EM&gt; WinHostMon's Service source&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::service]
SEDCMD-nodesc = s/([\r\n]+)Description=".+"//g
SEDCMD-nopath = s/([\r\n]+)Path=".+"//g
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Apr 2019 22:49:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-edit-inputs-conf-to-exclude-a-field-before-indexing/m-p/271099#M52029</guid>
      <dc:creator>Yorokobi</dc:creator>
      <dc:date>2019-04-30T22:49:06Z</dc:date>
    </item>
  </channel>
</rss>

