<?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 How to drop event comming from host template* in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-event-comming-from-host-template/m-p/358747#M65478</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;
I have to drop all events received from hosts named template*&lt;/P&gt;

&lt;P&gt;I have created an app on indexer with the following files:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;local/app.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[install]
is_configured = 1

[ui]
is_visible = 0
label = NoTemplate

[launcher]
author = moi
description = ignore les events qui proviennent des hosts template*
version = 0.0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;local/props.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host::template...]
TRANSFORMS-template = drop_templates
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;local/transforms.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[drop_templates]
REGEX = .
DEST_KEY=queue
FORMAT=nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Events from host &lt;CODE&gt;template-rh-7t&lt;/CODE&gt;still indexed !?&lt;/P&gt;

&lt;P&gt;I also try with stanza &lt;CODE&gt;host::template*]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Any idee ?&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Christian&lt;/P&gt;</description>
    <pubDate>Tue, 08 Aug 2017 12:22:06 GMT</pubDate>
    <dc:creator>ktn01</dc:creator>
    <dc:date>2017-08-08T12:22:06Z</dc:date>
    <item>
      <title>How to drop event comming from host template*</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-event-comming-from-host-template/m-p/358747#M65478</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
I have to drop all events received from hosts named template*&lt;/P&gt;

&lt;P&gt;I have created an app on indexer with the following files:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;local/app.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[install]
is_configured = 1

[ui]
is_visible = 0
label = NoTemplate

[launcher]
author = moi
description = ignore les events qui proviennent des hosts template*
version = 0.0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;local/props.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host::template...]
TRANSFORMS-template = drop_templates
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;local/transforms.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[drop_templates]
REGEX = .
DEST_KEY=queue
FORMAT=nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Events from host &lt;CODE&gt;template-rh-7t&lt;/CODE&gt;still indexed !?&lt;/P&gt;

&lt;P&gt;I also try with stanza &lt;CODE&gt;host::template*]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Any idee ?&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Christian&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 12:22:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-event-comming-from-host-template/m-p/358747#M65478</guid>
      <dc:creator>ktn01</dc:creator>
      <dc:date>2017-08-08T12:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to drop event comming from host template*</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-event-comming-from-host-template/m-p/358748#M65479</link>
      <description>&lt;P&gt;your pattern in the props stanza name &lt;BR /&gt;
 [host::template...]&lt;BR /&gt;
matches hostnames 'template' followed by exactly 3 more arbitrary chars. &lt;/P&gt;

&lt;P&gt;You should use something like&lt;BR /&gt;
 [host::template.*]&lt;BR /&gt;
this matches template followed by an arbitrary number of arbitrary chars. Just be careful, this matches anything which starts with template.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 13:37:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-drop-event-comming-from-host-template/m-p/358748#M65479</guid>
      <dc:creator>FritzWittwer_ol</dc:creator>
      <dc:date>2017-08-08T13:37:06Z</dc:date>
    </item>
  </channel>
</rss>

