server.conf - Splunk Documentation (original) (raw)

This documentation does not apply to the most recent version of Splunk® Enterprise. For documentation on the most recent version, go to the latest release.

The following are the spec and example files for server.conf.

server.conf.spec

Version 7.3.0

############################################################################

This file contains settings and values to configure server options

in server.conf.

There is a server.conf in $SPLUNK_HOME/etc/system/default/. To set custom

configurations, place a copy of server.conf in

$SPLUNK_HOME/etc/system/local/.

For examples, see server.conf.example.

You must restart Splunk to enable configurations.

To learn more about configuration files (including how file precedence is

determined) see the Administration Manual section about configuration

files. Splunk documentation can be found at

https://docs.splunk.com/Documentation.

GLOBAL SETTINGS

Use the [default] stanza to define any global settings.

* You can also define global settings outside of any stanza at the top

of the file.

* Each configuration file should have at most one default stanza.

If you have multiple default stanzas, settings are combined. If you

have multiple definitions of the same settings, the last definition

in the file wins.

* If a setting is defined at both the global level and in a specific

stanza, the value in the specific stanza takes precedence.

General Server Configuration

[general] serverName =

hostnameOption =

sessionTimeout = [s|m|h|d]

trustedIP =

allowRemoteLogin = always|never|requireSetPassword

tar_format = gnutar|ustar

access_logging_for_phonehome =

hangup_after_phonehome =

pass4SymmKey =

listenOnIPv6 = no|yes|only

connectUsingIpVersion = auto|4-first|6-first|4-only|6-only

guid =

useHTTPServerCompression =

defaultHTTPServerCompressionLevel =

skipHTTPCompressionAcl =

legacyCiphers = decryptOnly|disabled

site =

useHTTPClientCompression = true|false|on-http|on-https

embedSecret =

parallelIngestionPipelines =

pipelineSetSelectionPolicy = <round_robin | weighted_random>

pipelineSetWeightsUpdatePeriod =

pipelineSetNumTrackingPeriods =

instanceType =

requireBootPassphrase =

remoteStorageRecreateIndexesInStandalone =

cleanRemoteStorageByDefault =

recreate_index_fetch_bucket_batch_size =

recreate_bucket_fetch_manifest_batch_size =

splunkd_stop_timeout =

Deployment Configuration details

[deployment] pass4SymmKey = * Authenticates traffic between the deployment server (DS) and its deployment clients (DCs). * By default, DS-DCs passphrase authentication key is disabled. To enable DS-DCs passphrase authentication, you must also add the following line to the [broker:broker] stanza in the restmap.conf file: requireAuthentication = true * If the key is not set in the [deployment] stanza, the key is looked for in the [general] stanza. * NOTE: Unencrypted passwords must not begin with "$1$", because this is used by Splunk software to determine if the password is already encrypted.

SSL Configuration details

[sslConfig]

enableSplunkdSSL =

useClientSSLCompression =

useSplunkdClientSSLCompression =

sslVersions =

sslVersionsForClient =

supportSSLV3Only =

sslVerifyServerCert =

sslCommonNameToCheck = , , ...

sslCommonNameList = , , ...

sslAltNameToCheck = , , ...

requireClientCert =

cipherSuite =

ecdhCurveName =

ecdhCurves =

serverCert =

sslKeysfile =

sslPassword =

sslKeysfilePassword =

sslRootCAPath =

sslRootCAPathHonoredOnWindows =

caCertFile =

dhFile =

caPath =

certCreateScript =