udp/syslog inputs report wrong host
Open
- Dominant language
- Java
- Stars
- 14.9k
- Forks
- 3.5k
- Avg merge
- 19h 14m
- Merged PRs (30d)
- 63
Description
Looking @ ngrep, events come from the right source, but they end up being whatever random `host` in the index.
This only happens on multiline inputs.
These are not standard formatted syslog messages. Prefixed stack traces.
Happens on udp & syslog inputs. Currently running syslog, as udp crashes per https://github.com/elastic/logstash/issues/5318
```
syslog {
port => 9119
type => "error_log"
codec => multiline {
patterns_dir => "/etc/logstash/pattern.d"
pattern => "^<%{NONNEGINT:prifacil}>(%{TIMESTAMP_ISO8601}|%{SYSLOGTIMESTAMP})\s"
negate => true
what => previous
}
```
Contributor guide
Assessment
This issue has not been assessed yet.