Hi, guys!
Is there a way to export all types of possible visualizations and their parameters in some format?
The goal is to get something like this:
[{
"type": "markdown",
"options": {
"text": { "type":"string", "required":True, "default":"" },
"openLinksInNewTab": { "type": "boolean", "default": False },
"fontSize": { "type": "integer", "min":1, "default": 12 }
},
"metrics": // Possible metrics type
"groups": // Possible groups type
"segments": // Possible segments type
"buckets": // Possible buckets type
},{
"type":"pie",
"options":{
"isDonut": {"type":"boolean","default":True},
"addTooltip": {"type":"boolean","default":True},
"addLegend": {"type":"boolean","default":True},
"addTimeMarker": {"type":"boolean","default":False},
"showLabels": {"type":"boolean","default":False},
"legendPosition": {"type":"string","allowed":["left","right","bottom","top"],"default":"right"}
},
"metrics": // Possible metrics type
"groups": // Possible groups type
"segments": // Possible segments type
"buckets": // Possible buckets type
},
.... and same for all VisTypes
]
I've tried to find schema in Kibana' source code, but have no success. I'll be glad to any way of generating this list, custom server script / browser script
Thanks