All Apps and Add-ons

Is it possible to dynamically set the host field for the scripted inputs in Splunk Add-on for ServiceNow?

hettervik
Builder

Hello,

I've sat up the Splunk Add-on for ServiceNow on a HF to gather inputs from ServiceNow using the default scripted inputs that comes with the add-on. When I search in the data on my indexer, the host field for the data is that of the HF, not the actual ServiceNow machines. I know I'm able to set a static host field in the inputs.conf file in the add-on on the HF, but I don't think this would be the best solution. Also, there are several ServiceNow machines, so the static field would have to have a more general value in this case. I can't find any solutions for setting a dynamic host field in the docs. Could anyone help me out?

0 Karma
Get Updates on the Splunk Community!

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

[Puzzles] Solve, Learn, Repeat: Nested loops in Event Conversion

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Your Guide to Splunk Digital Experience Monitoring

A flawless digital experience isn't just an advantage, it's key to customer loyalty and business success. But ...