I ran into an issue where logs are logging to the / and not the /data
partition we setup for storing logs.
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 24G 19G 4.1G 83% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/vdb1 99G 60M 94G 1% /data
This is probably an easy question for some, so hopefully I can get a reply
quickly. How do I save the incoming logs from logstash and store them on
the /data partition? I have tried making a change in the elasticsearch.yml
to make the path.logs point to the /data partition however elasticsearch
did not work correctly after.
[root@syslog1 elasticsearch]# cat /etc/elasticsearch/elasticsearch.yml
path.data: /etc/elasticsearch
path.work: /etc/elasticsearch
path.logs: /var/log/elasticsearch/logs
path.logs: /data/elasticsearch/logs
path.conf: /etc/elasticsearch
Any advice is appreciated.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a76c5f31-0a72-46db-841f-8714ee53be33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.