Hello Elastic community,
I am currently facing an issue with constructing a URL for Kibana dashboards with specific filters based on a given parameter. The objective is to filter the dashboard based on the user login area. To give more insight, I have created a dashboard for admin purposes and I also want this dashboard shall be used by the dispenser or distributor in all parts of the country, so the primary aspect of this dashboard shall be that based on the session id of the UI (I have embedded it in the existing UI as a separate tab) , the data should get filter.
For the trial purpose, I have hardcoded the URL with a specific id for the EventSenderCustodianid with a number present in my index. I got this sample URL from the elastic community old message
I have visuals in my dashboard with two different index. From the Event Index , i want to use EventSernderCustodianID & EventReceiverCustodianID and from the Item Index, i want to use ItemLastSenderCustodianID and ItemLastReceiverCustodianID.
I have constructed the URL as follows:
URL:
https://sample.net/kibana/app/dashboards#/view/b4b1d080-485b-11ee-84fa-49cb5bc4ded3?embed=true&_g=(filters:!((query:(match_phrase:(eventSenderCustodianId:"0810009420415")))),refreshInterval:(pause:!t,value:0),time:(from:now-1y,to:now),viewMode:view)&show-time-filter=true
However, even though the URL does not throw any errors, the dashboard does not get filtered based on the specified eventSenderCustodianId.
I would greatly appreciate any insights or guidance on how to construct the URL correctly to achieve the desired filtering based on eventSenderCustodianId.
Thank you for your assistance!
Best regards,
Kumar Abhinav