Skip to content
Merged
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
7 changes: 7 additions & 0 deletions packages/sql_input/agent/input/input.yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@ hosts:
{{#each hosts}}
- {{this}}
{{/each}}
{{#if condition}}
condition: {{ condition }}
{{/if}}
driver: {{driver}}
sql_queries: {{sql_queries}}
raw_data.enabled: true
period: {{period}}
merge_results: {{merge_results}}
data_stream:
dataset: {{data_stream.dataset}}
{{#if processors}}
processors:
{{processors}}
{{/if}}
5 changes: 5 additions & 0 deletions packages/sql_input/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "0.4.0"
changes:
- description: Add `condition` and `processors` settings.
type: enhancement
link: https://github.com/elastic/integrations/pull/6358
- version: "0.3.0"
changes:
- description: Add merge_results feature
Expand Down
17 changes: 16 additions & 1 deletion packages/sql_input/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 2.0.0
name: sql
title: "SQL Input"
version: "0.3.0"
version: "0.4.0"
description: "Collects Metrics by Quering on SQL Databases"
type: input
categories:
Expand Down Expand Up @@ -56,5 +56,20 @@ policy_templates:
show_user: false
default: false
description: Merge results from multiple queries to a single event (restrictions apply)
- name: condition
title: Condition
description: Condition to filter when to apply this datastream. Refer to [Conditions](https://www.elastic.co/guide/en/fleet/current/dynamic-input-configuration.html#conditions) on how to use the available keys in conditions.
type: text
multi: false
required: false
show_user: false
- name: processors
type: yaml
title: Processors
multi: false
required: false
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.
owner:
github: elastic/obs-infraobs-integrations