elastic / elastic/docs-content
Wrong Answer in Example of stringcontains
- Dominant language
- No language data
- Stars
- 47
- Forks
- 261
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 141
Description
### Before you submit
- [x] This issue is about a documentation page, flow, or piece of content.
### Type of issue
Inaccurate
### What documentation page or section is affected
https://www.elastic.co/docs/reference/query-languages/eql/eql-function-ref
### What happened?
Hello there i was just reading the docs to learn about eql function and ended with the example of stringContains
// process.command_line = "start regsvr32.exe"
the example was // Make matching case-insensitive
stringContains~(process.command_line, "Regsvr32") 5
5 returns false
The answer below showed False while the answer should be correct.
### Additional info
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Open the EQL function reference at https://www.elastic.co/docs/reference/query-languages/eql/eql-function-ref and locate the stringContains case-insensitive example. Verify the displayed result for the provided process.command_line value and update the example's answer so it matches the documented function behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 75/100