elasticsearchlogstashkibanalogstash-forwarderelastic-stack

Log storage location ELK stack


I am doing centralized logging using logstash. I am using logstash-forwarder on the shipper node and ELK stack on the collector node.I wanted to know the location where the logs are stored in elasticsearch i didn't see any data files created where the logs are stored.Do anyone has idea about this?


Solution

    1. Login to the server that runs Elasticsearch
    2. If it's an ubuntu box, open the /etc/elasticsearch/elasticsearch.yml
    3. Check out the path.data configuration
    4. The files are stored on that location

    Good luck.