






Time to save the dashboard.

On Mon, Jul 22, 2019 at 5:57 PM Alvaro Victoriano <alvar...@gmail.com> wrote:Its working, Thank you so much Juancould i make this for the agents who are connected in another countries?
data.aws.sourceIPAddressinto @src_ip. This rename is defined in Filebeat configuration. For your use case: you should rename alert fields containing destination IP's i.e: data.dstip into a new field, i.e: @dst_ip. Take @src_ip rename blocks as an example. We recommend that you review alerts on Kibana in search of fields containing destination IP's. - rename:
fields:
- from: "data.dstip"
to: "@dst_ip"
ignore_missing: true
fail_on_error: false
when:
regexp:
data.dstip: \b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b
# systemctl stop filebeat
curl -X PUT "YOURELASTICIP:9200/_ingest/pipeline/geoip" -H 'Content-Type: application/json' -d'
{
"description" : "Add geoip info",
"processors" : [
{
"geoip" : {
"field" : "@src_ip",
"target_field": "GeoLocation_src",
"properties": ["city_name", "country_name", "region_name", "location"],
"ignore_missing": true,
"ignore_failure" : true
}
},
{
"remove": {
"field": "@src_ip",
"ignore_missing": true,
"ignore_failure" : true
}
},
{
"geoip" : {
"field" : "@dst_ip",
"target_field": "GeoLocation_dst",
"properties": ["city_name", "country_name", "region_name", "location"],
"ignore_missing": true,
"ignore_failure" : true
}
},
{
"remove": {
"field": "@dst_ip",
"ignore_missing": true,
"ignore_failure" : true
}
}
]
}
'# systemctl start filebeat
3- So that i have to modify it and i add a new feild Geolocation_dst and giving it his properties ("city_name", "country_name", "location") so that can be indexed.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/177de3d7-8932-4dc0-aa9f-25237a3505ec%40googlegroups.com.