security_exception causes data to silently drop
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
Hướng nghiên cứu
Không có tệp nguồn hoặc bài kiểm thử nào được nêu. Hãy bắt đầu bằng cách tái hiện cấu hình Fluentd đã cung cấp và theo dõi cách plugin OpenSearch xử lý một security_exception trong khi ghi. Được xem là hoàn tất khi các thông báo bị lỗi không còn biến mất một cách im lặng và đến được ERROR hoặc nhãn có thể cấu hình được yêu cầu, với hành vi được xác minh dựa trên việc tái hiện này.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
(check apply)
- read the contribution guideline
- (optional) already reported 3rd party upstream repository or mailing list if you use k8s addon or helm charts.
Steps to replicate
When writing to an index the plugin does have permission to, the data writes correctly to OpenSearch.
When trying to write to an index the plugin does not have permission to, purposefully causing a security_exception, data appears to silently drop.
<system>
workers 4
root_dir /var/log/fluentd
</system>
<source>
@type http
port 8080
bind 0.0.0.0
</source>
XXXFILTERSXXX
<match **>
@id out_opensearch
@type opensearch
@log_level debug
scheme https
ssl_verify true
host XXXHOSTXXX
port XXXPORTXXX
user XXXUSERXXX
password XXXPASSWORDXXX
target_index_key @target_index
remove_keys @target_index
compression_level default_compression
log_os_400_reason true
<buffer tag>
flush_interval 1s
retry_type periodic
retry_forever true
retry_wait 5s
</buffer>
</match>
<label @FLUENT_LOG>
<match **>
@type stdout
</match>
</label>
<label @ERROR>
<match **>
@type stdout
</match>
</label>
Only messages seen output to stdout:
2022-03-17 14:11:31 +0000 [debug]: #0 [out_opensearch] Indexed (op = index), 6 security_exception
2022-03-17 14:11:31.901853800 +0000 fluent.debug: {"message":"[out_opensearch] Indexed (op = index), 6 security_exception"}
Expected Behavior or What you need to ask
Messages not uploaded due to security_exception should make their way to ERROR.
If not ERROR, perhaps a configurable label and optional re-tag?
Using Fluentd and OpenSearch plugin versions
OS version: Docker image built off ghcr.io/calyptia/fluentd:v1.14.5-debian-1.0
Bare Metal or within Docker or Kubernetes or others?: Docker image built off ghcr.io/calyptia/fluentd:v1.14.5-debian-1.0
Fluentd v1.0 or later: 1.14.5
OpenSearch plugin version: fluent-plugin-opensearch version 1.0.2
- Ngôn ngữ chính
- Ruby
- Star
- 64
- Fork
- 25
- Merge trung bình
- 1 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của fluent/fluent-plugin-opensearch
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
The plugin is not retrying on specific errors and dropping the data on error 400Có thể đã có người làm @dazoakley đã nhận 720 ngày trước. Đang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
fluent/fluent-plugin-opensearch#134 · 5 bình luận ·
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 50/100
fluent/fluent-plugin-opensearch#123 · 1 bình luận ·
-
bug enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
fluent/fluent-plugin-opensearch#122 · 1 bình luận ·
Tất cả issue của fluent/fluent-plugin-opensearch
Issue tương tự
-
Payment details dialog shows "Did not pass" for AVS/CVV results that mean the check wasn't performedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
autonome
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
demarche-numerique/demarche.numerique.gouv.fr#14566 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Home link is now tinyĐang mởarea/web interface
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
mastodon/mastodon#41723 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
akitaonrails/ai-book-2026#15 ·