Splunk Dev

How to get Splunk universal forwarder GUID from cmd?

robduk1
New Member

Good morning all,

Does anyone know how to get the splunk universal forwarder GUID from cmd on a windows 10 machine?

Many thanks

Rob

Labels (1)
Tags (1)
0 Karma

Mdkoli
New Member

@robduk1 

Use below commmand to get GUID

cat /opt/splunk/etc/instance.cfg

Output will be somehting like,

[general]
guid = 383587E7-7339-4BA7-944B-86993A2E21C6

 

 

0 Karma

adonio
Ultra Champion

like this?

$SPLUNK_HOME\etc\more instance.cfg

output will be something like this:

[general]
guid = ASAFGLF-ASDADFF-ASFSFSGSG-ADAFFAAF
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...