Cannot use \n as a terminator that isn't the default
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the split filter configuration with an explicit "\n" terminator, then compare it with the default behavior and the requested "\n\n" case. Trace how the terminator value is handled and add a regression test showing that explicit newline strings split as expected.
Written by the indexing model from the issue text.
Description
Using the split filter and not specifying a terminator (by default uses \n) works fine, as in it splits on newlines. However, if I do specify the terminator as follows:
split {
terminator => "\n"
}
Then it does not work, as in it does not split on newlines. I took a peek at the source code and it did not seem that this should be a problem as it is just a string representation though...
The use case I had found this in was when trying to actually split on \n\n instead.
- Dominant language
- Ruby
- Stars
- 6
- Forks
- 29
- 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-filter-split
-
enhancement status:needs-triage
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
logstash-plugins/logstash-filter-split#47 · 1 comment · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
logstash-plugins/logstash-filter-split#42 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
logstash-plugins/logstash-filter-split#38 · 1 reaction ·
All issues in logstash-plugins/logstash-filter-split
Similar issues
-
security
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
IBM/aspera-cli#265 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
evolution-foundation/evo-ai-crm-community#423 ·
Maintainers usually reply within 1 day