All Apps and Add-ons

Add-on builder set static host field

goran_epl
Explorer

Hello,
I am building an TA with Splunk add-on builder with scripted input.
I want to give a user the possibility to set static host field for each input.
I cannot add host field in data input parameters because I am getting an error:
"Internal name
The input parameter name 'host' is a reserved keyword"

How can I do that?

Hostname or IP is not in the event data, but I have an input parameter hostname which I could use.

0 Karma

chli_splunk
Splunk Employee
Splunk Employee

Please use "hostname" or "myhost" instead of "host" which is a Splunk reserved parameter. Also please make sure the internal name you created is unique in UI

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...