<?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 Host value not being used as set during ingestion in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Host-value-not-being-used-as-set-during-ingestion/m-p/548056#M91156</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have set up a continuous monitor of the /var/log directory and set the host to "vps"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="getdata1.PNG" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13788i6D86CEA860ED51DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="getdata1.PNG" alt="getdata1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="getdata2.PNG" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13789iA5A686BF6A128DFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="getdata2.PNG" alt="getdata2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now when I am searching the oslogs index, I'm expecting all the logs to have the host value to be set as "vps" but that is not the case, instead of having one host "vps" I have two hosts "vps" and "ip-172-31-17-23" which is the hostname of my machine.&amp;nbsp; There is no additional input for the oslogs index, this is the only one that I've set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="getdata3.PNG" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13790iA0C370526154455A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="getdata3.PNG" alt="getdata3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What explains this anomaly and how can this be rectified ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Apr 2021 17:13:09 GMT</pubDate>
    <dc:creator>termcap</dc:creator>
    <dc:date>2021-04-15T17:13:09Z</dc:date>
    <item>
      <title>Host value not being used as set during ingestion</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Host-value-not-being-used-as-set-during-ingestion/m-p/548056#M91156</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have set up a continuous monitor of the /var/log directory and set the host to "vps"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="getdata1.PNG" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13788i6D86CEA860ED51DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="getdata1.PNG" alt="getdata1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="getdata2.PNG" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13789iA5A686BF6A128DFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="getdata2.PNG" alt="getdata2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now when I am searching the oslogs index, I'm expecting all the logs to have the host value to be set as "vps" but that is not the case, instead of having one host "vps" I have two hosts "vps" and "ip-172-31-17-23" which is the hostname of my machine.&amp;nbsp; There is no additional input for the oslogs index, this is the only one that I've set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="getdata3.PNG" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13790iA0C370526154455A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="getdata3.PNG" alt="getdata3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What explains this anomaly and how can this be rectified ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 17:13:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Host-value-not-being-used-as-set-during-ingestion/m-p/548056#M91156</guid>
      <dc:creator>termcap</dc:creator>
      <dc:date>2021-04-15T17:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Host value not being used as set during ingestion</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Host-value-not-being-used-as-set-during-ingestion/m-p/548143#M91160</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Since you are using a default sourcetype syslog which comes with default configuration to extract a host from _raw data.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[syslog]
pulldown_type = true
maxDist = 3
TIME_FORMAT = %b %d %H:%M:%S
MAX_TIMESTAMP_LOOKAHEAD = 32
TRANSFORMS = syslog-host
REPORT-syslog = syslog-extractions
SHOULD_LINEMERGE = False
category = Operating System
description = Output produced by many syslog daemons, as described in RFC3164 by the IETF&lt;/LI-CODE&gt;&lt;P&gt;Path of default config - /opt/splunk/etc/system/default/props.conf&lt;/P&gt;&lt;P&gt;-------------------------------------&lt;/P&gt;&lt;P&gt;An upvote would be appreciated if it helps!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 06:30:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Host-value-not-being-used-as-set-during-ingestion/m-p/548143#M91160</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-04-16T06:30:17Z</dc:date>
    </item>
  </channel>
</rss>

