Kibana Vega bubble chart not working

I have field in index and trying to make a scatter chart out of it. But it's showing only axis.

{
$schema: https://vega.github.io/schema/vega-lite/v2.json
mark: point
data: {
url: {
%context%: true
%timefield%: @timestamp
index: load_log
body: {
size: 0
_source: ["io_mbytes", "total_cpu", "user"]
}
}
}
transform: [
{
aggregate: [
{op: "sum", field: "_source['total_cpu']", as: "sum_cpu"}
]
groupby: ["_source.user"]
}
{
aggregate: [
{op: "sum", field: "_source['io_in_mbytes']", as: "sum_io"}
]
groupby: ["_source.user"]
}
]
mark: point
encoding: {
x: {field: "sum_cpu", type: "quantitative"}
y: {field: "sum_io", type: "quantitative"}
}
}

Please suggest some solution.

I want to plot sum of io vs sum of cpu for the user and size it by no of user.

Please help

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.