Hi Team,
I am new to ELK , i have tried to create basic chart in Vega using my index.
I can able to see only one point(like ".") in my Vega output.
I am using Kibana 7.4.2 version.
Below is my Vega expressions, please help me to resolve this issue.
{
$schema: https://vega.github.io/schema/vega-lite/v2.json
mark: bar
data: {
url: {
%context%: true
%timefield%: @timestamp
index: carbuyerenq
body: {
size: 10000
_source: ["@timestamp","BE_CustName","BE_ENQNo"]
}
format: {property: "hits.hits"}
}
transform:[
{ calculate: "toDate(datum._source['@timestamp'])", as: "time" }
]
encoding: {
x: { field: "_source.BE_ENQNo", type: "temporal"}
y: { field: "_source.BE_CustName", type: "quantitative"} }
}
}
}