Splunk Enterprise

What is the distributed_leases stanza for?

jmcnutt
Engager

I am working on securing all of the communications to my Splunk Enterprise servers.

Looking at the output of "splunk btool server list" there is a section named "distributed_leases" that has "sslVerifyServerCert=false" set (as given in etc/system/default/server.conf).

On the one hand, it also has "disabled=true" so I should be able to set it however I want and see no effects.

On the other hand, I don't prefer to tweak settings without knowing what they belong to.

Looking at the spec file revealed no more than a trivial answer about securing the connection.  Searching on docs.splunk.com turned up nothing except for the server.conf.spec file that I already had.

Does anyone know what "distributed_leases" is used for?

Labels (1)
0 Karma

cklunck
Path Finder

That stanza was added in v8.2.0, which was about the time federated search was rolled out.

If I had to guess, that stanza could lay the foundation for leasing authentication tokens from a vault (like HashiCorp Vault or Amazon STS), so those leased credentials can be used with distributed/federated search.

Admittedly, this is nothing more than wild speculation on my part. But given that it's not yet documented, it's probably not in use anywhere. And since it's disabled by default, you're probably safe changing the verify clause to true without it impacting anything. However, if it does break something, you didn't hear that from me

Source: completely baseless speculation

jmcnutt
Engager

Well, I'll be trying it shortly.  Fortunately, I have a host that doesn't matter TOO much if I break it.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...