Comments (8)
@pclever1
You'll need to insert the contents of this file (https://raw.githubusercontent.com/a3ilson/pfelk/master/Dashboard/GeoIP(Template)) into the Kibana console.
(1) Navigate to Kibana>>Dev Tools
(2) Paste the contents of this file into the console (https://raw.githubusercontent.com/a3ilson/pfelk/master/Dashboard/GeoIP(Template))
(3) Press the triangle (play button icon)
(4) Wait a few...and your Geo Fields should be recognized
My YouTube videos are about a year old but will be updating within the new two months.
from pfelk.
@a3ilson
Thank you for that information!
I tried it and it returned "acknowledged" : true
but the feature still isn't working.
I refreshed the index pattern and there isn't a field for geo_point
I ran your template with both index_patters : pf-*
and pf*
to make sure that wasn't an issue and waited 30+ minutes between.
Can you think of anything I could be doing wrong?
from pfelk.
@pclever1
You utilized the tutorial on Github? Everything else is working minus the GeoIP?
from pfelk.
Yes, I followed your tutorial and everything else is working perfectly.
Do you know if there is an error log anywhere for Console?
Also I ran it multiple times, could that pose an issue?
from pfelk.
@pclever1
I would restart your services (I'm assuming you already have). I'll put together another tutorial (video) in a month or so.
from pfelk.
Yeah I just did a full reboot and it's still not working. I will try to stand up a new VM this weekend and try it again.
Also I have been working on making a script to automate this entire install process. When I finish I will send it to you and you can decide if you want merge it or not.
from pfelk.
@a3ilson Update:
I just realized today that my main issue with this was conflicting field types (see more below). Unfortunately I am still unable to create a coordinate map with this data. Firewall entries now show a new field destination.geo.location
that has both lat/long in JSON format.
When I try to plot a coordinate map with the field destination.as.location
there is nothing that gets displayed on the map. This field is not present in any of my syslog entries.
Is it possible do change destination.as.location
to destination.geo.location
??
Conflicting Data Types
If I ran the console script you provided before sending ELK any data this wouldn't have been a problem. I wonder if these conflicts can be set in the configuration files during install:
destination.as.ip
(type: "text" -> "ip")destination.geo.ip
(type: "text" -> "ip")destination.geo.location
(type: "object" -> "geo_point")source.as.ip
(type: "text" -> "ip")source.geo.ip
(type: "text" -> "ip")source.geo.location
(type: "object" -> "geo_point")
from pfelk.
Another update,
It took a few hours but now destination.geo.location
is an option on the coordinate map!
Steps I used to get GeoIP working:
- Run script in Dev Tools -> Console
- Delete data up to current time to resolve field type conflicts (Management -> Elasticsearch -> Index Management) [there may be a better way to do this]
- Wait a few hours and try creating a Coordinate map
from pfelk.
Related Issues (20)
- OpenVPN+ELK Stack HOT 3
- Is there any updated documentation on starting this up in Docker? HOT 2
- Unable to create DHCP Dashboard, DHCP Saved Objects as there is a data view conflict HOT 7
- Error in logstash parse: illegal_argument_exception HOT 3
- issue when installing docker pfelk HOT 5
- Can't select firewall entry in Dashboard after uprade with Unable to fetch terms, error HOT 2
- Dashboard templates not receiving data HOT 11
- Excessive Null Values/Fields Due To "pfelk-mappings-ecs" HOT 1
- PFsense logs not being sent to PFelk HOT 1
- Data not appearing in dashboards HOT 15
- kea dhcp support HOT 15
- ngnix template error HOT 1
- Snort Dashboard - most data missing HOT 18
- Error loading Suricate template HOT 4
- Kibana will not start after changing VM (Ubuntu) IP Address HOT 1
- Cannot get data to display on NGINX dashboard HOT 16
- Cannot get data to display Suricata dashbord and Firewall dashbord HOT 8
- index_not_found_exception on logs-pfelk-haproxy HOT 1
- HAProxy dashboard / HAProxy HTTP Status Codes: field invalid HOT 13
- Unmapped fields in template HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pfelk.