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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...