Hi,
I am trying to get a visualization in Vega. I am able to get the result in Vega-editor, however not able to achieve the same in Kibana. Kindly guide.
The only difference between the two is that when I try to click on the image, it directs me to google in editor but the link is not working in Kibana
This is the Vega specification
{
"$schema": "https://vega.github.io/schema/vega/v3.json",
"description": "Navigation Bar Buttons.",
"autosize": "pad",
"padding": 5,
"height": 100,
"layout": {"padding": 20, "bounds": "full", "align": "each"},
"marks": [
{
"type": "group",
"encode": {"update": {"width": {"value": 270}, "height": {"value": 100}}},
"marks": [
{
"type": "image",
"encode": {
"enter": {
"url": {
"value": "https://github.com/AditiKhalatkar/Images/blob/master/Home_Tab.png?raw=true"
}
},
"update": {"href": {"value": "https://www.google.com"}}
}
}
]
},
{
"type": "group",
"encode": {"update": {"width": {"value": 270}, "height": {"value": 100}}},
"marks": [
{
"type": "image",
"encode": {
"enter": {
"url": {
"value": "https://github.com/AditiKhalatkar/Images/blob/master/Home_Tab.png?raw=true"
}
}
}
}
]
}
]
}
I have tried other vega-lite specifications in Kibana, the links work for those.
P.S : Is there any difference between vega and vega-lite settings for external url? I have added
vega.enableExternalUrls: true
in kibana.yml