<?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: How to Identify which HF is sending logs/metrics in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/757526#M120149</link>
    <description>&lt;P&gt;Ok, it's been a long time but I finally had a use case to reimplement this from scratch in a new environment.&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[default]
TRANSFORMS-splunk_forwarder = splunk_forwarder_field&lt;/LI-CODE&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[splunk_forwarder_field]
REGEX = .
WRITE_META = true
FORMAT = splunk_forwarder::text_host_name_of_choice&lt;/LI-CODE&gt;&lt;P&gt;Note: The literal text after the :: becomes the value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additional value is I can reverence this field in a tstats by command to group things together.&amp;nbsp; It's helpful in many ways but I like be able to track count of ingested event by HF source for index source and sourctypes.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jan 2026 23:10:50 GMT</pubDate>
    <dc:creator>dural_yyz</dc:creator>
    <dc:date>2026-01-21T23:10:50Z</dc:date>
    <item>
      <title>How to Identify which HF is sending logs/metrics</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/704165#M116465</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have incoming data from 2 Heavy Forwarders.&lt;/P&gt;&lt;P&gt;Both of forward HEC data and the internal logs, how do I identify which HF is sending a particular HEC data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pravin&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 13:51:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/704165#M116465</guid>
      <dc:creator>_pravin</dc:creator>
      <dc:date>2024-11-12T13:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to Identify which HF is sending logs/metrics</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/704208#M116468</link>
      <description>&lt;P&gt;you can check field call "splunk_server"&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 19:44:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/704208#M116468</guid>
      <dc:creator>hieuba6868</dc:creator>
      <dc:date>2024-11-12T19:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Identify which HF is sending logs/metrics</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/704212#M116469</link>
      <description>&lt;P&gt;Unless you explicitly do something to the data (for example, add an indexed field containing the name of the forwarder) Splunk doesn't keep this kind of metadata.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 20:05:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/704212#M116469</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-11-12T20:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Identify which HF is sending logs/metrics</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/704259#M116474</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244933"&gt;@hieuba6868&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sending open telemetry data to heavy forwarder and the HF forwards the data to indexers. When I look at the&amp;nbsp; field 'splunk_server' I can see only the name of indexers. If I look at the data I can see the name of the otel source. In my current scenario I want to know which is the HF sending the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pravin&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 10:24:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/704259#M116474</guid>
      <dc:creator>_pravin</dc:creator>
      <dc:date>2024-11-13T10:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to Identify which HF is sending logs/metrics</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/704260#M116475</link>
      <description>&lt;P&gt;I use Splunk Enterprise 9.0.4 and I tried adding _meta field which didn't work. I also tried adding INGEST_EVAL to transforms and tried sending the data, still no luck identifying the source.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 10:26:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/704260#M116475</guid>
      <dc:creator>_pravin</dc:creator>
      <dc:date>2024-11-13T10:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to Identify which HF is sending logs/metrics</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/705059#M116623</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure If you already did but the Monitoring Console could give you some insight. Mainly volume per token and activity by your HEC instances aka HFs.&lt;/P&gt;&lt;P&gt;Take a look under Indexing &amp;gt; Inputs &amp;gt;&amp;nbsp;HTTP Event Collector: Instance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 15:47:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/705059#M116623</guid>
      <dc:creator>alemarzu</dc:creator>
      <dc:date>2024-11-22T15:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Identify which HF is sending logs/metrics</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/705074#M116624</link>
      <description>&lt;P&gt;I had done something like this in a previous life.&amp;nbsp; Each HF should get an app which has a props definition under the default stanza.&amp;nbsp; For a small number of HF's you can do this manually, for a large group to manage from like a DS reference the Splunk environment variables.&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;PRE&gt;[default]&lt;BR /&gt;splunk_forwarder = &amp;lt;HOSTNAME&amp;gt;&lt;/PRE&gt;&lt;P&gt;It has been a while so play around with this.&amp;nbsp; I seem to remember it was a props.conf mapped to transforms.conf which inserted the hostname so find what works the best for you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 17:55:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/705074#M116624</guid>
      <dc:creator>dural_yyz</dc:creator>
      <dc:date>2024-11-22T17:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Identify which HF is sending logs/metrics</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/705082#M116629</link>
      <description>&lt;P&gt;And how is this supposed to work? There is no property called splunk_forwarder in any props stanza. Also, Splunk does variable expansion on a very limited set of settings.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 20:46:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/705082#M116629</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-11-22T20:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Identify which HF is sending logs/metrics</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/705108#M116638</link>
      <description>&lt;P&gt;Can you post how your _meta field was configured? It should be in inputs.conf and have the format:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;_meta = fieldname::fieldvalue&lt;/LI-CODE&gt;
