splunk / splunk-shuttl

Splunk app for archive management, including HDFS support.
Apache License 2.0
36 stars 19 forks source link

Get the server name from rest endpoint instead of configuration #90

Closed petterik closed 11 years ago

petterik commented 12 years ago

The server name of a Splunk instance can be retrieved from: https://hostname:8089/services/server/info/serverName

Makes it easier to configure and hopefully more consistent. It should still be possible to override this configuration, incase someone would like to be configured as if it was some other server.

petterik commented 11 years ago

Not a good idea, since the server name can change and then the buckets in the archive wouldn't be visible for that server anymore.