Logstash 2.3 with Elasticsearch 5.0

Ok so how do I import older 'dashboards (searches, visualizations, dashboards) + logstash indices' to ELK 5.0?