Skip to content

micsosoft_sqlserver: allow text encoding configuration #4554

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 7, 2022
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
5 changes: 5 additions & 0 deletions packages/microsoft_sqlserver/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.7.0"
changes:
- description: Allow text encoding configuration.
type: enhancement
link: https://github.com/elastic/integrations/pull/4554
- version: "1.6.0"
changes:
- description: Update package to ECS 8.5.0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ multiline:
pattern: '^\d{4}-\d{2}-\d{2}'
negate: true
match: after
{{#if encoding}}
encoding: {{encoding}}
{{/if}}
{{#if processors}}
processors:
{{processors}}
Expand Down
7 changes: 7 additions & 0 deletions packages/microsoft_sqlserver/data_stream/log/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ streams:
show_user: true
default:
- /var/opt/mssql/log/error*
- name: encoding
description: The file encoding to use for reading data that contains international characters. Valid encoding names are listed [here](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-log.html#_encoding_3).
type: text
title: Encoding
multi: false
required: false
show_user: false
- name: tags
type: text
title: Tags
Expand Down
2 changes: 1 addition & 1 deletion packages/microsoft_sqlserver/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: microsoft_sqlserver
title: "Microsoft SQL Server"
version: "1.6.0"
version: "1.7.0"
license: basic
description: Collect events from Microsoft SQL Server with Elastic Agent
type: integration
Expand Down