1. Describe your incident:
I have recently (in the past couple of weeks) noticed a large number of index failures.
They are all identical and I have never had this issue before.
2. Describe your environment:
Debian 11 - Graylog 5.0.5 (Eclipse Adoptium 17.0.6 on Linux 5.10.0-21-amd64)
Opensearch 2.7
I am having trouble deciphering the indexer failure log - some googling results in nothing similar.
Timestamp Index Letter ID Error message
an hour ago dnsdhcp_0 546c96c0-f125-11ed-b5e2-3cecefdadccf OpenSearchException[OpenSearch exception [type=mapper_parsing_exception, reason=failed to parse field [dns_rewrite_result] of type [keyword] in document with id '546c96c0-f125-11ed-b5e2-3cecefdadccf'. Preview of field's value: '{Exchange=smtp.mydomain.com, Preference=1}']]; nested: OpenSearchException[OpenSearch exception [type=illegal_state_exception, reason=Can't get text on a START_OBJECT at 1:105]];
an hour ago dnsdhcp_0 54651cbe-f125-11ed-b5e2-3cecefdadccf OpenSearchException[OpenSearch exception [type=mapper_parsing_exception, reason=failed to parse field [dns_rewrite_result] of type [keyword] in document with id '54651cbe-f125-11ed-b5e2-3cecefdadccf'. Preview of field's value: '{Exchange=smtp.mydomain.com, Preference=1}']]; nested: OpenSearchException[OpenSearch exception [type=illegal_state_exception, reason=Can't get text on a START_OBJECT at 1:105]];
an hour ago dnsdhcp_0 546bac60-f125-11ed-b5e2-3cecefdadccf OpenSearchException[OpenSearch exception [type=mapper_parsing_exception, reason=failed to parse field [dns_rewrite_result] of type [keyword] in document with id '546bac60-f125-11ed-b5e2-3cecefdadccf'. Preview of field's value: '{Exchange=smtp.mydomain.com, Preference=1}']]; nested: OpenSearchException[OpenSearch exception [type=illegal_state_exception, reason=Can't get text on a START_OBJECT at 1:104]];
an hour ago dnsdhcp_0 54706750-f125-11ed-b5e2-3cecefdadccf OpenSearchException[OpenSearch exception [type=mapper_parsing_exception, reason=failed to parse field [dns_rewrite_result] of type [keyword] in document with id '54706750-f125-11ed-b5e2-3cecefdadccf'. Preview of field's value: '{Exchange=smtp.mydomain.com, Preference=1}']]; nested: OpenSearchException[OpenSearch exception [type=illegal_state_exception, reason=Can't get text on a START_OBJECT at 1:104]];
an hour ago dnsdhcp_0 546543c0-f125-11ed-b5e2-3cecefdadccf OpenSearchException[OpenSearch exception [type=mapper_parsing_exception, reason=failed to parse field [dns_rewrite_result] of type [keyword] in document with id '546543c0-f125-11ed-b5e2-3cecefdadccf'. Preview of field's value: '{Exchange=smtp.mydomain.com, Preference=1}']]; nested: OpenSearchException[OpenSearch exception [type=illegal_state_exception, reason=Can't get text on a START_OBJECT at 1:105]];
an hour ago dnsdhcp_0 546bd370-f125-11ed-b5e2-3cecefdadccf OpenSearchException[OpenSearch exception [type=mapper_parsing_exception, reason=failed to parse field [dns_rewrite_result] of type [keyword] in document with id '546bd370-f125-11ed-b5e2-3cecefdadccf'. Preview of field's value: '{Exchange=smtp.mydomain.com, Preference=1}']]; nested: OpenSearchException[OpenSearch exception [type=illegal_state_exception, reason=Can't get text on a START_OBJECT at 1:104]];
an hour ago dnsdhcp_0 546b1020-f125-11ed-b5e2-3cecefdadccf OpenSearchException[OpenSearch exception [type=mapper_parsing_exception, reason=failed to parse field [dns_rewrite_result] of type [keyword] in document with id '546b1020-f125-11ed-b5e2-3cecefdadccf'. Preview of field's value: '{Exchange=smtp.mydomain.com, Preference=1}']]; nested: OpenSearchException[OpenSearch exception [type=illegal_state_exception, reason=Can't get text on a START_OBJECT at 1:105]];
an hour ago dnsdhcp_0 546f7cf0-f125-11ed-b5e2-3cecefdadccf OpenSearchException[OpenSearch exception [type=mapper_parsing_exception, reason=failed to parse field [dns_rewrite_result] of type [keyword] in document with id '546f7cf0-f125-11ed-b5e2-3cecefdadccf'. Preview of field's value: '{Exchange=smtp.mydomain.com, Preference=1}']]; nested: OpenSearchException[OpenSearch exception [type=illegal_state_exception, reason=Can't get text on a START_OBJECT at 1:104]];
2 hours ago dnsdhcp_0 ce8eab10-f11f-11ed-b5e2-3cecefdadccf OpenSearchException[OpenSearch exception [type=mapper_parsing_exception, reason=failed to parse field [dns_rewrite_result] of type [keyword] in document with id 'ce8eab10-f11f-11ed-b5e2-3cecefdadccf'. Preview of field's value: '{Exchange=smtp.mydomain.com, Preference=1}']]; nested: OpenSearchException[OpenSearch exception [type=illegal_state_exception, reason=Can't get text on a START_OBJECT at 1:105]];
2 hours ago dnsdhcp_0 ce8e8400-f11f-11ed-b5e2-3cecefdadccf OpenSearchException[OpenSearch exception [type=mapper_parsing_exception, reason=failed to parse field [dns_rewrite_result] of type [keyword] in document with id 'ce8e8400-f11f-11ed-b5e2-3cecefdadccf'. Preview of field's value: '{Exchange=smtp.mydomain.com, Preference=1}']]; nested: OpenSearchException[OpenSearch exception [type=illegal_state_exception, reason=Can't get text on a START_OBJECT at 1:104]];
Offending Index:
1 indices with a total of 10,994 messages under management, current write-active index is dnsdhcp_0.
Elasticsearch cluster is green. Shards: 37 active, 0 initializing, 0 relocating, 0 unassigned
For reference, I have a single input for my plain text udp syslog. I have two streams (one for dhcp, and one for dns) that drop logs into the dnsdhcp index. I have a single pipeline connected to the stream, and it is successfully pulling fields out (0 errors/s)
I do not know what the “Exchange” or “Preference” fields are; they are nothing I have configured.
The smtp domain is my internal email domain which all my alerts go to, but alerts are working just fine.
I also tried searching those values over the past day, no results (as expected?).
When these errors started, I had not modified the configuration of graylog in a couple of days.
Can someone help me understand the errors, and how to triage this problem?