&lt;P&gt;So if you have two heavy forwarders, one can have an input with:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;_meta = meta_hfnum::1&lt;/LI-CODE&gt;
&lt;P&gt;and the other:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;_meta = meta_hfnum::2&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2024 15:20:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/705108#M116638</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-11-23T15:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to Identify which HF is sending logs/metrics</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/705109#M116639</link>
      <description>&lt;P&gt;Unfortunately, there is just one "instance" of _meta entry in the whole config. So you can't "merge" separate _meta settings - one will overwrite another. That's why TRANSFORMS is a better approach.&lt;/P&gt;&lt;P&gt;I'm also not sure what _meta will do on the splunktcp input especially when handling an input stream already containing metadata fields.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2024 15:34:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/705109#M116639</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-11-23T15:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to Identify which HF is sending logs/metrics</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/705112#M116641</link>
      <description>&lt;P&gt;You can have separate _meta entries for different input stanzas. If you have two heavy forwarders handing different inputs then this should be doable. I've not tried it in a generalized input stanza but if the number of input stanzas are low then it is feasible to add _meta entries for each.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2024 15:52:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/705112#M116641</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-11-23T15:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to Identify which HF is sending logs/metrics</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/705116#M116645</link>
      <description>&lt;P&gt;Yes. For different input stanzas - sure. But you can't - for example - have multiple apps defining multiple meta entries (like one for the environment the forwarder is in and another for the OS or team responsible or whatever) for the same input.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2024 18:30:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/705116#M116645</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-11-23T18:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to Identify which HF is sending logs/metrics</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/757526#M120149</link>
      <description>&lt;P&gt;Ok, it's been a long time but I finally had a use case to reimplement this from scratch in a new environment.&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[default]
TRANSFORMS-splunk_forwarder = splunk_forwarder_field&lt;/LI-CODE&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[splunk_forwarder_field]
REGEX = .
WRITE_META = true
FORMAT = splunk_forwarder::text_host_name_of_choice&lt;/LI-CODE&gt;&lt;P&gt;Note: The literal text after the :: becomes the value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additional value is I can reverence this field in a tstats by command to group things together.&amp;nbsp; It's helpful in many ways but I like be able to track count of ingested event by HF source for index source and sourctypes.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2026 23:10:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/757526#M120149</guid>
      <dc:creator>dural_yyz</dc:creator>
      <dc:date>2026-01-21T23:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Identify which HF is sending logs/metrics</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/757527#M120150</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241148"&gt;@_pravin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I di this and it runs:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# cat props.conf 
[default]
TRANSFORMS-default = set_splunk_hf

# cat transforms.conf 
[set_splunk_hf]
INGEST_EVAL = splunk_hf := splunk_server

# cat fields.conf
[splunk_hf]
INDEXED = true&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2026 16:57:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/757527#M120150</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2026-01-21T16:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Identify which HF is sending logs/metrics</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/757569#M120151</link>
      <description>&lt;P&gt;Remember that := operator is worse performance-wise than simple =&lt;/P&gt;&lt;P&gt;Also since you're using TRANSFORM, not RULESET, it will only be fired once on non-parsed data so unless you already have an _indexed field_ called splunk_hf with your unparsed data (a very very unlikely scenario), you can just use normal assignment operator.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 17:44:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-Identify-which-HF-is-sending-logs-metrics/m-p/757569#M120151</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-01-22T17:44:28Z</dc:date>
    </item>
  </channel>
</rss>

