After elasticsearch configuration i have restarted the service and service is up, but when i tried to see elasticsearch log i found below. wondering how log file is missing. Can some one help me on this.
sudo tail -30f /var/log/elasticsearch/elasticsearch.log
tail: cannot open '/var/log/elasticsearch/elasticsearch.log' for reading: No such file or directory
tail: no files remaining
sudo systemctl status elasticsearch
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled; vendor preset: disabled)
Active: active (running) since Fri 2020-11-13 15:03:27 CET; 3 days ago
Docs: https://www.elastic.co
Main PID: 588889 (java)
Tasks: 51 (limit: 49608)
Memory: 1.2G
CGroup: /system.slice/elasticsearch.service
├─588889 /usr/share/elasticsearch/jdk/bin/java -Xshare:auto -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch ->
└─589080 /usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/bin/controller