Telegraf 1.12.5
InfluxDB v1.7.9
Grafana v6.5.2 (9504db8)
I’m using the Logparser telegraf input plugin to parse nginx logs into influx. Using the table panel i’m able to query and render all of the fields in the series, however the same query in the log panel only displays the first field in the select after the timestamp.
The query inspector shows all of the field’s headers and values being returned.
{
“xhrStatus”: “complete”,
“request”: {
“method”: “GET”,
“url”: “api/datasources/proxy/1/query”,
“params”: {
“db”: “telegraf”,
“q”: “SELECT "remote_addr", "verb", "request_url", "status", "body_byes_sent", "referrer", "user_agent", "http_host", "request_time", "upstream_response_time", "upstream_addr" FROM "nginx_live_access_log" WHERE time >= now() - 5m limit 1”,
“epoch”: “ms”
},
“data”: null,
“precision”: “ms”
},
“response”: {
“results”: [
{
“statement_id”: 0,
“series”: [
{
“name”: “nginx_live_access_log”,
“columns”: [
“time”,
“remote_addr”,
“verb”,
“request_url”,
“status”,
“body_byes_sent”,
“referrer”,
“user_agent”,
“http_host”,
“request_time”,
“upstream_response_time”,
“upstream_addr”
],
“values”: [
[
1583920497000,
“..114.75”,
“GET”,
“/=default=/”,
“200”,
null,
“-”,
“check_http/v (monitoring-plugins 2.2)”,
“test*.net”,
0.012,
0.009,
null
]
]
}
]
}
]
}
}