-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: parser for azureeventhubs message without time field (#1990)
* fix: parser for azureeventhubs message without time field * update CHANGELOG.md * Update CHANGELOG.md Co-authored-by: William Dumont <william.dumont@grafana.com> * update CHANGELOG.md * update link to the corresponded latest change in the Loki project --------- Co-authored-by: William Dumont <william.dumont@grafana.com>
- Loading branch information
1 parent
ca0ba7b
commit 1c2ec56
Showing
5 changed files
with
90 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
...source/azure_event_hubs/internal/parser/testdata/message_without_time_and_time_stamp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"records": [ | ||
{ | ||
"resourceId": "/RESOURCE_ID", | ||
"operationName": "ApplicationGatewayAccess", | ||
"category": "ApplicationGatewayAccessLog" | ||
} | ||
] | ||
} |
10 changes: 10 additions & 0 deletions
10
...ource/azure_event_hubs/internal/parser/testdata/message_without_time_with_time_stamp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"records": [ | ||
{ | ||
"timeStamp": "2024-09-18T00:45:09+00:00", | ||
"resourceId": "/RESOURCE_ID", | ||
"operationName": "ApplicationGatewayAccess", | ||
"category": "ApplicationGatewayAccessLog" | ||
} | ||
] | ||
} |