Created
August 29, 2019 22:30
-
-
Save FrankHassanabad/1f7eb510ba6de10d0ca2bf898260d817 to your computer and use it in GitHub Desktop.
Processors For Beats Example
This file contains 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
processors: | |
- add_host_metadata: | |
netinfo.enabled: true | |
- add_cloud_metadata: ~ | |
- add_fields: | |
when.network.source.ip: 10.128.0.21/32 | |
fields: | |
source.geo.location: | |
lat: 42 | |
lon: -93 | |
source.geo.continent_name: North America | |
source.geo.region_iso_code: US-IA | |
source.geo.country_iso_code: US | |
source.geo.region_name: Iowa | |
target: '' | |
- add_fields: | |
when.network.destination.ip: 10.128.0.21/32 | |
fields: | |
destination.geo.location: | |
lat: 42 | |
lon: -93 | |
destination.geo.continent_name: North America | |
destination.geo.region_iso_code: US-IA | |
destination.geo.country_iso_code: US | |
destination.geo.region_name: Iowa | |
target: '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment