# Update index associated to Visualizations

**URL:** <https://discuss.elastic.co/t/update-index-associated-to-visualizations/200512>\
**Category:** Kibana\
**Created:** [September 21, 2019, 6:11am UTC](https://discuss.elastic.co/t/update-index-associated-to-visualizations/200512 "2019-09-21T06:11:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Camilo\_Diaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/camilo_diaz/32/46512_2.png) [@Camilo\_Diaz](https://discuss.elastic.co/u/Camilo_Diaz)\
**Post date:** [September 21, 2019, 6:11am UTC](https://discuss.elastic.co/t/update-index-associated-to-visualizations/200512/1 "2019-09-21T06:11:07Z")

</div>

How can I update the index\_id associated to a visualisation?

I first enabled the Suricata Module from Filebeat and all the dashboard and visualisations were loading correctly. (Output to Elasticsearch and Kibana)

Due to changes in the data I was sending from Beats, I had to delete and create a new index but now created from Logstash. (Filebeat -\> Logstash -\> Elasticsearch). Since this new index was created, I can't load any visualizations.

 ![59%20PM](https://us1.discourse-cdn.com/elastic/original/3X/4/3/4328477d3abbb66f6f8f60083a3ffb95012c7240.png)  
 ![22%20PM](https://us1.discourse-cdn.com/elastic/original/3X/1/9/198aeb02011ad11ea296394f54989c150569ea78.png)  
I have recreated the index using the same name but I believe the visualisation is linked to the previous index\_id. I can also see the logs coming through on the 'explore' view.

I have also reloaded the Suricata module from filebeat which I believe should reload the visualisations to the right index. Before reloading the module, I deleted the filebeat index and kibana index but I’m still having the same issue.

In the 'SIEM' view, the Suricata logs are detected correctly as you can see here:

 ![44%20PM](https://us1.discourse-cdn.com/elastic/original/3X/d/a/da5612a687d898264588b3c0a8efee63273ab822.png)

I have also tried to export the visualization from the saved objects but I'm getting this error in Kibana:

 ![03%20PM](https://us1.discourse-cdn.com/elastic/original/3X/d/f/df858f6c0efd98a12393b123a4bb56d6e5d987ed.png)

> {"type":"response","@timestamp":"2019-09-21T06:23:24Z","tags":,"pid":7,"method":"post","statusCode":400,"req":{"url":"/api/saved\_objects/\_export","method":"post","headers":{"host":"[kibanamydomain.com:5601](http://kibanamydomain.com:5601)","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0","accept":"_/_","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","referer":"[http://kibanamydomain.com:5601/app/kibana","kbn-version":"7.3.2","content-type":"application/json","origin":"http://kibanamydomain.com:5601","content-length":"115","connection":"keep-alive"},"remoteAddress":"192.168.1.101","userAgent":"192.168.1.101","referer":"http://kibanamydomain.com:5601/app/kibana"},"res":{"statusCode":400,"responseTime":46,"contentLength":9},"message":"POST](http://kibanamydomain.com:5601/app/kibana%22,%22kbn-version%22:%227.3.2%22,%22content-type%22:%22application/json%22,%22origin%22:%22http://kibanamydomain.com:5601%22,%22content-length%22:%22115%22,%22connection%22:%22keep-alive%22%7D,%22remoteAddress%22:%22192.168.1.101%22,%22userAgent%22:%22192.168.1.101%22,%22referer%22:%22http://kibanamydomain.com:5601/app/kibana%22%7D,%22res%22:%7B%22statusCode%22:400,%22responseTime%22:46,%22contentLength%22:9%7D,%22message%22:%22POST) /api/saved\_objects/\_export 400 46ms - 9.0B"}

Filebeats 7.3.2  
Kibana 7.3.2  
Elasticsearch 7.3.1

Any help will be much appreciated.  
Thanks  
Camilo.

---

<div class="post-metadata">

**Author:** ![Camilo\_Diaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/camilo_diaz/32/46512_2.png) [@Camilo\_Diaz](https://discuss.elastic.co/u/Camilo_Diaz)\
**Post date:** [September 22, 2019, 2:56am UTC](https://discuss.elastic.co/t/update-index-associated-to-visualizations/200512/2 "2019-09-22T02:56:00Z")

</div>

I found the fix:

I had to recreate the Kibana Index Pattern and set the id to 'filebeat-\*' on the advanced options. Not sure if this is the expected behavior though.

---

<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:** [October 20, 2019, 2:56am UTC](https://discuss.elastic.co/t/update-index-associated-to-visualizations/200512/3 "2019-10-20T02:56:01Z")

</div>

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