<?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: Host in Props.conf Not Working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193653#M38589</link>
    <description>&lt;P&gt;Not sure if this is relevant, you're setting properties for the data coming from a host, so shouldn't you be using syntax as &lt;CODE&gt;[host:SRV-DCP01UVWS01]&lt;/CODE&gt;. Also, the hyphen in the host name could also cause it to not work.&lt;/P&gt;</description>
    <pubDate>Tue, 12 May 2015 18:21:15 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2015-05-12T18:21:15Z</dc:date>
    <item>
      <title>Host in Props.conf Not Working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193647#M38583</link>
      <description>&lt;P&gt;I need to lengthen the lines in my events so I went into Splunk\etc\system\local\props.conf and added &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[SRV-DCP01UVWS01]
TRUNCATE = 20000 
MAX_EVENTS = 20000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It is not seeing the host, but if I change it from the host to the source &lt;CODE&gt;[ATG_Message_Log]&lt;/CODE&gt;then it will work correctly. I DO NOT want to use the source as it will affect other logging. I want to use the host &lt;/P&gt;

&lt;P&gt;This is a new host, do I have to define the host somewhere in Splunk so it can recognize it? &lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 15:54:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193647#M38583</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2015-05-12T15:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Host in Props.conf Not Working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193648#M38584</link>
      <description>&lt;P&gt;Check if the host uses FQDN or is coming from that source as an IP not a hostname. Your host stanza has to match how it looks in the data source. Consider wildcards if you have FQDN and non-FQDN, too.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 16:18:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193648#M38584</guid>
      <dc:creator>jtrucks</dc:creator>
      <dc:date>2015-05-12T16:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Host in Props.conf Not Working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193649#M38585</link>
      <description>&lt;P&gt;You have almost certainly done a host-override so you need to use the original host value, not your modified/overridden host value.  You could also use sourcetype in props.conf.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 16:25:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193649#M38585</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-05-12T16:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Host in Props.conf Not Working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193650#M38586</link>
      <description>&lt;P&gt;Thanks for the response. I'm going to do an nslookup on the box to see if I got the host name correct. I will post back if it works &lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 17:07:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193650#M38586</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2015-05-12T17:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Host in Props.conf Not Working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193651#M38587</link>
      <description>&lt;P&gt;Yeah I would agree, it seems to be the only logical answer. I also tried using the sourcetype and still had no luck, it seems like only the Source is working. I'll report back if I misnamed the host &lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 17:08:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193651#M38587</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2015-05-12T17:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Host in Props.conf Not Working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193652#M38588</link>
      <description>&lt;P&gt;I just did an nslookup on that domain and got what matched the data source and it still did not work. I then tried using the IP of the host and still couldn't get that working. The sourcetype also does not work. The only thing which works is the source. Any other ideas? Do I need to define the host somewhere in the inputs.conf?&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 18:12:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193652#M38588</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2015-05-12T18:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Host in Props.conf Not Working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193653#M38589</link>
      <description>&lt;P&gt;Not sure if this is relevant, you're setting properties for the data coming from a host, so shouldn't you be using syntax as &lt;CODE&gt;[host:SRV-DCP01UVWS01]&lt;/CODE&gt;. Also, the hyphen in the host name could also cause it to not work.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 18:21:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193653#M38589</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-05-12T18:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Host in Props.conf Not Working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193654#M38590</link>
      <description>&lt;P&gt;Thanks for your suggestion. In my original post I said it was only working on the source, but meant to say sourcetype.  I was finally able to get it to work by changing the sourcetype in my Splunk forwarder. &lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 18:42:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193654#M38590</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2015-05-12T18:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Host in Props.conf Not Working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193655#M38591</link>
      <description>&lt;P&gt;I finally got it working by changing my sourcetype in the Splunk forwarder on the server I was trying to hit. Thanks for your help &lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 18:42:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193655#M38591</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2015-05-12T18:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Host in Props.conf Not Working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193656#M38592</link>
      <description>&lt;P&gt;Be aware that you can rename your sourcetype back to match all of the others so that your searches will work the way they always have like this in props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[SRV-DCP01UVWS01-unique]
rename SRV-DCP01UVWS01
TRUNCATE = 20000 
MAX_EVENTS = 20000
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The benefit of this is that you get your unique changes but you also continue to share a common sourcetype.  Futhermore, you can discriminate back out the unique events if you need to by using &lt;CODE&gt;_sourcetype="SRV-DCP01UVWS01-unique"&lt;/CODE&gt; because &lt;CODE&gt;_sourcetype&lt;/CODE&gt; is created to contain the original value when you rename &lt;CODE&gt;sourcetype&lt;/CODE&gt;!&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 19:08:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193656#M38592</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-05-12T19:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Host in Props.conf Not Working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193657#M38593</link>
      <description>&lt;P&gt;@somesoni2:  you mention that the hyphen in the host name could also cause it not to work.  What do you mean?  We are having an issue where hyphenated hostnames aren't working.&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 13:53:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Host-in-Props-conf-Not-Working/m-p/193657#M38593</guid>
      <dc:creator>carlosumbc</dc:creator>
      <dc:date>2018-05-09T13:53:32Z</dc:date>
    </item>
  </channel>
</rss>

