Skip to content
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

feat: add audit events to datadog guide #229

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

markphelps
Copy link
Contributor

  • Adding a guide on how to send audit events to datadog
  • Fixing a couple docs issues

@markphelps markphelps requested a review from a team as a code owner June 10, 2024 17:03
@markphelps markphelps changed the base branch from doc-logs to main June 10, 2024 17:13
Signed-off-by: Mark Phelps <[email protected]>
Comment on lines +64 to +70
body: |
{
"type": "{{ .Type }}",
"action": "{{ .Action }}",
"payload": {{ toJson .Payload }}
}
```
Copy link
Collaborator

Choose a reason for hiding this comment

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

@markphelps Having such a guide would be great.

I have a follow-up question about the body data since I'm unable to verify it myself. In the Datadog API documentation, all the example logs are sent as arrays. Additionally, there are a few reserved attributes that could potentially aid in the aggregation console. Here’s an example from their site:

[
  {
    "ddsource": "nginx",
    "ddtags": "env:staging,version:5.1",
    "hostname": "i-012345678",
    "message": "2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World",
    "service": "payment"
  }
]

Probably we could have ddsource set to flipt in the guide.

Copy link

kodiakhq bot commented Jun 13, 2024

This PR currently has a merge conflict. Please resolve this and then re-add the automerge label.

@kodiakhq kodiakhq bot removed the automerge label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants