Hi,
I am following a tutorial on Vega visualization on Kibana. The tutorial is similar to draw a graph of bars using aggregation. I followed the steps mentioned in this thread. However, my graph is not displayed, when I debugged the response I noticed that the format does not return the bucket, instead, it returns an object as in the image.
I'm not sure your formatting is being applied correctly, it looks like it might be in the wrong place in the hierarchy. You can read the improved Vega-Lite tutorial and Vega tutorial to see some examples. Also, in 7.10 there is now an Inspector feature for Vega.
Thank you for your reply. I checked the tutorials. I am using vega not vega-like as the forced graph I am using is not avlaliale in vega-lite. My data format as follows
That was not exactly what I was asking. I think your Vega spec is not set up right, specifically the format section of your Vega spec. Please try to match the tutorial.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.