Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/nginx/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "2.4.0"
changes:
- description: Add custom configuration support for stubstatus data stream.
type: enhancement
link: https://github.com/elastic/integrations/pull/12865
- version: "2.3.2"
changes:
- description: Remove unused agent files.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ server_status_path: {{server_status_path}}
processors:
{{processors}}
{{/if}}
{{#if condition}}
condition: {{ condition }}
{{/if}}
10 changes: 10 additions & 0 deletions packages/nginx/data_stream/stubstatus/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ streams:
show_user: false
description: >
Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the events are shipped. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details.
- name: condition
title: Condition
type: text
multi: false
required: false
show_user: false
description: >
Condition to filter when to apply this datastream
Example: "${kubernetes.labels.app} == 'ingress-nginx'"
Now you can use http://${kubernetes.pod.ip} as hosts
title: Nginx stub status metrics
description: Collect Nginx stub status metrics
elasticsearch:
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: "3.0.2"
name: nginx
title: Nginx
version: "2.3.2"
version: "2.4.0"
description: Collect logs and metrics from Nginx HTTP servers with Elastic Agent.
type: integration
categories:
Expand Down