Configuration for single node cluster v 7.2 setup

My single node cluster configuration is like below

cluster.name: Elastic-Demo
node.name: ${HOSTNAME}
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 172.24.36.204
discovery.seed_hosts:

  • 172.24.36.204
    cluster.initial_master_nodes:
  • 172.24.36.204
    xpack.security.enabled: false
    discovery.zen.minimum_master_nodes: 1
    bootstrap.system_call_filter: true
    #bootstrap.memory_lock: true
    #discovery.type:single-node
    node.master: true

seems like this configuration is something wrong. appreciate if anyone can help me to set up single node cluster

You will have much better chances of someone responding if you format your configuration using </> or (```) and if you share the exact error message you get, and the relevant logs

Thank you very much for letting me this

cluster.name: ElasticDemO node.name: ${HOSTNAME} network.host: 172.24.36.204 xpack.security.enabled: false bootstrap.system_call_filter: false path.data: /var/lib/elasticsearch path.logs: /var/log/elasticsearch discovery.seed_hosts: ["172.24.36.204"] cluster.initial_master_nodes: ["172.24.36.204"] http.cors.enabled: true node.master: true