NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi, What is the easiest way to get statistics from a Nominatim server? What I need is some statistics on number of successful/failed requests in a web page similar to mod_tile (http://hostname/mod_tile).

asked 27 Apr '16, 10:22

khamooshi's gravatar image

khamooshi
146111219
accept rate: 50%


The Munin graph plugins https://github.com/twain47/Nominatim/tree/master/munin query the Nominatim database every 5 minutes. The new_query_logs table also has a column results (integer) which you can use to find those that didn't return results. This shows you how to query, you'll still need to create a page (.php file).

permanent link

answered 27 Apr '16, 13:36

mtmail's gravatar image

mtmail
4.8k1574
accept rate: 27%

The table new_query_log is empty on our servers. Is there a config file for logging requests?

(03 Aug '18, 13:05) khamooshi
1

@khamooshi You can see those config values in build/settings/settings.php and overwrite them in build/settings/local.php One is for logging into the database (new_query_log table), another setting is for logging into a file on disk.

(06 Aug '18, 11:10) mtmail

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×689
×18

question asked: 27 Apr '16, 10:22

question was seen: 2,078 times

last updated: 06 Aug '18, 11:10

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum