glpi_app_grafana
glpi_app_grafana copied to clipboard
Grafana does not querey
Hi,
I am configuring grafana to query the information about the tickets and it is not able to query them. The datasource connect but there are not results in the dashboard.
I checked Apache logs in GLPI server and we find this message:
192.168.100.23 - - [03/May/2019:12:59:57 +0200] "GET /glpi/apirest.php/search/ticket?is_deleted=0&criteria[0][field]=2&criteria[0][searchtype]=contains&criteria[0][value]=&search=Rechercher&itemtype=Ticket&start=0&criteria[1][link]=AND&criteria[1][field]=0&criteria[1][searchtype]=morethan&_select_criteria[1][value]=0&_criteria[1][value]=1556866797&criteria[1][value]=2019-05-03%2006:59:57&criteria[2][link]=AND&criteria[2][field]=0&criteria[2][searchtype]=lessthan&_select_criteria[2][value]=0&_criteria[2][value]=1556888397&criteria[2][value]=2019-05-03%2012:59:57&forcedisplay[0]=0 HTTP/1.1" 302 - "-" "Grafana/6.1.6"
Also, if we try the query with curl, it has the same message.