Is there a way to export Kibana Index Patterns? We have various patterns with lots of fields. We have Kibana running in multiple environments so I am looking for a way to export/import Kibana Index Patterns from one environment to another to avoid manual creation per environment.
There's no way to do this using Kibana.
But I have used https://www.npmjs.com/package/elasticdump to accomplish things like this. This is not an Elastic product, not supported, use at you're own risk. I'm using it to save and reload test data including index patterns.
You could also look at the way some of the Beats load index patterns, saved search, visualizations, and dashboards. For example; https://github.com/elastic/beats/tree/master/packetbeat/etc/kibana
Those are installed like this; /usr/share/packetbeat/kibana/import_dashboards.sh