You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Unclear PPL error message: Empty mapping on wildcard indices #4872
Is your feature request related to a problem?
Suppose a cluster has multiple indices with incompatible mappings, and both are matched by the same wildcard:
idx-a -> Mapping A
idx-b -> Mapping B
source = idx-* then returns the error: Failed to read mapping for index pattern [[Ljava.lang.String;@9acdf8].
This error is because no mapping is returned by the mapping endpoint.
Here's a real-world example, checking a specific OCSF index in a cluster with many such indices:
But trying to get all OCSF indices returns an empty mapping:
% curl 'oscf-1.1.0*/_mapping'
{}
What solution would you like?
Clarify the error message. Something like Found an invalid index mapping for 'ocsf-1.1.0*'. Check that all indices matching the pattern share a valid mapping.
changed the title [-][FEATURE] Unclear PPL error message: Empty mapping on wildcard indices.[/-][+][FEATURE] Unclear PPL error message: Empty mapping on wildcard indices[/+]on Nov 26, 2025
@Swiddis FYI two checks are red, and both are also failing on main and other recent PRs, so they aren't caused by this change: analytics-engine-compat (failing on all recent runs, including main) and codecov/project (76% against the 99% project-wide target).
Activity
[-][FEATURE] Unclear PPL error message: Empty mapping on wildcard indices.[/-][+][FEATURE] Unclear PPL error message: Empty mapping on wildcard indices[/+]anohedr commentedon Jun 14, 2026
@Swiddis - If this isnot assigned to any one - I would like to work on this. Thank you
anohedr commentedon Jun 14, 2026
@Swiddis - I have the code changes in my local. Let me know I can send the PR with the fix
anohedr commentedon Jul 6, 2026
@Swiddis submitted PR for review
anohedr commentedon Nov 13, 2026
@Swiddis FYI two checks are red, and both are also failing on main and other recent PRs, so they aren't caused by this change: analytics-engine-compat (failing on all recent runs, including main) and codecov/project (76% against the 99% project-wide target).
Thanks you
Swiddis commentedon Nov 13, 2026
yeah, AE is weird and codecov hasn't been closely tracked in ages, not on you.