Couldn't find any reference to an existing way to include code from a file in a Kibana Vega visualisation, like the #include directive in C.
I have several Vega visualisations for which part of the code is the same but evolves frequently. So I have to modify each visualisation each time there's a change.
The idea would be to have this part in a text file that would be "included" in the Kibana Vega code and just modify the code in the text file instead of each visualisation.
If there's another way to do it, I'd be happy to know.
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.