Deployment Architecture

server.conf creation for indexers and search heads

terpdog
Explorer

We are building some deployments and have noticed that when we rebuild a cluster in k8s that the "server.conf" in particular the serverName gets set to example indexer1- and we would like it to be just indexer1.

Is there a value like the following that we could use to set it?

 env:
    - name: SPLUNK_HOME
      value: /opt/splunk
    - name: SPLUNK_START_ARGS
      value: "--accept-license"
    - name: SPLUNK_ROLE
      value: splunk_indexer
    - name: SPLUNK_INDEXER_URL
      value: indexer1,indexer2,indexer3,indexer4,indexer5,indexer6,indexer7,indexer8,indexer9
    - name: SPLUNK_SEARCH_HEAD_URL
      value: search1,search2,search3
    - name: SPLUNK_PASSWORD
      value: helloworld
    - name: DEBUG
      value: "true"
0 Karma
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...