Skip to content

Grok Debugger API routes should forward ES errors #82869

Closed

Description

On master Grok Debugger returns all errors as 500, regardless of whether they originate as 4xx errors from ES: https://github.com/elastic/kibana/blob/master/x-pack/plugins/grokdebugger/server/routes/api/grokdebugger/register_grok_simulate_route.js#L40

We need to update its APIs to check if the error originated from ES and, if so, forward that information. Here's an example: https://github.com/elastic/kibana/blob/master/x-pack/plugins/index_management/server/routes/api/data_streams/register_get_route.ts#L60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Feature:Dev ToolsFeature:Grok DebuggerDev Tools Grok Debugger featureTeam:Kibana ManagementDev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and moreenhancementNew value added to drive a business result

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions