Skip to content

[amazon_bedrock_agentcore] add gateway_application_logs data stream #15991 - #16587

Merged
14 commits merged into
mainfrom
unknown repository
Jan 22, 2026
Merged

14 commits merged into
mainfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Dec 16, 2025 •

Copy link
Copy Markdown

Overview

This PR adds the gateway_application_logs data stream.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

  • Closes elastic/obs-integration-team/issues/699

Screenshots

@ghost ghost self-assigned this Dec 16, 2025
@ghost ghost added Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] Integration:aws_bedrock_agentcore Amazon Bedrock AgentCore enhancement New feature or request labels Dec 16, 2025
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@ghost
ghost marked this pull request as ready for review December 17, 2025 15:45
@ghost
ghost self-requested a review as a code owner December 17, 2025 15:45
type: keyword
description: ID of the processed request.

- name: body

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the agentcore runtime application log request_payload_object is used as the field name for the flattened field. Can a similar naming convention be followed here, such as payload_object ?

"body": {
"id": "7",
"isError": false,
"log": "Processing request for tool DocumentRetrieval___fetch_order_details from target XYZPROD001"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we extract the key parts of this and store them in ECS fields?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The body.log field does not always follow a consistent format. In some cases, we may be able to extract values such as the tool name and target but these fields will not be present in all gateway logs.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the gateway, the tool operation name, target, and outcome of the tool operation (including target invocation results) are important observability information. When present, let's capture it and store them.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, you may store the log data entirely in the messsage field

@agithomas agithomas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@andrewkroh andrewkroh added the documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. label Jan 8, 2026
@ghost
ghost enabled auto-merge (squash) January 22, 2026 09:15
@elasticmachine

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @gpop63

@ghost
ghost merged commit 6e7f4ef into elastic:main Jan 22, 2026
9 checks passed
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package aws_bedrock_agentcore - 0.7.0 containing this change is available at https://epr.elastic.co/package/aws_bedrock_agentcore/0.7.0/

jakubgalecki0 pushed a commit to jakubgalecki0/integrations that referenced this pull request Feb 19, 2026
…lastic#15991 (elastic#16587)

* add gateway data stream

* bump package version

* update readme

* fix pr id

* rename body field

* improve pipeline

* add gateway suffix

* update readme

* improve title
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. enhancement New feature or request Integration:aws_bedrock_agentcore Amazon Bedrock AgentCore Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants