A Kibana dev console POST to API /_flush failed because the needed header was not included (-H 'X-elastic-product-origin: kibana') - should we always include this? #101294
Labels
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
tested on version 8.0 circa early June.
This came up out of a discussion based on a Fleet Server issue, here:
elastic/fleet-server#426
I was trying to POST /_flush in the console and got this 400 error resp:
The team helped identify that the call would work if we included the below header in the request:
X-elastic-product-origin: kibana
Is there a reason not to do this (always) from the dev console?
The text was updated successfully, but these errors were encountered: