logstash-filter-java_filter_example
logstash-filter-java_filter_example copied to clipboard
How to use field values
Is there an example of how to use message fields in configuration
For instance
filter {
source => "%{[nested][value]}"
}
How do i convert [nested][value] to the value of the fields from the message?
See here: logstash-core/src/main/java/co/elastic/logstash/api/Event.java
event.getField("[nested][value]")