View surrounding documents is losing the filter

I have a filter in the Discoverer view that is pinned. When I click the 'view surrounding documents' link i'm taking to the context view but the pinned filters are lost. I'm using Kibana 7.4.2. I had a similar issue with Kibana 7.2.

Hey @data_smith,

If I'm understanding you correctly, it sounds like you're running into this issue: https://github.com/elastic/kibana/issues/22478

I'm not sure what the priority of this issue is, but I'd recommend adding a "thumbs up" reaction to the issue to cast your vote

Hi Larry. In that link you provided, Bargs showed a screenshot of the filters that are pinned and then they are carried over to the context view. I'm using 7.4.2 and the pinned filters aren't carried over.

link showing the pinned filters carrying over to the context view

So I have a whole bunch of docker log records and when users click 'view surrounding documents' they see logs for many different containers. They have to reenter the filter each time if they want to see the surrounding documents for their container.

We should probably update the documentation. Because right now it's stating that pinned filters are carried over.

https://www.elastic.co/guide/en/kibana/current/document-context.html#filter-context

This will be a problem for anyone that use Elastic to store Docker log records.

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