Is there any way to Increase the Journal Size? its 1G at the moment. I loaded some hosts onto the system (16 via a script) they all started sending their messages to graylog and the Journal filled. I then had a message saying that messages had been discarded and not logged due to over utilization.
I managed to change the journal size, but found that after I run a graylog-ctl reconfigure, the changes are wiped out so in this case, restart keeps the settings :
ubuntu@graylog:/$ sudo vi /opt/graylog/conf/graylog.conf
ubuntu@graylog:/$ sudo graylog-ctl restart
ok: run: elasticsearch: (pid 31331) 0s
ok: run: etcd: (pid 31358) 1s
ok: run: graylog-server: (pid 31408) 0s
ok: run: mongodb: (pid 31431) 1s
ok: run: nginx: (pid 31449) 0s
ubuntu@graylog:/$ sudo cat /opt/graylog/conf/graylog.conf | grep āmessage_journal_max_sizeā
message_journal_max_size = 4gb
The same seems to be true for āindices.store.throttle.max_bytes_per_secā that you can put into /opt/graylog/elasticsearch/config/elasticsearch.yml. After a reconfigure, it wipes the changes.
indices.store.throttle.max_bytes_per_sec: 150mb
The heapsize, I have set ā¦ but still only using 1.4G even though I have set it to 4.
Reconfigure and restart donāt seem to wake it up ā¦ Also tried sticking it into /etc/environment but that didnāt do it either.
ubuntu@graylog:/$ sudo cat /etc/default/elasticsearch | grep āES_HEAP_SIZEā
.# Set ES_HEAP_SIZE to 50% of available RAM, but no more than 31g
ES_HEAP_SIZE=4g
.# in elasticsearch.yml (ES_HEAP_SIZE must also be set).
ubuntu@graylog:/$ sudo cat /etc/elasticsearch/elasticsearch.yml | grep āES_HEAP_SIZEā
.# Make sure that the ES_HEAP_SIZE environment variable is set to about half the memory
ES_HEAP_SIZE=4g
the journal is just a buffer, if this get filled up and the data is not written to elasticsearch, you need more elasticsearch power to be able to ingest at the given message rate
you should not use the omnibus package/the appliance in production
just because you are not able to change all settings that you might want to tune