Hey
I'm trying to get things work in ELK. So far I created a index ('undefined') and also a pattern ('unde*'). Inside the index I am having data like this:
Measurement.Distance
Measurement.Force
Message.Timestamp
Message.DMC
If I try to create a line graph (normal one), Kibana does alwas combine Measurements of distance with digits to one number. This renders the Force-graph unusable, since I am having much more values.
As a workaround I did Measurement.DistanceX100=100*Measurement.Distance at the ingest - then I get charts I could use. But this is a bad way to fix this.
I tried with VEGA so far ... and also did a CANVAS which acktually worked quite fine -but there I cant use dashboards.
SELECT Measurement.Force as y ,Measurement.Distance as x, Message.Product.DMC AS dmc FROM "unde*"
I would need a bit of help building the VEGA code... this is how far I got ... but still receiving the INFINITY Error....
{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"title": "Event counts from all indexes",
"data": {
"url": {
"%context%": true,
"%timefield%": "Message.Timestamp",
"index": "unde*",
"body": {
"aggs": {
"time_buckets": {
"date_histogram": {
"field": "Message.Timestamp",
"interval": {"%autointerval%": true},
"extended_bounds": {
"min": {"%timefilter%": "min"},
"max": {"%timefilter%": "max"}
},
"min_doc_count": 0
}
}
},
"size": 0
}
},
"format": {"property": "aggregations.time_buckets.buckets"}
},
"mark": "line",
"encoding": {
"x": {"field": "Measurement.Distance", "type": "quantitative", "axis": {"title": false}},
"y": {
"field": "Measurement.Force",
"type": "quantitative",
"axis": {"title": "Document count"}
}
}
}
-
Infinite extent for field "Measurement.Distance": [Infinity, -Infinity]
-
Infinite extent for field "Measurement.Force": [Infinity, -Infinity]
It's really not that easy to understand without more examples. I would be glad to get some hints.
Cheers Mathias