-
Notifications
You must be signed in to change notification settings - Fork 525
[amazon_bedrock_agentcore] add runtime_application_logs data stream
#15991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Suggested mapping for an input such as as |
|
|
||
| Amazon Bedrock AgentCore runtime application logs provide detailed insights into agent execution, decision-making processes, and operational events. The integration collects comprehensive log data from your intelligent agents to help you understand agent behavior and troubleshoot issues. | ||
|
|
||
| For more details about enabling logs for AgentCore, check the [Amazon Bedrock AgentCore Observability Guide](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/observability-view.html). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think, it will be good to mention the steps needed to fetch the log_group_arn, needed for configuring this dataset?
As it is the same steps for all the log-based datasets, maybe a common section (may be under What do I need to use this integration?) should suffice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added a small section to explain how to get the log group arn 👍
...ock_agentcore/data_stream/runtime_application_logs/elasticsearch/ingest_pipeline/default.yml
Outdated
Show resolved
Hide resolved
packages/aws_bedrock_agentcore/data_stream/runtime_application_logs/fields/fields.yml
Outdated
Show resolved
Hide resolved
packages/aws_bedrock_agentcore/data_stream/runtime_application_logs/fields/fields.yml
Outdated
Show resolved
Hide resolved
|
/test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you organise the order of column as follows
@timestamp- Request ID
- Agent name (Please follow sentence case for the column title)
- Endpoint name (Please follow sentence case for the column title)
- Request
- Response (I understand this is null presently, let's include a placeholder)
- Session ID
- Trace ID
- Remove Resource ARN (Agent name + Endpoint points to the same) column
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@daniela-elastic , do you recomment leaving the placeholder for the Response (response payload data presently is empty for the log data received from AWS cloudwatch logs)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@agithomas we don’t know the structure or keys of response_payload, it could be a string object etc so this might break the dashboard. Do you think we should add it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will the response always be empty? If so then we should add it later when the logs do support responses. If not then we should add it even if in some cases there are no responses.
| copy_from: aws.bedrock_agentcore.body.request_payload | ||
| ignore_failure: true | ||
|
|
||
| # Flatten body.request_payload to request_payload only when prompt is a string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, this comment is invalid - after removing the condition present previously.
💚 Build Succeeded
History
cc @gpop63 |
|
Package aws_bedrock_agentcore - 0.5.0 containing this change is available at https://epr.elastic.co/package/aws_bedrock_agentcore/0.5.0/ |


Overview
This PR adds the
runtime_application_logsdata stream. It also updates the agent runtime dashboard with a few visualizations for logs.Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Related issues
Screenshots