Getting Data In

change host name in nmon_data

khmohammadzadeh
New Member

Hello
I want to change host name in TA-nmon and I have set the value of override_sys_hostname in /dbdata1/splunkforwarder/etc/apps/TA-nmon/default/nmon.conf to 1 and I have defined host value in $SPLUNK_HOME/etc/system/local/inputs.conf, but host name does not change for nmon_data and it only chenges for nmon_collect sourcetype, I have searched a lot but I couldn't find anything, can any one help me?
I have used last version of TA-nmon from https://splunkbase.splunk.com/app/3248/.
Thanks

Tags (1)
0 Karma

gjanders
SplunkTrust
SplunkTrust

Might be worth tagging your post as relevant to Nmon or the newer Metricator so the app owner can respond

0 Karma

somesoni2
Revered Legend

For sourcetype nmon_data, the host names is overridden based on host name coming in the raw data (look at transforms.conf in /dbdata1/splunkforwarder/etc/apps/TA-nmon/default/transforms.conf), thus your override setting and not taking place there.

Also, when you want to make a change to app's config, do in local directory (TA-nmon/local, by creating the directory and creating a copy of that config file. That way your changes will remain intact, even after upgrade.

0 Karma

khmohammadzadeh
New Member

So isn't it possible to change host name for nmon_data?
Thanks

0 Karma

rvany
Communicator

Your have an All-In-One configuration AND the data source on the same system?

0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...