I am creating an external plugin in Kibana 8.1.1 using React.
I am retrieving the data I have in ES using the data plugin. Is it possible to fetch and update the plugin state as and when data is inserted into the index, rather than have to call the retrieval function every 2 minutes?
Hi there, no Elasticsearch doesn't provide any push event for data added to the index.
This could translate to sending all the data to the client that could become unsustainable depending on the ingestion load.
Polling is the way to handle that right now. Depending on your data queries, you can probably also increase the frequency of the polling and reduce the fetched data just to the interval between the current time and the last call time, appending the data to the previous one.
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.