Based on what I wrote on another post, I read that to dynamically reload a dashboard compared to a new index you must edit this section of the json file:
Kibana 6.2: curl -s http://localhost:5601/api/saved_objects/index-pattern | json_pp (don't have 6.2 handy, so haven't checked, but let me know if it doesn't work).
Or just open required index pattern in Kibana UI and take a look at the URL - id should be there.
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.