I need to embed kibana dashboard into react application but depending on the user, the data that user is able to view have to be restricted e.g. if user id is 9983 -> data with only userId:9983 should be available on the dashboard when the user logs in.
Would this be possible programmatically? A process that would be preferable is 1) I create a visualization in Kibana 2) somehow get link to the visualization and embed into react 3) apply a little bit of custom code on react side so that data viewed is restricted.