Viewing logs on Kibana
To create data views
- From the config/infra.config file, obtain the URL to access the Kibana UI.
This is the value that you had set for the parameter KIBANA_LB_HOST.
For example, https://kibana.apexglobal.bmc.com
See Configuration-file-settings. - On the Kibana login screen:
- Enter elastic as the default user name.
- Enter the Kibana password that you added in the commons/certs/secrets.txt file.
This is the value that you had set for the parameter KIBANA_PASSWORD in the secrets.txt file.
See Preparing-for-password-encryption. - Click Log In.
- At the top left corner, click
.
- Scroll down the left pane, in the Management area, click Stack Management.
- In the Kibana area, click Data Views.
- Click Create data view.
- On the Create data view console, in the Name box, add a name for the data view, beginning with log*.
All Fluent Bit logs start with the word logstash. - Click Create data view.
To refine the search
- On the Kibana home page, click
.
- In the Analytics area, click Discover.
- Use the filters to refine your search, and then click Refresh query.
- Save your search.
To export logs to a csv file
- On the Kibana home page, click
.
- In the Analytics area, click Discover.
- Use the filter to refine your search, and then click Refresh query.
- Save your search.
- Select Share > CSV Reports.
- Click Generate CSV.
The system displays a similar message: - When prompted, click Download report and save the report.
If you have any issues, send the CSV file to BMC Support.