Graylog2 / Graylog2/graylog2-server
Web interface should warn about extractors for non-string fields
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 1.1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 217
Description
## Expected Behavior
The web interface should not allow users to create extractors for non-string message fields as they won't be executed.
## Current Behavior
The web interface allows creating extractors for non-string fields, e. g. numeric fields common for HTTP response status codes.
## Possible Solution
The web interface should either not allow creating extractors for non-string fields or issue a big warning about it.
## Steps to Reproduce (for bugs)
1. Create a random input.
2. Create a "Copy Input" extractor for the `http_response_code` message field.
3. Wonder why the `http_response_code` isn't being copied.
## Your Environment
- Graylog Version: 0.20.x - 2.x
Contributor guide
Assessment
This issue has not been assessed yet.