Skip to content

Commit

Permalink
Re-adding pipeline changes removed by mistake (elastic#1353)
Browse files Browse the repository at this point in the history
* re-add functionality which was accidentally removed

* add changes

* changelog
  • Loading branch information
narph authored Jul 26, 2021
1 parent e8926a9 commit f8fa10e
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/azure/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "0.5.1"
changes:
- description: Re-add pipeline changes for invalid json
type: enhancement
link: https://github.com/elastic/integrations/pull/1353
- version: "0.5.0"
changes:
- description: Add input groups
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,29 @@ processors:
- json:
field: event.original
target_field: azure.platformlogs
on_failure:
- grok:
field: event.original
patterns:
- "resourceId\": ?\"%{DATA:azure.platformlogs.resourceId}\""
ignore_failure: true
ignore_missing: true
- grok:
field: event.original
patterns:
- "category\": ?\"%{DATA:azure.platformlogs.category}\""
ignore_failure: true
ignore_missing: true
- grok:
field: event.original
patterns:
- "time\": ?\"%{DATA:azure.platformlogs.time}\""
ignore_failure: true
ignore_missing: true
- set:
field: error.message
value: 'invalid json log'
ignore_failure: true
- date:
field: azure.platformlogs.time
target_field: '@timestamp'
Expand Down
2 changes: 1 addition & 1 deletion packages/azure/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: azure
title: Azure Logs
version: 0.5.0
version: 0.5.1
release: beta
description: Azure Logs Integration
type: integration
Expand Down

0 comments on commit f8fa10e

Please sign in to comment.