Question about creating a link to document in Kibana


Regarding the discussion below and the creation of a link directly to a document.

So I have created a link that works going to a specific document based on the 'share' capability in Kibana (note that the index is specified rather than using a wild card):


While this works, I get an orange error that says

Discover: "logstash-2018-05-15" is not a configured pattern ID. Using the default index pattern: "23daslkj234jrlew"

This default index pattern isn't shown in the document details, how do I get a list of all my default index patterns?

The reason I'm doing this is because when I create an alert to send to someone based on a singe document, I want to link back to that document without having to build a dashboard.

Also, note that using a wildcard in the above search doesn't work.


This gives an "unable to parse url" error

(Matt Bargar) #2

23daslkj234jrlew is the ID of your default index pattern (different from its human readable name). The index parameter in the url requires this ID. The default index pattern is whichever one you selected in the management section of Kibana.

This might probably be problematic for you if you have a large number of index patterns, because I don't think Watcher will expose this information. If you only have a small number of index patterns and can hard code this index ID into your alerts, you can find the ID of each one of your index patterns in the Management section of Kibana. In Management select the "Index Patterns" link, then select the pattern you're interested in the sidebar, then look at the URL. The long string of numbers and letters in the URL is the ID.

(system) #3

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