<?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: help with host override in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/757629#M120167</link>
    <description>&lt;P&gt;Okay.&amp;nbsp; I think I managed to cut out just the relevant stanzas from the big btool outputs&lt;/P&gt;&lt;P&gt;props.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/opt/splunk/etc/apps/launcher/local/props.conf        [source::ansible]
/opt/splunk/etc/system/default/props.conf         ADD_EXTRA_TIME_FIELDS = True
/opt/splunk/etc/system/default/props.conf         ANNOTATE_PUNCT = True
/opt/splunk/etc/system/default/props.conf         AUTO_KV_JSON = true
/opt/splunk/etc/system/default/props.conf         BREAK_ONLY_BEFORE =
/opt/splunk/etc/system/default/props.conf         BREAK_ONLY_BEFORE_DATE = True
/opt/splunk/etc/system/default/props.conf         CHARSET = UTF-8
/opt/splunk/etc/system/default/props.conf         DATETIME_CONFIG = /etc/datetime.xml
/opt/splunk/etc/system/default/props.conf         DEPTH_LIMIT = 1000
/opt/splunk/etc/system/default/props.conf         DETERMINE_TIMESTAMP_DATE_WITH_SYSTEM_TIME = false
/opt/splunk/etc/system/default/props.conf         HEADER_MODE =
/opt/splunk/etc/system/default/props.conf         LB_CHUNK_BREAKER_TRUNCATE = 2000000
/opt/splunk/etc/system/default/props.conf         LEARN_MODEL = true
/opt/splunk/etc/system/default/props.conf         LEARN_SOURCETYPE = true
/opt/splunk/etc/system/default/props.conf         LINE_BREAKER_LOOKBEHIND = 100
/opt/splunk/etc/system/default/props.conf         MATCH_LIMIT = 100000
/opt/splunk/etc/system/default/props.conf         MAX_DAYS_AGO = 2000
/opt/splunk/etc/system/default/props.conf         MAX_DAYS_HENCE = 2
/opt/splunk/etc/system/default/props.conf         MAX_DIFF_SECS_AGO = 3600
/opt/splunk/etc/system/default/props.conf         MAX_DIFF_SECS_HENCE = 604800
/opt/splunk/etc/system/default/props.conf         MAX_EVENTS = 256
/opt/splunk/etc/system/default/props.conf         MAX_EXPECTED_EVENT_LINES = 7
/opt/splunk/etc/system/default/props.conf         MAX_TIMESTAMP_LOOKAHEAD = 128
/opt/splunk/etc/system/default/props.conf         MUST_BREAK_AFTER =
/opt/splunk/etc/system/default/props.conf         MUST_NOT_BREAK_AFTER =
/opt/splunk/etc/system/default/props.conf         MUST_NOT_BREAK_BEFORE =
/opt/splunk/etc/system/default/props.conf         SEGMENTATION = indexing
/opt/splunk/etc/system/default/props.conf         SEGMENTATION-all = full
/opt/splunk/etc/system/default/props.conf         SEGMENTATION-inner = inner
/opt/splunk/etc/system/default/props.conf         SEGMENTATION-outer = outer
/opt/splunk/etc/system/default/props.conf         SEGMENTATION-raw = none
/opt/splunk/etc/system/default/props.conf         SEGMENTATION-standard = standard
/opt/splunk/etc/system/default/props.conf         SHOULD_LINEMERGE = True
/opt/splunk/etc/system/default/props.conf         TRANSFORMS =
/opt/splunk/etc/apps/dw-hf_settings/default/props.conf        TRANSFORMS-hf_name = hf_name
/opt/splunk/etc/apps/launcher/local/props.conf        TRANSFORMS-host_override = ansible_override
/opt/splunk/etc/system/default/props.conf         TRUNCATE = 10000
/opt/splunk/etc/system/default/props.conf         detect_trailing_nulls = false
/opt/splunk/etc/system/default/props.conf         maxDist = 100
/opt/splunk/etc/system/default/props.conf         priority =
/opt/splunk/etc/system/default/props.conf         sourcetype =
/opt/splunk/etc/system/default/props.conf         termFrequencyWeightedDist = false
/opt/splunk/etc/system/default/props.conf         unarchive_cmd_start_mode = shell&lt;/LI-CODE&gt;&lt;P&gt;transforms.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/opt/splunk/etc/apps/launcher/local/transforms.conf        [ansible_override]
/opt/splunk/etc/system/default/transforms.conf         CAN_OPTIMIZE = True
/opt/splunk/etc/system/default/transforms.conf         CLEAN_KEYS = True
/opt/splunk/etc/system/default/transforms.conf         DEFAULT_VALUE =
/opt/splunk/etc/system/default/transforms.conf         DEPTH_LIMIT = 1000
/opt/splunk/etc/apps/launcher/local/transforms.conf        DEST_KEY = MetaData:Host
/opt/splunk/etc/apps/launcher/local/transforms.conf        FORMAT = host::$1
/opt/splunk/etc/system/default/transforms.conf         KEEP_EMPTY_VALS = False
/opt/splunk/etc/system/default/transforms.conf         LOOKAHEAD = 4096
/opt/splunk/etc/system/default/transforms.conf         MATCH_LIMIT = 100000
/opt/splunk/etc/system/default/transforms.conf         MV_ADD = False
/opt/splunk/etc/apps/launcher/local/transforms.conf        REGEX = \"cluster_host_id\"\:s\"([a-zA-Z.-_]+)\"
/opt/splunk/etc/system/default/transforms.conf         SOURCE_KEY = _raw
/opt/splunk/etc/system/default/transforms.conf         WRITE_META = False&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 23 Jan 2026 21:35:34 GMT</pubDate>
    <dc:creator>ilhwan</dc:creator>
    <dc:date>2026-01-23T21:35:34Z</dc:date>
    <item>
      <title>help with host override</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/757625#M120163</link>
      <description>&lt;P&gt;I'm trying to rewrite the host field on events that are coming into a HEC on a HF.&amp;nbsp; It's populating the hostname of the HF as host, and I'd really like to use what's in the event.&lt;/P&gt;&lt;P&gt;props.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[source::ansible]
TRANSFORMS-hostoverride = ansible_override&lt;/LI-CODE&gt;&lt;P&gt;transforms.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[ansible_override]
DEST_KEY = MetaData:Host
REGEX = \"cluster_host_id\"\:s\"([a-zA-Z.-_]+)\"
FORMAT = host::$1&lt;/LI-CODE&gt;&lt;P&gt;Here's a sample raw event:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{"@timestamp": "2026-01-23T18:09:35.832Z", "message": "Request appeared to be a trusted upstream proxy but failed to provide a matching shared secret.", "host": "uiitaap31.xxx.com", "level": "WARNING", "logger_name": "awx.api.generics", "stack_info": null, "guid": "c1daaaf92a4f403bb5739802f5d33d93", "cluster_host_id": "uiitaap31.xxx.com", "tower_uuid": null}&lt;/LI-CODE&gt;&lt;P&gt;This is what I'm getting:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ilhwan_0-1769192939198.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/41239i943C4BBE4DA041AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ilhwan_0-1769192939198.png" alt="ilhwan_0-1769192939198.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Instead of replacing the host, it's appending.&amp;nbsp; What am I doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2026 18:30:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/757625#M120163</guid>
      <dc:creator>ilhwan</dc:creator>
      <dc:date>2026-01-23T18:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: help with host override</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/757626#M120164</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/32920"&gt;@ilhwan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed back in 2022 you posted similar to this around some sourcetypes and changing the host so I just wanted to check - is there any chance there could be a conflict between these props/transforms and previous ones deployed?&lt;/P&gt;&lt;P&gt;Are you able to check the other props.conf configs for this same sourcetype to ensure no other transforms are being applied? As far as I can tell the way you are doing it should overwrite the existing host value which makes me wonder if something else is appending it somewhere.&lt;/P&gt;&lt;P&gt;Are you also able to confirm that there are no other search-time extractions occurring?&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you run the search in fast mode do you get the same host values (2 values per event) ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2026 19:42:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/757626#M120164</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2026-01-23T19:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: help with host override</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/757628#M120166</link>
      <description>&lt;P&gt;Wow.&amp;nbsp; I'd forgotten about the question in 2022.&amp;nbsp; That was a completely different source that comes in via a TA, and I'm assuming it wouldn't interact.&lt;/P&gt;&lt;P&gt;Searching in fast mode still shows both hosts in the metadata host field.&amp;nbsp; I did a search for "ansible" in the field extractions screen and found nothing.&amp;nbsp; Is there an easy way to tell if I'm doing unintended search-time extractions?&lt;/P&gt;&lt;P&gt;This is what I see for props and transforms when I restrict it to the app:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[splunk@UPSPLHF01 ~]$ /opt/splunk/bin/splunk btool props list --app=launcher --debug
/opt/splunk/etc/apps/launcher/local/props.conf [source::ansible]
/opt/splunk/etc/apps/launcher/local/props.conf TRANSFORMS-host_override = ansible_override
[splunk@UPSPLHF01 ~]$ /opt/splunk/bin/splunk btool transforms list --app=launcher --debug
/opt/splunk/etc/apps/launcher/local/transforms.conf [ansible_override]
/opt/splunk/etc/apps/launcher/local/transforms.conf DEST_KEY = MetaData:Host
/opt/splunk/etc/apps/launcher/local/transforms.conf FORMAT = host::$1
/opt/splunk/etc/apps/launcher/local/transforms.conf REGEX = \"cluster_host_id\"\:s\"([a-zA-Z.-_]+)\"
[splunk@UPSPLHF01 ~]$&lt;/LI-CODE&gt;&lt;P&gt;If I do not restrict it to the launcher app, it returns too much for me to post.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2026 20:11:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/757628#M120166</guid>
      <dc:creator>ilhwan</dc:creator>
      <dc:date>2026-01-23T20:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: help with host override</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/757629#M120167</link>
      <description>&lt;P&gt;Okay.&amp;nbsp; I think I managed to cut out just the relevant stanzas from the big btool outputs&lt;/P&gt;&lt;P&gt;props.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/opt/splunk/etc/apps/launcher/local/props.conf        [source::ansible]
/opt/splunk/etc/system/default/props.conf         ADD_EXTRA_TIME_FIELDS = True
/opt/splunk/etc/system/default/props.conf         ANNOTATE_PUNCT = True
/opt/splunk/etc/system/default/props.conf         AUTO_KV_JSON = true
/opt/splunk/etc/system/default/props.conf         BREAK_ONLY_BEFORE =
/opt/splunk/etc/system/default/props.conf         BREAK_ONLY_BEFORE_DATE = True
/opt/splunk/etc/system/default/props.conf         CHARSET = UTF-8
/opt/splunk/etc/system/default/props.conf         DATETIME_CONFIG = /etc/datetime.xml
/opt/splunk/etc/system/default/props.conf         DEPTH_LIMIT = 1000
/opt/splunk/etc/system/default/props.conf         DETERMINE_TIMESTAMP_DATE_WITH_SYSTEM_TIME = false
/opt/splunk/etc/system/default/props.conf         HEADER_MODE =
/opt/splunk/etc/system/default/props.conf         LB_CHUNK_BREAKER_TRUNCATE = 2000000
/opt/splunk/etc/system/default/props.conf         LEARN_MODEL = true
/opt/splunk/etc/system/default/props.conf         LEARN_SOURCETYPE = true
/opt/splunk/etc/system/default/props.conf         LINE_BREAKER_LOOKBEHIND = 100
/opt/splunk/etc/system/default/props.conf         MATCH_LIMIT = 100000
/opt/splunk/etc/system/default/props.conf         MAX_DAYS_AGO = 2000
/opt/splunk/etc/system/default/props.conf         MAX_DAYS_HENCE = 2
/opt/splunk/etc/system/default/props.conf         MAX_DIFF_SECS_AGO = 3600
/opt/splunk/etc/system/default/props.conf         MAX_DIFF_SECS_HENCE = 604800
/opt/splunk/etc/system/default/props.conf         MAX_EVENTS = 256
/opt/splunk/etc/system/default/props.conf         MAX_EXPECTED_EVENT_LINES = 7
/opt/splunk/etc/system/default/props.conf         MAX_TIMESTAMP_LOOKAHEAD = 128
/opt/splunk/etc/system/default/props.conf         MUST_BREAK_AFTER =
/opt/splunk/etc/system/default/props.conf         MUST_NOT_BREAK_AFTER =
/opt/splunk/etc/system/default/props.conf         MUST_NOT_BREAK_BEFORE =
/opt/splunk/etc/system/default/props.conf         SEGMENTATION = indexing
/opt/splunk/etc/system/default/props.conf         SEGMENTATION-all = full
/opt/splunk/etc/system/default/props.conf         SEGMENTATION-inner = inner
/opt/splunk/etc/system/default/props.conf         SEGMENTATION-outer = outer
/opt/splunk/etc/system/default/props.conf         SEGMENTATION-raw = none
/opt/splunk/etc/system/default/props.conf         SEGMENTATION-standard = standard
/opt/splunk/etc/system/default/props.conf         SHOULD_LINEMERGE = True
/opt/splunk/etc/system/default/props.conf         TRANSFORMS =
/opt/splunk/etc/apps/dw-hf_settings/default/props.conf        TRANSFORMS-hf_name = hf_name
/opt/splunk/etc/apps/launcher/local/props.conf        TRANSFORMS-host_override = ansible_override
/opt/splunk/etc/system/default/props.conf         TRUNCATE = 10000
/opt/splunk/etc/system/default/props.conf         detect_trailing_nulls = false
/opt/splunk/etc/system/default/props.conf         maxDist = 100
/opt/splunk/etc/system/default/props.conf         priority =
/opt/splunk/etc/system/default/props.conf         sourcetype =
/opt/splunk/etc/system/default/props.conf         termFrequencyWeightedDist = false
/opt/splunk/etc/system/default/props.conf         unarchive_cmd_start_mode = shell&lt;/LI-CODE&gt;&lt;P&gt;transforms.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/opt/splunk/etc/apps/launcher/local/transforms.conf        [ansible_override]
/opt/splunk/etc/system/default/transforms.conf         CAN_OPTIMIZE = True
/opt/splunk/etc/system/default/transforms.conf         CLEAN_KEYS = True
/opt/splunk/etc/system/default/transforms.conf         DEFAULT_VALUE =
/opt/splunk/etc/system/default/transforms.conf         DEPTH_LIMIT = 1000
/opt/splunk/etc/apps/launcher/local/transforms.conf        DEST_KEY = MetaData:Host
/opt/splunk/etc/apps/launcher/local/transforms.conf        FORMAT = host::$1
/opt/splunk/etc/system/default/transforms.conf         KEEP_EMPTY_VALS = False
/opt/splunk/etc/system/default/transforms.conf         LOOKAHEAD = 4096
/opt/splunk/etc/system/default/transforms.conf         MATCH_LIMIT = 100000
/opt/splunk/etc/system/default/transforms.conf         MV_ADD = False
/opt/splunk/etc/apps/launcher/local/transforms.conf        REGEX = \"cluster_host_id\"\:s\"([a-zA-Z.-_]+)\"
/opt/splunk/etc/system/default/transforms.conf         SOURCE_KEY = _raw
/opt/splunk/etc/system/default/transforms.conf         WRITE_META = False&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 23 Jan 2026 21:35:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/757629#M120167</guid>
      <dc:creator>ilhwan</dc:creator>
      <dc:date>2026-01-23T21:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: help with host override</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/757636#M120169</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/32920"&gt;@ilhwan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;a backslash is mised befor the s:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;\"cluster_host_id\"\:\s\"([a-zA-Z.-_]+)\"&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jan 2026 06:40:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/757636#M120169</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2026-01-24T06:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: help with host override</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/757638#M120170</link>
      <description>&lt;P&gt;Aren't you by any chance using indexed extractions?&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jan 2026 08:52:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/757638#M120170</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-01-24T08:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: help with host override</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/757670#M120173</link>
      <description>&lt;P&gt;Good catch!&amp;nbsp; Thank you.&amp;nbsp; Unfortunately, I'll need a day or two to actually test it out because the events come in so infrequently.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 17:19:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/757670#M120173</guid>
      <dc:creator>ilhwan</dc:creator>
      <dc:date>2026-01-26T17:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: help with host override</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/757815#M120188</link>
      <description>&lt;P&gt;Okay, I finally got an event on that collector.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ilhwan_0-1769805434416.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/41258iB46D29C95F7B5C97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ilhwan_0-1769805434416.png" alt="ilhwan_0-1769805434416.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We're so close.&amp;nbsp; It looks like I can search by hostname, and I can probably leave it this way.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2026 20:38:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/757815#M120188</guid>
      <dc:creator>ilhwan</dc:creator>
      <dc:date>2026-01-30T20:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: help with host override</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/758429#M120239</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/32920"&gt;@ilhwan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2026 16:55:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/help-with-host-override/m-p/758429#M120239</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2026-02-17T16:55:06Z</dc:date>
    </item>
  </channel>
</rss>

