Yuxian: CSDN content partner, CSDN rising star mentor, rising star creator in the full stack field, 51CTO (Top celebrity + expert blogger), github open source enthusiast (go-zero source code secondary development, game back-end architecture https: //github.com/Peakchen)
The following is an example implementation of report generation and data export using ELK:
- report generation
Use Kibana's report generator to create a report in CSV format that contains the previous day's web application access.
-
Select the "Reporting" tab and then select the "Create a new report" button.
-
Select the "webapp-access-*" index mode in the report designer and select the "Data table" visual component.
-
Select the "Columns" tab in the report designer and select the fields that need to be exported, such as "timestamp", "request", and "response_time".
-
Select the "Export" tab in the report designer and select the "CSV" format.
-
Select the "Generate report" button in the report designer and wait for the report generation to complete.
-
Select the Download button in the report designer and download the generated report.
- Data output
Use Kibana's data export function to export the previous day's web application access logs to a CSV format file.
-
Select the "Management" tab and then select the "Saved objects" button.