<?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 props.conf hostname with hyphen in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-hostname-with-hyphen/m-p/377086#M68237</link>
    <description>&lt;P&gt;We are able to match entries in props.conf using the hostname... unless that hostname has a hyphen.  Then, for whatever reason, it never matches.  See example below:&lt;/P&gt;

&lt;P&gt;[host::server1.example.com]&lt;BR /&gt;
TRANSFORMS-server1 = route_to_idx1&lt;/P&gt;

&lt;H3&gt;This works&lt;/H3&gt;

&lt;P&gt;[host::server-2.example.com]&lt;BR /&gt;
TRANSFORMS-server2 = route_to_idx2&lt;/P&gt;

&lt;H3&gt;This doesn't work&lt;/H3&gt;</description>
    <pubDate>Tue, 29 Sep 2020 19:22:50 GMT</pubDate>
    <dc:creator>carlosumbc</dc:creator>
    <dc:date>2020-09-29T19:22:50Z</dc:date>
    <item>
      <title>props.conf hostname with hyphen</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-hostname-with-hyphen/m-p/377086#M68237</link>
      <description>&lt;P&gt;We are able to match entries in props.conf using the hostname... unless that hostname has a hyphen.  Then, for whatever reason, it never matches.  See example below:&lt;/P&gt;

&lt;P&gt;[host::server1.example.com]&lt;BR /&gt;
TRANSFORMS-server1 = route_to_idx1&lt;/P&gt;

&lt;H3&gt;This works&lt;/H3&gt;

&lt;P&gt;[host::server-2.example.com]&lt;BR /&gt;
TRANSFORMS-server2 = route_to_idx2&lt;/P&gt;

&lt;H3&gt;This doesn't work&lt;/H3&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:22:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-hostname-with-hyphen/m-p/377086#M68237</guid>
      <dc:creator>carlosumbc</dc:creator>
      <dc:date>2020-09-29T19:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf hostname with hyphen</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-hostname-with-hyphen/m-p/377087#M68238</link>
      <description>&lt;P&gt;Hi @carlosumbc ,&lt;/P&gt;

&lt;P&gt;Please use &lt;CODE&gt;*&lt;/CODE&gt; instead of &lt;CODE&gt;-&lt;/CODE&gt; and try.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host::server*2.example.com]
TRANSFORMS-server2 = route_to_idx2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if that works.&lt;/P&gt;

&lt;P&gt;Thank You!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 11:13:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-hostname-with-hyphen/m-p/377087#M68238</guid>
      <dc:creator>MousumiChowdhur</dc:creator>
      <dc:date>2018-10-25T11:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf hostname with hyphen</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/props-conf-hostname-with-hyphen/m-p/377088#M68239</link>
      <description>&lt;P&gt;@carlosumbc, please keep in mind that we can use wildcards (*) and regex in the host and source stanzas. &lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 11:20:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/props-conf-hostname-with-hyphen/m-p/377088#M68239</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-10-25T11:20:12Z</dc:date>
    </item>
  </channel>
</rss>

