Hi Vignesh,
One thing about that last step, from your own ls -lrth: the directories under nodes/0/indices are index UUIDs, not index names. There is no directory called wazuh-archives-* on disk, so there is nothing for that pattern to match. Picking one by eye means picking an index you cannot identify, and the cluster keeps its own record either way: the metadata stays in cluster state, so the index comes back red rather than gone.
Where the names do exist is the API. In Dashboards, Index Management → Indices, filter for wazuh-archives-*, select and delete. That also covers the gap Alex flagged: ISM only governs indices created after the policy, so for the 1.3T you already have, either delete those indices directly or use Apply policy from the same screen, which attaches it to existing ones.
One thing that catches people out: turning archives off in Filebeat stops them being indexed, but if logall_json is still enabled in ossec.conf, the manager keeps writing archives.json locally. The growth moves from the indexer to the manager instead of stopping. Worth checking both ends.
And one part that is not about disk at all: wazuh-archives-* holds everything that arrived, whether or not it matched a rule, which is what wazuh-alerts-* does not do. Dropping archives is a fair call on a 1.3T box, but it is a retention decision rather than a storage one: what it really sets is how far back you can investigate something that did not alert at the time. Worth deciding on purpose rather than under disk pressure.
Francisco Sousa — Systems in Production,
systemsinproduction.substack.com