Search the filter values by name
Returns the countries, cities, hosts, server names and ASNs whose name holds q, ignoring case and accents, busiest first, up to limit of each. A country also matches its two-letter code, and an ASN matches its number with or without AS, from the first digits. Totals cover everything the daily aggregates keep, muted IPs included, and can trail new requests by up to five minutes.
session<token>Session cookie authentication.
q*stringThe text to look for, 2 to 100 characters.
2 <= length <= 100limit?integerHow many values of each kind to return, from 1 to 20. Defaults to 4.
1 <= value <= 204Request fulfilled, document follows
application/json- response
Filter values that match a search, busiest first in each list.
asns*array<>cities*array<>countries*array<>hosts*array<>servers*array<>curl -X GET 'https://geometrikks.example.com/api/v1/access-logs/facets/search?q=string'{ "asns": [ { "asn": 0, "hits": 0, "organization": "string" } ], "cities": [ { "city": "string", "countryCode": "string", "countryName": "string", "hits": 0 } ], "countries": [ { "code": "string", "hits": 0, "name": "string" } ], "hosts": [ { "hits": 0, "host": "string" } ], "servers": [ { "hits": 0, "server": "string" } ]}List the filter values in the access logs GET
Returns every country, city, host, server name, log format and ASN the access logs hold, to fill the list filters. It reads the daily aggregates, so values stay listed after their raw lines are gone.
Count access log lines per hour or day GET
Returns how many lines each hour or day of the range holds, split by status class, under the same parameters and the same meaning as the list, so the buckets add up to its total. It needs a start: `fromTimestamp` or `window`, and without `toTimestamp` it runs to now. Ranges up to 7 days and 1 hour get hours, longer ones get days that start at midnight in `tz`. Lines go back ANALYTICS_RAW_RETENTION_DAYS days, 180 by default.