Skip to content

Kibana Fails to Fetch Logs After Upgrading EC2 Metadata to IMDSv2 #13

@Ravitejareddykamidi

Description

@Ravitejareddykamidi

I am running an ELK stack with Kibana hosted on EC2 instances. These instances have an IAM role attached that includes permissions like DescribeInstances.

After updating the EC2 instance metadata version from IMDSv1 to IMDSv2, logs are no longer appearing in the Kibana UI. Additionally, the Kibana documentation does not mention support or compatibility with IMDSv2.

Issue Observed:
Logs stop appearing in Kibana after switching to IMDSv2.

Kibana displays the following error:

403: Forbidden. You cannot use Index Management because license information is not available at this time.

Steps Taken:
Verified IAM role permissions (unchanged).

Checked Kibana logs for more details.

Looked for relevant documentation but found no mention of IMDSv2 support.

Expected Behavior:
Kibana should continue to retrieve and display logs normally after enabling IMDSv2

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions