Skip to content

.fleet-action-results cannot be accessed by cloud #116139

Open
@stefnestor

Description

@stefnestor

Elasticsearch Version

8.15.1

Installed Plugins

No response

Java Version

bundled

OS Version

ESS

Problem Description

👋 howdy, team!

Expanding #89261 (from #71667) for impact and potential resolution variation, Support+users using ECE+ESS UI+API rather than ES API directly cannot view information for .fleet-actions-results due to the Fleet header restriction.

# GET .ds-.fleet-actions-results-2024.XX.XX-0000XX/_ilm/explain
{ "error": {
  "reason": "Data stream(s) [.fleet-actions-results] may not be accessed by product [cloud]",
  "root_cause": [{
-   "reason": "Data stream(s) [.fleet-actions-results] may not be accessed by product [cloud]",
    "type": "illegal_argument_exception"
  }], "type": "illegal_argument_exception"
}, "status": 400 }

If Support CURL overrides to recommended header x-elastic-product-origin: fleet we only update error to

{ "error": {
    "reason": "multiple values for single-valued header [X-elastic-product-origin].",
    "root_cause": [{
-        "reason": "multiple values for single-valued header [X-elastic-product-origin].",
        "type": "illegal_argument_exception"
    }], "type": "illegal_argument_exception"
}, "status": 400 }

This is true for at least Index Settings and ILM Explain but not CAT Shards nor CAT Indices. E.g.

# GET .fleet-actions-results/_ilm/explain
(error above)
# GET *fleet-actions-results*/_ilm/explain
(NULL)
# GET .fleet-actions-results/_settings
(error above)

Due to the nature of how ES diags poll its API, Support does not know they have incomplete/missing data & our diagnostic automations have unexpected behavior.

Steps to Reproduce

  1. Create ESS Deployment with Integrations Server, add Fleet-managed Agent
  2. Poll API variations above and see results/not.

Logs (if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    >bugSupportabilityImprove our (devs, SREs, support eng, users) ability to troubleshoot/self-service product better.Team:Fleet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions