<?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 WMI route to nullQueue based on host. Is it possible? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/WMI-route-to-nullQueue-based-on-host-Is-it-possible/m-p/68522#M13858</link>
    <description>&lt;P&gt;When retrieving EventLogs through WMI, the host value is assigned by a system/detault/props.conf config:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[wmi]
TRANSFORMS-FIELDS = wmi-host,...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can I specify a "local" props where I use the [host::] stanza to apply some further TRANSFORMS? &lt;/P&gt;

&lt;P&gt;I am getting troubles as it seems like when my stanza is executed, the events' host field is still the name of the HWF, i.e. my stanza's transforms are executed BEFORE [wmi-host].&lt;/P&gt;

&lt;P&gt;My config stanza is like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host::servername]
TRANSFORMS-IAS = sentAllToNullQueue, KeepIAS
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;p.s. if I modify the stanza to [WMI:WinEventLog:System] my configs work fine, except that they are applied to all the hosts, not just the one I need...&lt;/P&gt;</description>
    <pubDate>Mon, 24 Sep 2012 15:38:38 GMT</pubDate>
    <dc:creator>Paolo_Prigione</dc:creator>
    <dc:date>2012-09-24T15:38:38Z</dc:date>
    <item>
      <title>WMI route to nullQueue based on host. Is it possible?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WMI-route-to-nullQueue-based-on-host-Is-it-possible/m-p/68522#M13858</link>
      <description>&lt;P&gt;When retrieving EventLogs through WMI, the host value is assigned by a system/detault/props.conf config:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[wmi]
TRANSFORMS-FIELDS = wmi-host,...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can I specify a "local" props where I use the [host::] stanza to apply some further TRANSFORMS? &lt;/P&gt;

&lt;P&gt;I am getting troubles as it seems like when my stanza is executed, the events' host field is still the name of the HWF, i.e. my stanza's transforms are executed BEFORE [wmi-host].&lt;/P&gt;

&lt;P&gt;My config stanza is like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host::servername]
TRANSFORMS-IAS = sentAllToNullQueue, KeepIAS
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;p.s. if I modify the stanza to [WMI:WinEventLog:System] my configs work fine, except that they are applied to all the hosts, not just the one I need...&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2012 15:38:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WMI-route-to-nullQueue-based-on-host-Is-it-possible/m-p/68522#M13858</guid>
      <dc:creator>Paolo_Prigione</dc:creator>
      <dc:date>2012-09-24T15:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: WMI route to nullQueue based on host. Is it possible?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WMI-route-to-nullQueue-based-on-host-Is-it-possible/m-p/68523#M13859</link>
      <description>&lt;P&gt;No, it is not possible. &lt;/P&gt;

&lt;P&gt;TRANSFORMS are executed AFTER props.conf stanza evaluations. So, if I use transforms to assign a new host or sourcetype, the related [host::....] and [surcetype] stanzas are NOT applied. &lt;/P&gt;

&lt;P&gt;The only way to go is to replicate transforms to apply any necessary modifications, such as routing to nullQueue, assign to different index, and so on. &lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2012 13:57:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WMI-route-to-nullQueue-based-on-host-Is-it-possible/m-p/68523#M13859</guid>
      <dc:creator>Paolo_Prigione</dc:creator>
      <dc:date>2012-11-19T13:57:27Z</dc:date>
    </item>
  </channel>
</rss>

