ElasticSearch location in a docker

It's a basic question but is /var/lib/docker/containers/ <xxxxxx<-json.log files> the only location for elasticsearch logs installed on a docker?

Also, How can i see the logs in kibana. Filebeat is not yet setup

That typically is where docker logs are stored, yes, and it'll likely be the only place unless you have configured the logging for the container to something that isn't default.

You need to setup Filebeat to ingest the logs.

1 Like