Can't view spans created through Data Prepper

I followed the example in the documentation for creating a config using the Event Record Type and I’ve successfully uploaded data into Opensearch, but I can’t view it through the plugin. I’ve verified, through Discover, that there is span data there, but nothing shows up in the Trace Analytics Dashboard.

Any help with debugging would be greatly appreciated.

I noticed that while I have data in the otel-v1-apm-span index, I don’t have any data in otel-v1-apm-service-map.

Could that be the source of my issue? If so, how do I fix that?

The answer was to roll over the span and service indices. I had pre-created the indices and the aliases, before the templates were uploaded, so data types were wrong and Dashboards couldn’t handle that.