Hello,
You can generate PDF reports within
the Wazuh App from the Wazuh dashboards. You simply need to go to the
desired dashboard and select the "Generate Report" in the top left:
This reports will be generated and will be accesible from "Management" -> "Reporting"
More information about Wazuh reporting can be found here:
Regarding CSV reports, it depends on whether you are using Elasticsearch or OpenDistro:
If you are using Elasticsearch with XPACK:
You can create reports from the Discover section:
Here,
select the wazuh-alerts index and then you can create a query that fits
your needs and then share it as the format you need:
More information about XPACK reporting:
If you are using OpenDistro:
Here,
as you mentioned, you should use Visualizations by going to the
Visualize section of Kibana and creating a new visualization based on
your needs.
Once you have your visualization, you can go to the inspect button on the top left and select Download as CSV.
Another option is to use SQL workbench:
Here you can make a query with SQL as follows:
SELECT * FROM wazuh-alerts-* WHERE @timestamp >='2020-12-01';
This would bring all the fields from the alerts from "2020-12-01", modifying the SELECT section with the fields you want could achieve better results than a visualization.
And then you can Download it as CSV:
You can find more information about SQL workbench here:
Also, this repo hosts information about OpenDistro reporting:
I hope this helps you.
Let me know if you have further questions!
Franco