pfSense-Dashboard icon indicating copy to clipboard operation
pfSense-Dashboard copied to clipboard

More precise geoipcode

Open BogdanX86 opened this issue 1 year ago • 0 comments

Hi there,

I got the dashboard up and running. I was wondering if there's a way to get more precise coordinates into the map for the IPBL.

I see that there's this line that facilitates the geoip_code as a country. The map then puts a dot on the country. But could we get city with it?

grok_patterns = ["^%{SYSLOGTIMESTAMP:timestamp:ts-syslog},%{NUMBER:rulenum},%{DATA:interface},%{WORD:friendlyname},%{WORD:action},%{NUMBER:ip_version},%{NUMBER:protocolid},%{DATA:protocol:tag},%{IPORHOST:src_ip:tag},%{IPORHOST:dest_ip:tag},%{WORD:src_port:tag},%{NUMBER:dest_port:tag},%{WORD:direction},%{WORD:geoip_code:tag},%{DATA:ip_alias_name},%{DATA:ip_evaluated},%{DATA:feed_name:tag},%{HOSTNAME:resolvedhostname},%{GREEDYDATA:clienthostname},%{GREEDYDATA:ASN},%{GREEDYDATA:duplicateeventstatus}"]

BogdanX86 avatar Sep 14 '23 00:09 BogdanX86