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

fluent / fluent-plugin-opensearch / 35323830701
93%

Build:
DEFAULT BRANCH: main
Ran 18 Sep 2026 08:25AM UTC
Jobs 1
Files 13
Run time 1min
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

18 Sep 2026 08:19AM UTC coverage: 92.901% (+0.03%) from 92.874%
35323830701

push

github

web-flow
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 the JSON string it was in, and the rest was
read as extra template keys. A log sender could add index_patterns,
order and aliases, and fluentd then sent that index template to the
server with its own credentials. gsub also read backslash sequences
such as \0 in the value.

After: if the key is inside a JSON string, the value is escaped, so it
can only become one string. If the key is anywhere else, the value is
still a piece of JSON, like a whole settings object. The block form of
gsub stops gsub from reading backslash sequences in the value.

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Co-authored-by: Claude <noreply@anthropic.com>

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

1204 of 1296 relevant lines covered (92.9%)

315.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 35323830701.1 18 Sep 2026 08:25AM UTC 26
92.9
GitHub Action Run
Source Files on build 35323830701
  • Tree
  • List 13
  • Changed 13
  • Source Changed 1
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35323830701
  • 446c5109 on github
  • Prev Build on main (#35312404973)
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