Skip to content

Commit

Permalink
[ML] Fix Nginx ML module manifest query to ignore frozen and cold tie…
Browse files Browse the repository at this point in the history
…rs (#2219)

* [ML] Fix Nginx ML module manifest query to ignore frozen and cold tiers

* [ML] Fix PR number in changelog.yml
  • Loading branch information
peteharverson authored Nov 25, 2021
1 parent d59ee11 commit ee81c87
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
7 changes: 6 additions & 1 deletion packages/nginx/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.2.1"
changes:
- description: Fix ML module manifest query to ignore frozen and cold tiers
type: bugfix
link: https://github.com/elastic/integrations/pull/2219
- version: "1.2.0"
changes:
- description: Release nginx package for v8.0.0
Expand Down Expand Up @@ -31,7 +36,7 @@
- description: Convert to generated ECS fields
type: enhancement
link: https://github.com/elastic/integrations/pull/1491
- version: '0.8.1'
- version: "0.8.1"
changes:
- description: update to ECS 1.11.0
type: enhancement
Expand Down
10 changes: 9 additions & 1 deletion packages/nginx/kibana/ml_module/nginx-Logs-ml.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,15 @@
"field": "http.response.status_code"
}
}
]
],
"must_not": {
"terms": {
"_tier": [
"data_frozen",
"data_cold"
]
}
}
}
},
"jobs": [
Expand Down
2 changes: 1 addition & 1 deletion packages/nginx/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: nginx
title: Nginx
version: 1.2.0
version: 1.2.1
license: basic
description: Collect logs and metrics from Nginx HTTP servers with Elastic Agent.
type: integration
Expand Down

0 comments on commit ee81c87

Please sign in to comment.