This is a plugin for Logstash.
It is fully free and fully open source. The license is MIT, see LICENSE for further infos.
This filter will decode (X)HTML entities from a given source field and store the result to the target field.
filter {
htmlentities {
source => "test_source_field"
target => "test_target_field"
}
}
This configuration will encode the source field test_source_field
e.q. with data "Examples & Explanations" to "Examples & Explanations" and store the result to the field test_target_field
.
For further instructions on howto develop on logstash plugins, please see the documentation of the official logstash-filter-example.