Graylog2 / graylog2-server

Free and open log management
https://www.graylog.org
Other
7.35k stars 1.06k forks source link

ElasticsearchException - events are lost #19837

Closed jerrybb closed 2 months ago

jerrybb commented 3 months ago

Hi, we are sending application logs in GELF format using Fluentbit to Graylog Server. There are occasional some errors logged such as:

We are fixing such issue by changing field types or formatting source data to fix these issues.

But these logs events are lost until fix is applied for each occurrence. We are wondering if there is any way to store such message in any way to prevent data loss? Even if the content would not be indexed.

tellistone commented 2 months ago

Hi Jerrybb

If you install the enterprise plugin, you should be able to access failure processing.

image

This writes any message that fails to process to a dedicated stream:

image

Index templates or pipeline rules for the purpose of forcing data type to fields will also help you prevent this issue.

For specifics/troubleshoting, you might raise this with Enterprise Support (if you have an Enterprise license) or the Graylog Community.

jerrybb commented 2 months ago

Thank you @tellistone, appreciated.