Permalink to a document on Kibana


#1

At the moment we have on Kibana that very useful link to a specific document.
Is there a way to make that link always work regardless of the index state?


(Mark Walkom) #2

I don't believe so, but it's a great idea.
Can you raise a feature request? https://github.com/elastic/kibana/issues


#3

I was trying to use a URL formatted String to make a call to knapsack in order to copy that document to another index, which would be a permanent one. Do you think that, or something similar, is possible?


#4

Issue raised:


#5

Hey Mark, what about this approach:

I'm trying to use a formatted url string to have a clickable link, with this template:

http://localhost:9200/logstash-2016.07.22/POST/_reindex{"source":{"index":"logstash-2016.07.22","type":"log","query":{"term":{"thatId":{value}}}},"dest":{"index":"logstash-permalink","version_type":"external"}}

where I would copy the query result to a permanent index. At the moment this is not working, the result is not copied and I get this Json on the browser as a response:

{"_index":"logstash-2016.07.22","_type":"POST","_id":"_reindex{"source":{"index":"logstash-2016.07.22","type":"log","query":{"term":{"thatId":"1234"}}},"dest":{"index":"logstash-permalink","version_type":"external"}}","found":false}

what am I doing wrong?


(system) #6