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/mysql/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: 1.26.0
changes:
- description: Add ability to set condition for logs and metrics.
type: enhancement
link: https://github.com/elastic/integrations/pull/9704
- version: 1.25.0
changes:
- description: Add `schemaname` field in the performance data stream.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ processors:
- add_locale: ~
{{#if processors}}
{{processors}}
{{/if}}
{{/if}}
{{#if condition}}
condition: {{ condition }}
{{/if}}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ raw: {{raw}}
{{#if username}}
username: {{username}}
{{/if}}
{{#if condition}}
condition: {{ condition }}
{{/if}}
{{#if ssl}}
{{ssl}}
{{/if}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ raw: {{raw}}
{{#if username}}
username: {{username}}
{{/if}}
{{#if condition}}
condition: {{ condition }}
{{/if}}
{{#if ssl}}
{{ssl}}
{{/if}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ processors:
- add_locale: ~
{{#if processors}}
{{processors}}
{{/if}}
{{/if}}
{{#if condition}}
condition: {{ condition }}
{{/if}}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ raw: {{raw}}
{{#if username}}
username: {{username}}
{{/if}}
{{#if condition}}
condition: {{ condition }}
{{/if}}
{{#if ssl}}
{{ssl}}
{{/if}}
Expand Down
17 changes: 16 additions & 1 deletion packages/mysql/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: "3.0.2"
name: mysql
title: MySQL
version: "1.25.0"
version: "1.26.0"
description: Collect logs and metrics from MySQL servers with Elastic Agent.
type: integration
categories:
Expand Down Expand Up @@ -38,6 +38,14 @@ policy_templates:
- type: logfile
title: Collect logs from MySQL hosts
description: Collecting MySQL error and slowlog logs
vars:
- name: condition
title: Condition
description: Condition to filter when to collect this input. See [Dynamic Input Configuration](https://www.elastic.co/guide/en/fleet/current/dynamic-input-configuration.html) for details.
type: text
multi: false
required: false
show_user: false
- type: mysql/metrics
title: Collect metrics from MySQL hosts
description: Collecting MySQL status and galera_status metrics
Expand All @@ -59,6 +67,13 @@ policy_templates:
title: Password
secret: true
default: test
- name: condition
title: Condition
description: Condition to filter when to collect this input. See [Dynamic Input Configuration](https://www.elastic.co/guide/en/fleet/current/dynamic-input-configuration.html) for details.
type: text
multi: false
required: false
show_user: false
- name: ssl
type: yaml
title: SSL Configuration
Expand Down