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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

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

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...