Create programable links with enabled custom filters to Kibana Dashboard

You could try writing a script that calls the shorten url api directly. However there are few caveats when it comes to permalinks in Kibana:

  1. Short urls are currently not "cleaned up", meaning once you create them, they remain in your .kibana index forever. So keep this in mind if you plan on creating large numbers of them. (You can, of course, delete them manually should you choose to do so).
  2. Kibana's URL parameters are still not officially considered a part of Kibana's APIs. While we have worked very hard not to break them, there remains a slight risk that short URLs you have created previously could change. (This is a risk no matter how you create short URLs, be it programmatically or via the UI).

We are actively planning a better solution for (2), but aside from waiting on that, writing a script to call the existing API directly sounds like it's probably your only option at the moment.