<?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: Filtering WinHostMon with transforms/props so it doesn't index the status of a particular service. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Filtering-WinHostMon-with-transforms-props-so-it-doesn-t-index/m-p/454005#M171260</link>
    <description>&lt;P&gt;Hello jospina2,&lt;/P&gt;

&lt;P&gt;Did you try an other : testing_service_filter2&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[testing_service_filter]&lt;BR /&gt;
REGEX = MyService&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;[testing_service_filter2]&lt;BR /&gt;
REGEX = MyService&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;And then in props.conf: &lt;/P&gt;

&lt;P&gt;TRANSFORMS-block_service2 = testing_service_filter2,&lt;/P&gt;

&lt;P&gt;Can you try this ? &lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 01:39:10 GMT</pubDate>
    <dc:creator>Kawtar</dc:creator>
    <dc:date>2020-09-30T01:39:10Z</dc:date>
    <item>
      <title>Filtering WinHostMon with transforms/props so it doesn't index the status of a particular service.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-WinHostMon-with-transforms-props-so-it-doesn-t-index/m-p/454004#M171259</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am trying to use transforms/props to filter a service from being indexed&lt;/P&gt;

&lt;P&gt;This is what I have:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;/etc/system/local/transforms.conf :&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;[testing_service_filter]&lt;BR /&gt;
REGEX = MyService&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;/etc/system/local/props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;[WinHostMon:Service]&lt;BR /&gt;
TRANSFORMS-block_service = testing_service_filter&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;I have also tried:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;[WinHostMon://Service]&lt;BR /&gt;
TRANSFORMS-block_service = testing_service_filter&lt;BR /&gt;
[source::service]&lt;BR /&gt;
sourcetype = WinHostMon&lt;BR /&gt;
TRANSFORMS-block_service = testing_service_filter&lt;BR /&gt;
[source:service]&lt;BR /&gt;
TRANSFORMS-block_service = testing_service_filter&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;and &lt;/P&gt;

&lt;P&gt;&lt;EM&gt;[WinHostMon]&lt;BR /&gt;
TRANSFORMS-block_service = testing_service_filter&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;What am I doing wrong? I have no problem filtering other sources (e.g. I have dozens of filters applied to WinEventLog, and never had an issue setting them up), but every transform I try to apply on WinHostMon doesn't seem to work.  What am I missing?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:29:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-WinHostMon-with-transforms-props-so-it-doesn-t-index/m-p/454004#M171259</guid>
      <dc:creator>jospina2</dc:creator>
      <dc:date>2020-09-30T00:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering WinHostMon with transforms/props so it doesn't index the status of a particular service.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-WinHostMon-with-transforms-props-so-it-doesn-t-index/m-p/454005#M171260</link>
      <description>&lt;P&gt;Hello jospina2,&lt;/P&gt;

&lt;P&gt;Did you try an other : testing_service_filter2&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[testing_service_filter]&lt;BR /&gt;
REGEX = MyService&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;[testing_service_filter2]&lt;BR /&gt;
REGEX = MyService&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;And then in props.conf: &lt;/P&gt;

&lt;P&gt;TRANSFORMS-block_service2 = testing_service_filter2,&lt;/P&gt;

&lt;P&gt;Can you try this ? &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:39:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-WinHostMon-with-transforms-props-so-it-doesn-t-index/m-p/454005#M171260</guid>
      <dc:creator>Kawtar</dc:creator>
      <dc:date>2020-09-30T01:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering WinHostMon with transforms/props so it doesn't index the status of a particular service.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-WinHostMon-with-transforms-props-so-it-doesn-t-index/m-p/454006#M171261</link>
      <description>&lt;P&gt;I'm a Splunk newbie so I'm not sure this is the most efficient method but I've got it working by:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Adding a stanza to props.conf in /etc/system/local&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;[WinHostMon]&lt;BR /&gt;
TRANSFORMS-filter = filter_manual_service&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Add a stanza to the transforms.conf in /etc/system/local&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;[filter_manual_service]&lt;BR /&gt;
REXEG = StartMode="Manual"&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;It would be great to find out if there is a better way to do this.&lt;/P&gt;

&lt;P&gt;Cheers&lt;/P&gt;

&lt;P&gt;Graham&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:21:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-WinHostMon-with-transforms-props-so-it-doesn-t-index/m-p/454006#M171261</guid>
      <dc:creator>daviesg</dc:creator>
      <dc:date>2020-09-30T03:21:24Z</dc:date>
    </item>
  </channel>
</rss>

