Skip to content

Custom MMDB IP data DB not working with Goaccess #2870

@konkhra

Description

@konkhra

Is custom mmdb going to work with goaccess? My current mmdb file is structured like this:

mmdblookup --file /usr/share/GeoIP/country_asn.mmdb --ip 1.1.1.1

{
"as_domain":
"cloudflare.com" <utf8_string>
"as_name":
"Cloudflare, Inc." <utf8_string>
"asn":
"AS13335" <utf8_string>
"continent":
"Oceania" <utf8_string>
"continent_code":
"OC" <utf8_string>
"country":
"Australia" <utf8_string>
"country_code":
"AU" <utf8_string>
"network":
"1.1.1.0/24" <utf8_string>
}

I set the location of mmdb in goaccess.conf like this geoip-database /usr/share/GeoIP/country_asn.mmdb but it's not working.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions