In a traditional storage set up, event visualizations are available only if you enabled the visualization data store (OpenSearch) to store and index data.
Prerequisite
Enabling Event Visualization
OpenSearch in Cluster Mode