There is also mention about distsearch.conf, but I did not find any info about roles. Probably splunk_monitoring_console_assets.conf has to have peers from distsearch.conf, but roles should be configured elsewhere.
Any idea? Except manual edit in GUI. Thanks
Monitoring Console should be refreshed after change anyway. But I did not find any CLI command, or REST requests to refresh it.
Seems that output is populated from Search: DMC Asset - Build Standalone Asset Table
There is no Splunk CLI command to edit splunk server roles.
The server role are set inside a csv file $SPLUNK_HOME/etc/apps/splunk_management_console/lookups/assets.csv you can edit this file using some editor and if you if you may wish have a backup - though its populated by script by default it doesn't somehow doesnt manage to set proper roles to you env,. you may need to change it manually