I have a requirement of integrating the Kibana dashboard into my react application. The dashboard may contain multiple charts(Pie, Time series, etc). And, the application will be used by many users. So, the data in each chart should display as per the user.
Here are the steps that i have followed.
- created two pie charts as per user with a sample data set and added them into a single dashboard.
- integrated the dashboard using an iframe into my react application.
Need guidance on next steps:
When I am accessing Kibana from my web application. It is redirecting to the Kibana login page.
Please, Can someone assist me in passing the basic auth token to Kibana from my application / calling any login API's which gives the authentication token and some sort of session cookies (at the time of redirecting to Kibana)?
Note: I will have to pass the same credentials / same token to Kibana for logging in. Bcoz I am storing all user's data within a single index.
Thanks in advance.