Newly Added Fields Not Appearing in Visualizations

Hello OpenSearch Community,

I’m encountering an issue with some new fields that I’ve added to my existing index and am seeking advice on how to resolve it. Despite having updated the mappings and confirmed their presence via the DevTools (GET /logs-json-*/_mapping), these fields do not appear in the visualization options when I try to filter by terms.

When looking in the Discover section, I can see the fields, and can even filter by them.

You can refresh the field list in the index pattern referenced by the visualization: