I'm trying to use Timelion plugin for kibana.
I have a dataset in the elasticsearch, the structure may be like this:
{
"_index": "metrics-2016-03",
"_type": "gauge",
"_id": "AVM2O7gbLYPaOnNTBgG0",
"_score": 1,
"_source": {
"name": "kafka.network.RequestChannel.ResponseQueueSize",
"@timestamp": "2016-03-02T07:29:56.000+0000",
"value": 4,
"host": "localhost"
}
}
I want to show the "value"
field as the y axis and "@timestamp"
as the x aixs, how should I do?
I tried the .es()
function, but this function seems to set the count as the default value, not the "value" field in the datasource.