• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

fluent / fluent-plugin-opensearch
93%

Build:
DEFAULT BRANCH: main
Repo Added 07 Jan 2022 09:11AM UTC
Files 13
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • add-constraint-for-faraday-middleware
  • add-ism-documentation-in-troubleshooting-doc
  • add-testcases-for-hosts-parameter
  • add-to-project
  • adjust-github-workflows
  • align-lowercases
  • allow_duplicate_key
  • ci-add-ruby-3.2
  • ci-grouping-pr
  • ci-ruby-3.2-minimum
  • ci-sha
  • configurable-unrecoverable-record-types
  • dependabot.yml
  • dependabot/github_actions/actions/add-to-project-2.0.0
  • dependabot/github_actions/actions/checkout-6.0.3
  • dependabot/github_actions/actions/create-github-app-token-3.1.1
  • dependabot/github_actions/actions/create-github-app-token-3.2.0
  • dependabot/github_actions/coverallsapp/github-action-2.3.6
  • dependabot/github_actions/monthly-updates-27f38f1e4e
  • dependabot/github_actions/monthly-updates-a7c1315158
  • dependabot/github_actions/monthly-updates-b381ee1f94
  • dependabot/github_actions/monthly-updates-e631a66382
  • dependabot/github_actions/roots/issue-closer-action-1.2
  • dependabot/github_actions/ruby/setup-ruby-1.299.0
  • dependabot/github_actions/ruby/setup-ruby-1.306.0
  • dependabot/github_actions/ruby/setup-ruby-1.310.0
  • docs
  • fix-badge
  • fix-customize-template
  • fix-data-stream-id-key
  • fix-flush
  • fix-host
  • fix-memory-usage
  • fix-secret
  • fix/data-stream-bulk-error-logging
  • fix_duplicate_keys_in_test_fixtures
  • fix_expired_sigv4_token
  • handle-exceptions-on-credentials-retriving
  • handle-opensearch-serverless
  • handle-suppress_type_name-correctly
  • implement-aws-opensearch-sign-request-mechanism
  • issue-template
  • load-faraday-v2
  • obtain-aws-credentials-on-every-requests-if-available
  • pass-credentials-duration
  • permit-to-handle-hosts-parameter
  • prevent_refresh_from_stopping_on_exception
  • refresh_credentials_interval
  • refs/tags/v1.0.0
  • refs/tags/v1.0.1
  • refs/tags/v1.0.10
  • refs/tags/v1.0.2
  • refs/tags/v1.0.3
  • refs/tags/v1.0.4
  • refs/tags/v1.0.5
  • refs/tags/v1.0.6
  • refs/tags/v1.0.7
  • refs/tags/v1.0.8
  • refs/tags/v1.0.9
  • refs/tags/v1.1.0
  • refs/tags/v1.1.1
  • refs/tags/v1.1.2
  • refs/tags/v1.1.3
  • refs/tags/v1.1.4
  • refs/tags/v1.1.5
  • release-1.2.0
  • release-v1.0.0
  • release-v1.1.8
  • revert-duration
  • ruby_versions.yml
  • specify-host-argument-if-needed
  • suppress-emit-error-label-events
  • suppress_type_name
  • tmp
  • update-ci
  • upload-coverage-into-coveralls
  • use-faraday-1
  • use-faraday-2
  • use-if-clause-to-detect-requirements-for-emitting-error-label-events
  • v1.1.6
  • v1.1.7
  • v1.1.8
  • webrick
  • yajl-to-json

04 Nov 2026 02:15AM UTC coverage: 93.215% (+0.2%) from 92.98%
41759601728

push

github

web-flow
out_opensearch_data_stream: honor id_key (#200)

* out_opensearch_data_stream: honor id_key

The data stream output wrote every record with an empty create
header, so the id_key value never reached the _id of the document
and duplicate events could not be deduplicated. Set _id from id_key
before remove_keys runs, the same way the regular output does.

Fixes #124

Signed-off-by: Raphael Fakhri <153192858+RaphaelFakhri@users.noreply.github.com>

* out_opensearch_data_stream: validate id_key values and treat 409 as duplicate

Send records whose id_key value is an object, an array or longer than 512
bytes to @ERROR instead of the bulk request, since OpenSearch fails the
whole request for them. Treat an empty string like a missing key.

Emit errors raised while building the bulk request when
emit_error_label_event is on. The block passed to the config reader was
never called, so these records were dropped silently.

Count 409 responses as duplicates, as the regular output does, so a
retried chunk does not report already indexed records as failures.

Signed-off-by: Raphael Fakhri <153192858+RaphaelFakhri@users.noreply.github.com>

---------

Signed-off-by: Raphael Fakhri <153192858+RaphaelFakhri@users.noreply.github.com>

22 of 22 new or added lines in 1 file covered. (100.0%)

1264 of 1356 relevant lines covered (93.22%)

334.19 hits per line

Relevant lines Covered
Build:
Build:
1356 RELEVANT LINES 1264 COVERED LINES
334.19 HITS PER LINE
Source Files on main
  • Tree
  • List 13
  • Changed 13
  • Source Changed 1
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
41759601728 main out_opensearch_data_stream: honor id_key (#200) * out_opensearch_data_stream: honor id_key The data stream output wrote every record with an empty create header, so the id_key value never reached the _id of the document and duplicate events coul... push 04 Nov 2026 02:22AM UTC web-flow github
93.22
41371024109 main build(deps): bump the monthly-updates group with 2 updates (#199) Bumps the monthly-updates group with 2 updates: [actions/create-github-app-token](https://github.com/actions/create-github-app-token) and [ruby/setup-ruby](https://github.com/ruby/... push 02 Nov 2026 01:16AM UTC web-flow github
92.98
40800522662 main ci: Drop Ruby 3.1 that fails to install on Ubuntu 26.04 (#198) ubuntu-latest is moving to Ubuntu 26.04. ruby/setup-ruby has no builds of Ruby 3.1 and older for it, so those jobs fail with "Unavailable version". Test Ruby 3.2 or later on Ubuntu, a... push 29 Oct 2026 01:33AM UTC web-flow github
92.98
37588965454 main v1.1.8 (#197) Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com> push 07 Oct 2026 07:48AM UTC web-flow github
93.12
37577367858 main out_opensearch: limit what a host placeholder can expand to (#192) Before: a placeholder in `host`/`hosts` was expanded as is, so a tag or a record field could add a host with ",", userinfo with "@" or a path with "/", move the request to another... push 07 Oct 2026 05:45AM UTC web-flow github
93.12
37560099061 main out_opensearch,in_opensearch: mask hosts in the configuration dump (#193) Before: `hosts` accepts "https://user:password@host" and `endpoint.url` can carry a user and a password, but neither was marked secret. Fluentd logs the whole configuration... push 07 Oct 2026 02:08AM UTC web-flow github
92.9
36952887955 main Bump ruby/setup-ruby (#196) Bumps the monthly-updates group with 1 update: [ruby/setup-ruby](https://github.com/ruby/setup-ruby). Updates `ruby/setup-ruby` from 1.321.0 to 1.327.0 - [Release notes](https://github.com/ruby/setup-ruby/releases) -... push 02 Oct 2026 01:57AM UTC web-flow github
92.9
35323830701 main out_opensearch: escape a customize_template value inside a string (#194) Before: get_custom_template put each customize_template value into the template text with a plain gsub. A value can come from a tag or a record field, so a `"` in it ended t... push 18 Sep 2026 08:25AM UTC web-flow github
92.9
35312404973 main out_opensearch: lock the client cache against flush threads (#195) * out_opensearch: lock the client cache against flush threads Before: client() cleared the shared @_os slot and then rebuilt it with `||=`, without a lock. With flush_thread_coun... push 18 Sep 2026 05:56AM UTC web-flow github
92.87
34573217247 main v1.1.7 (#191) Signed-off-by: Shizuo Fujita <fujita@clear-code.com> push 11 Sep 2026 07:17AM UTC web-flow github
92.85
See All Builds (329)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc