# Is it possible to force Kibana to reload visualisation code?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-force-kibana-to-reload-visualisation-code/94257>\
**Category:** Kibana\
**Created:** [July 23, 2017, 9:10pm UTC](https://discuss.elastic.co/t/is-it-possible-to-force-kibana-to-reload-visualisation-code/94257 "2017-07-23T21:10:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jack\_Judge](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jack_judge/32/85499_2.png) [@Jack\_Judge](https://discuss.elastic.co/u/Jack_Judge)\
**Post date:** [July 23, 2017, 9:10pm UTC](https://discuss.elastic.co/t/is-it-possible-to-force-kibana-to-reload-visualisation-code/94257/1 "2017-07-23T21:10:17Z")

</div>

Like the title says, is it possible to get Kibana to reload the **code** for a visualisation ? The vis is part of a dashboard and I'm updating it in response to events within my ingest (logstash) pipeline.  
I'm updating the version number along with the code for a vis but the changes aren't being seen unless I manually hit the refresh button on the browser. Is it possible somehow ? Doesn't have to be a neat solution just as long as it could be done automatically.  
Anyone got any ideas ? Thanks,  
JJ

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [July 24, 2017, 5:33pm UTC](https://discuss.elastic.co/t/is-it-possible-to-force-kibana-to-reload-visualisation-code/94257/2 "2017-07-24T17:33:16Z")

</div>

You're updating the JSON document in elasticsearch that defined the visualization? Am I understanding that correctly?

I know that the auto-refresh functionality will update the data points, but I don't think it'll reload the visualization itself. It's not something we ever expected to change programmatically like that. I think the only way to trigger it is, as you point out, refreshing the page.

You could still make this happen automatically with a plugin hack though. In fact, you could probably make something that forced a router update and use that to refresh the page, so you could avoid seeing the Loading indicator all the time.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 21, 2017, 5:33pm UTC](https://discuss.elastic.co/t/is-it-possible-to-force-kibana-to-reload-visualisation-code/94257/3 "2017-08-21T17:33:17Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
