VOOZH about

URL: https://thenewstack.io/inserting-links-kibana-dashboards/

⇱ Inserting Links in Kibana Dashboards - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2018-03-26 15:00:34
Inserting Links in Kibana Dashboards
contributed,
DevOps

Inserting Links in Kibana Dashboards

Mar 26th, 2018 3:00pm by Daniel Berman
👁 Featued image for: Inserting Links in Kibana Dashboards
Feature image via Pixabay.
Daniel Berman
Berman is an evangelist at Logz.io. He spends his professional time writing and speaking about logs and the data sources and machines that generate them. He spends his private time taking care of his family, running and routing for Liverpool FC

Kibana is a great analysis and visualization tool. But just like any piece of software, it is not perfect. While there is no doubt that the more recent versions of Kibana, 5.x and more so — 6.x, have made huge progress from a UI and UX perspective, there are some small missing bits and pieces that can make monitoring and troubleshooting a tad cumbersome.

One of these issues is the simple yet basic ability to insert links in a Kibana dashboard, and there is surprisingly no built-in mechanism to do so. The good news is that this feature is in development. Or at least seems to be in development. The bad news is that until the good folks at Elastic push this into production, it’s up to us to hack a solution.

1: Using Markdown

One workaround involves using a Markdown visualization. In fact, this is the most common method employed by users. URLs in markdown can be a bit funky because of the rendering of parentheses.

A method that works is using this format:

[Hello world!][1]

[1]: https://logz.io

While this is doable, this workaround is far from ideal from a usability perspective. When monitoring your environment and viewing a dashboard, a more natural workflow is to click a link from a specific field that opens another dashboard for further analysis and drill down.

2: Using URL formatting

Another workaround involved changing the format of a specific field to URL format. This requires a bit more work but the results are much more useful.

As an example, say I’m monitoring Apache access logs using a series of dashboards. One main dashboard gives me an overall view of all traffic and requests routed through my server:

👁 Image

Another dashboard is more specific, and is designed to drill down deeper into the IPs sending the requests:

👁 Image

Wouldn’t it be great if we could click on a specific IP in my main monitoring dashboard and analyze it further in my dedicated dashboard?

The first step is this second workaround is to retrieve a URL to use as the destination for the clientip field.

Opening our dedicated dashboard, I’m going to enter a specific query:

clientip:52.99.80.95

👁 Image

Next, I’m going to click on the Share button at the top of the page.

👁 Image

I’m then going to copy the Snapshot URL for sharing, and paste it in my text editor. The URL is quite long (depends on the objects in the dashboard), but what interests us at this stage is the query section.

In Kibana 5.x:

%2Cquery%3A(query_string%3A(query%3A%2527clientip%3A52.99.80.95%2527))

In Kibana 6.x:

query:(language:lucene,query:'clientip:52.99.80.95')

Within this string, we need to change the IP to {{value}} — a placeholder for the value of the clientip field.

In Kibana 5.x:

%2Cquery%3A(query_string%3A(query%3A%2527clientip%3A{{value}}%2527))

In Kibana 6.x:

query:(language:lucene,query:'clientip:{{value}}')

Make note of the entire amended URL.

Next, open the Index Patterns tab on the Management page and locate the field in question (in our case, clientip).

👁 Image

Click the edit icon on the right and enter the following settings:

  • Format — open the drop-down menu and select URL
  • Type — leave as “Link”
  • URL Template — enter your saved URL
  • Label Template — enter {{value}}

Click the Update Field button.

👁 Image

Open your main dashboard again — lo and behold, our IPs are now hyperlinked:

👁 Image

Clicking on one of the IPs will open our dedicated dashboard, with the relevant Kibana query filtering it:

👁 Image

Endnotes

The examples and screenshots above were used with Logz.io’s hosted ELK stack, but you can, of course, perform the exact same process with your own deployment.

Kibana holds plenty of tricks up its sleeve, so if you guys know of another workaround for inserting links in dashboards — I’d love to hear about it!

Happy linking!

TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.