I would like to monitor elasticsearch logs using filebeat and I see in my "elasticsearch.yml" these are stored...
path.logs: /var/log/elasticsearch
There's a bunch of stuff in here and I would just like to delete everything to help save space on my EC2 I'm testing in. May I do this?
Secondly, I see that in this directory there are several extensions being...
- json.gz
- json
- log.gz
- log
Are the "gz" just compressed versions of old logs? I'm nervous about these json files in here. I don't want to delete them if their needed.