A filter plugin performs intermediary processing on an event. Filters are often applied conditionally depending on the characteristics of the event.
The following filter plugins are available:
These plugins are maintained and supported by Elastic.
Plugin |
Description |
Github repository |
Aggregates information from several events originating with a single task |
||
Replaces field values with a consistent hash |
||
Parses comma-separated value data into individual fields |
||
Parses dates from fields to use as the Logstash timestamp for an event |
||
Computationally expensive filter that removes dots from a field name |
||
Extracts unstructured event data into fields using delimiters |
||
Performs a standard or reverse DNS lookup |
||
Drops all events |
||
Fingerprints fields by replacing values with a consistent hash |
||
Adds geographical information about an IP address |
||
Parses unstructured event data into fields |
||
Parses JSON events |
||
Parses key-value pairs |
||
Performs mutations on fields |
||
Executes arbitrary Ruby code |
||
Sleeps for a specified time span |
||
Splits multi-line messages into distinct events |
||
Parses the |
||
Throttles the number of events |
||
Replaces field contents based on a hash or YAML file |
||
Decodes URL-encoded fields |
||
Parses user agent strings into fields |
||
Adds a UUID to events |
||
Parses XML into fields |
These plugins are maintained and supported by the community. These plugins have met the Logstash development & testing criteria for integration. Contributors include Community Maintainers, the Logstash core team at Elastic, and the broader community.
Plugin |
Description |
Github repository |
Performs general alterations to fields that the |
||
Checks IP addresses against a list of network blocks |
||
Applies or removes a cipher to an event |
||
Duplicates events |
||
Collates events by time or count |
||
Calculates the elapsed time between a pair of events |
||
Copies fields from previous log events in Elasticsearch to current events |
||
Stores environment variables as metadata sub-fields |
||
Extracts numbers from a string |
||
Removes special characters from a field |
||
Serializes a field to JSON |
||
Adds arbitrary fields to an event |
||
Takes complex events containing a number of metrics and splits these up into multiple events, each holding a single metric |
||
Aggregates metrics |
||
Parse OUI data from MAC addresses |
||
Prunes event data based on a list of fields to blacklist or whitelist |
||
Strips all non-punctuation content from a field |
||
Checks that specified fields stay within given size or length limits |
||
Replaces the contents of the default message field with whatever you specify in the configuration |
||
Takes an existing field that contains YAML and expands it into an actual data structure within the Logstash event |
||
Sends an event to ZeroMQ |