I am really confused with where I should set this following piece of code "http-server --cors="kbn-version" -p 8000", where and when should I set this? In the Kibana.yml file? elasticsearch.yml file? Can't figure this out.
Kindly help, thanks.
I am really confused with where I should set this following piece of code "http-server --cors="kbn-version" -p 8000", where and when should I set this? In the Kibana.yml file? elasticsearch.yml file? Can't figure this out.
Kindly help, thanks.
Hello Ramya,
That piece of code is a script for running an instance of a local test server for hosting a sample dataset. It's really just an example of a minimal server you might run locally to serve data, but really you could serve data from a number of different sources. To use it:
The remaining instructions regarding how to consume the data would pretty closely follow the linked blog.
Regards,
Aaron
Thanks @Aaron_Caldwell
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.