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 Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...