Jaeger V2 and Elasticsearch mapping data problem #8184
Replies: 1 comment 6 replies
-
|
Hi @jackchuong! I'm Dosu and I’m helping the jaeger team. The issue you're experiencing is a race condition between Jaeger's index template creation and Elasticsearch's auto-index creation. When spans arrive before templates are fully applied, Elasticsearch creates indices with its default dynamic mappings (fields as To fix this:
For a more robust setup, consider using ILM (Index Lifecycle Management) with the jaeger_storage:
backends:
primary_store:
elasticsearch:
use_aliases: true
use_ilm: true
create_mappings: false # Must be false when ILM is enabledBefore starting Jaeger with ILM:
The es-rollover init action explicitly creates templates before indices, eliminating the race condition. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm trying to install Jaeger V2 allinone by Helm , using existed Elasticsearch as primary store backend
This is my environment:
Elasticsearch v8.11.3
Jaeger started and running , but get some errors in logs
At Jaeger UI , I get error "Error loading services: Failed to fetch services: 500" as screenshot

There are 2 index templates created : jaeger-primary-jaeger-service , jaeger-primary-jaeger-span in Elasticsearch automatically
There are 2 indices created : jaeger-primary-jaeger-span-2026-03-17 , jaeger-primary-jaeger-service-2026-03-17 in Elasticsearch automatically
How can I fix this problem ? Please give me some advice, thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions