Deployment Architecture

Are double quotes acceptable to use for wrapping values in my conf files?

jbsplunk
Splunk Employee
Splunk Employee

For instance, if I try this in my distsearch.conf, it doesn't work:

[searchhead:SearchHead01-root]
mounted_bundles = true
bundles_location = "/opt/splunk/SH_bundles"

Will this work? Am I doing something wrong? I can't seem to make this work. Splunk complains that this isn't a directory:

4-07-2011 12:45:19.343 -0700 ERROR StreamedSearch - Bundle mounting: bundle location must be a directory, distsearch.conf stanza=searchhead:SearchHead01-root, bundles_location="/opt/splunk/SH_bundles", search head server_name=SearchHead01-root

1 Solution

Masa
Splunk Employee
Splunk Employee

No, I tried the exact same configuration, and got the same error.

Remove the double quotes. Then, it should work. This is not a script variable. The distsearch.conf does not like double quotes.

View solution in original post

Masa
Splunk Employee
Splunk Employee

No, I tried the exact same configuration, and got the same error.

Remove the double quotes. Then, it should work. This is not a script variable. The distsearch.conf does not like double quotes.

Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...