Where does Elasticsearch store its data?

前端 未结 7 1933
小鲜肉
小鲜肉 2021-01-01 11:21

So I have this Elasticsearch installation, in insert data with logstash, visualize them with kibana.

Everything in the conf file is commented, so it\'s using the defa

相关标签:
7条回答
  • 2021-01-01 11:35

    If you've installed ES on Linux, the default data folder is in /var/lib/elasticsearch (CentOS) or /var/lib/elasticsearch/data (Ubuntu)

    If you're on Windows or if you've simply extracted ES from the ZIP/TGZ file, then you should have a data sub-folder in the extraction folder.

    0 讨论(0)
  • 2021-01-01 11:36

    On centos:

    /var/lib/elasticsearch
    
    0 讨论(0)
  • 2021-01-01 11:36

    It should be in your extracted elasticsearch. Something like es/data

    0 讨论(0)
  • 2021-01-01 11:44

    If you run the Windows MSI installer (at least for 5.5.x), the default location for data files is:

    C:\ProgramData\Elastic\Elasticsearch\data
    

    The config and logs directories are siblings of data.

    0 讨论(0)
  • 2021-01-01 11:49

    Elastic search is storing data under the folder 'Data' as mentioned above answers. Is there any other elastic search instance available on your local network? If yes, please check the cluster name. If you use same cluster name in the same network it will share data.

    Refer this link for more info.

    0 讨论(0)
  • 2021-01-01 11:53

    According to the documentation the data is stored in a folder called "data" in the elastic search root directory.

    0 讨论(0)
提交回复
热议问题