Splunk Dev

Why am I getting invalid site id

a212830
Champion

Hi,

I'm building out my dev Splunk 6.3 env, and ran this command:

./splunk edit cluster-config -mode master -multisite true -site RTP -available_sites RTP,OMA,MMK -site_replication_factor origin:1,total:3 -site_search_factor origin:1,total:3 -secret splunkDEV

When I do this, it returns "In handler 'clusterconfig': Invalid site id: RTP". Should RTP be removed, since it's listed in the initial site statement? The training docs follow this format.

0 Karma
1 Solution

a212830
Champion

Found it. Apparently they have to be named site1, site2.... Bummer. OK. Onward and upward!

View solution in original post

dshpritz
SplunkTrust
SplunkTrust

From the server.conf spec:

site = < site>
* Specifies the site that this splunk instance belongs to when multisite is enabled.
* Valid values for site-id include site1 to site63

You can't make up your own names, you have to use site+integer.

Thanks,
Dave

0 Karma

sloshburch
Splunk Employee
Splunk Employee

Or the classic joke: You can use whatever name you want, as long as its site+integer 😉

a212830
Champion

Found it. Apparently they have to be named site1, site2.... Bummer. OK. Onward and upward!

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 ...