Created
January 8, 2018 16:41
-
-
Save kylejohnson/3eb46c7806ecfd5827055eb1afb83cb1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| filter { | |
| if [type] == "telemetry" { | |
| geoip { source => "ip" } | |
| } else if [fields][type] == "telemetry" { | |
| # How do I target a nested field here, vs. what is above? | |
| geoip { source => "[message][ip]" } | |
| prune { blacklist_names => [ "[message][headers]" ] } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment