Skip to content

Commit 92dfa09

Browse files
committed
RADME GeoLocation
1 parent e8d836c commit 92dfa09

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,32 @@ Wazuh configuration
165165
8. Restart Wazuh-manager to reload rulesets `service wazuh-manager restart`
166166

167167

168+
GeoIP
169+
-----
170+
171+
On wazuh-manager, edit /usr/share/filebeat/module/wazuh/alerts/ingest/pipeline.json adding the new IP field inside processors, along the other Geolocation fields:
172+
````
173+
{
174+
"geoip": {
175+
"field": "srcip",
176+
"target_field": "GeoLocation",
177+
"properties": ["city_name", "country_name", "region_name", "location"],
178+
"ignore_missing": true,
179+
"ignore_failure": true
180+
}
181+
},
182+
````
183+
184+
We now need to delete the current pipeline. In Kibana, go to Dev Tools clicking on the Wrench icon. Then execute the following:
185+
````
186+
DELETE _ingest/pipeline/filebeat-7.6.2-wazuh-alerts-pipeline
187+
````
188+
189+
We restart Filebeat in wazuh-manager:
190+
````
191+
systemctl restart filebeat
192+
````
193+
168194
License
169195
-------
170196

0 commit comments

Comments
 (0)