Codec should not accept invalid json {}{}
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 42/100
Research direction
No source file or test is named in the issue. Start by reproducing the reported input in the logstash-codec-json plugin and locate the JSON decoding entry point; done means the combined payload is tagged _jsonparsefailure and the complete payload remains in the message field.
Written by the indexing model from the issue text.
Description
The codec should not accept this input:
{ "hello": "world" }{ "goodbye": "moon" }
The above is two json objects that, alone, are valid, but combined, are not.
Expected result: Logstash should tag this event as _jsonparsefailure and store the whole payload in the message field.
Actual result: in Logstash 5.x is that the first json object is accepted and the 2nd one is lost/ignored.
- Dominant language
- Ruby
- Stars
- 26
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from logstash-plugins/logstash-codec-json
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
CompressionOpenenhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
logstash-plugins/logstash-codec-json#42 · 4 reactions ·
-
discuss enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
logstash-plugins/logstash-codec-json#28 · 2 comments ·
-
1.5.0-rc3
Difficulty 3/5 1-2 days Newbie friendliness 45/100
logstash-plugins/logstash-codec-json#19 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
logstash-plugins/logstash-codec-json#15 · 9 comments · 8 reactions ·
All issues in logstash-plugins/logstash-codec-json
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
FinanceFlash/unvibecode#273 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
[Bug Report] Concurrent runs sharing a cold cache fail with JSON::ParserErrorPossibly taken @sarankumar1325 claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
we-promise/sure#4481 ·
Maintainers usually reply within 1 day