Get a link to single document page in Discover section in Kibana

I am building a search page for a web application that is backed with Elasticsearch. In that web app I want to let the user search and filter the data and the result of the search should show some fields of the documents and then a link "View more" that takes the user to the page "View single document" of that document in Discover section of Kibana.

I can see that the URL of single document page looks like this:
http://localhost:5601/app/discover#/doc/[SOME_VALUE]/[INDEX_NAME]?id=[DOCUMENT_ID]
My question is what does "SOME_VALUE" in the URL represents? and is there a way to get this page without this value (just sending index name and document id for example)

It should be the Kibana index pattern id, as per https://github.com/elastic/kibana/blob/master/src/plugins/discover/public/application/angular/doc_table/components/table_row/details.html#L34

1 Like

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