You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sends the log event which is already in opensearch.(screen shot attached)
ISM policy of 2 days.
Index timestamp is derived from the log message.
Expected behavior
Logstash should not write duplicate events while file rotation happens. This is causing issue to write to index when the index moves to readonly after 2 days ( configured in ISM policy)
Plugins
logstash.outputs.opensearch
Screenshots
attached
Host/Environment (please complete the following information):
windows: [e.g. iOS]
8.17.3 [e.g. 22]
Additional context
complete details on logstash config.
The content it is trying to write is from file C:/Program Files (x86)/Server/logs/localhost_access_log.2025-03-14 [14/Mar/2025:11:26:10 +0000] 0:0:0:0:0:0:0:1 GET /remote/core.list-plugins HTTP/1.1 7354 200 [http-nio-8080-exec-1] [F2FC4D635FAE927072C1A24B03BD5F55.route1] admin 109ms
this is already in available in opensearch. Attached screen shot.
I have ISM policy After two day the index will rollover to warm ( read only indices).
I have fingerprint implemented ( duplication happens here) fingerprint calculated HASH value is same.
The text was updated successfully, but these errors were encountered:
Describe the bug
why logstash-ouput-opensearch plugin writes dupicate events to opensearch even after fingerprint evaluation?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Logstash should not write duplicate events while file rotation happens. This is causing issue to write to index when the index moves to readonly after 2 days ( configured in ISM policy)
Plugins
logstash.outputs.opensearch
Screenshots
attached
Host/Environment (please complete the following information):
Additional context
complete details on logstash config.
C:/Program Files (x86)/Server/logs/localhost_access_log.log
C:/Program Files (x86)/Server/logs/localhost_access_log.2025-03-16
C:/Program Files (x86)/Server/logs/localhost_access_log.2025-03-15
C:/Program Files (x86)/Server/logs/localhost_access_log.2025-03-14
The content it is trying to write is from file C:/Program Files (x86)/Server/logs/localhost_access_log.2025-03-14
[14/Mar/2025:11:26:10 +0000] 0:0:0:0:0:0:0:1 GET /remote/core.list-plugins HTTP/1.1 7354 200 [http-nio-8080-exec-1] [F2FC4D635FAE927072C1A24B03BD5F55.route1] admin 109ms
this is already in available in opensearch. Attached screen shot.
I have ISM policy After two day the index will rollover to warm ( read only indices).
I have fingerprint implemented ( duplication happens here) fingerprint calculated HASH value is same.
The text was updated successfully, but these errors were encountered: