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
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: "0.4.3"
changes:
- description: Fix field conflict for `winlog.record_id`
type: bugfix
link: https://github.com/elastic/integrations/pull/2894
- version: "0.4.2"
changes:
- description: Fix mapper_parsing_exception when parsing sqlserver.audit.event_time.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
"Classic"
],
"provider_name": "MSSQLSERVER$AUDIT",
"record_id": 17607,
"record_id": "17607",
"user": {
"domain": "NT SERVICE",
"identifier": "S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003",
Expand Down Expand Up @@ -258,7 +258,7 @@
"Classic"
],
"provider_name": "MSSQLSERVER$AUDIT",
"record_id": 26134,
"record_id": "26134",
"user": {
"domain": "NT SERVICE",
"identifier": "S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003",
Expand Down Expand Up @@ -389,7 +389,7 @@
"Classic"
],
"provider_name": "MSSQLSERVER$AUDIT",
"record_id": 27810,
"record_id": "27810",
"user": {
"domain": "NT SERVICE",
"identifier": "S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003",
Expand Down Expand Up @@ -516,7 +516,7 @@
"Classic"
],
"provider_name": "MSSQLSERVER$AUDIT",
"record_id": 28002,
"record_id": "28002",
"user": {
"domain": "NT SERVICE",
"identifier": "S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1229,6 +1229,11 @@ processors:
- set:
field: user.target.id
copy_from: sqlserver.audit.target_server_principal_sid

- convert:
field: winlog.record_id
type: string
ignore_missing: true
##
# Clean up
##
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
The name of the channel from which this record was read. This value is one of the names from the `event_logs` collection in the configuration.

- name: record_id
type: long
type: keyword
required: true
description: >
The record ID of the event log record. The first record written to an event log is record number 1, and other records are numbered sequentially. If the record number reaches the maximum value (2^32^ for the Event Logging API and 2^64^ for the Windows Event Log API), the next record number will be 0.
Expand Down
2 changes: 1 addition & 1 deletion packages/microsoft_sqlserver/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ The SQL Server audit dataset provides events from the configured Windows event l
| winlog.process.thread.id | | long |
| winlog.provider_guid | A globally unique identifier that identifies the provider that logged the event. | keyword |
| winlog.provider_name | The source of the event log record (the application or service that logged the record). | keyword |
| winlog.record_id | The record ID of the event log record. The first record written to an event log is record number 1, and other records are numbered sequentially. If the record number reaches the maximum value (2^32^ for the Event Logging API and 2^64^ for the Windows Event Log API), the next record number will be 0. | long |
| winlog.record_id | The record ID of the event log record. The first record written to an event log is record number 1, and other records are numbered sequentially. If the record number reaches the maximum value (2^32^ for the Event Logging API and 2^64^ for the Windows Event Log API), the next record number will be 0. | keyword |
| winlog.related_activity_id | A globally unique identifier that identifies the activity to which control was transferred to. The related events would then have this identifier as their `activity_id` identifier. | keyword |
| winlog.task | The task defined in the event. Task and opcode are typically used to identify the location in the application from where the event was logged. The category used by the Event Logging API (on pre Windows Vista operating systems) is written to this field. | keyword |
| winlog.user.domain | The domain that the account associated with this event is a member of. | keyword |
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: 0.4.2
version: 0.4.3
license: basic
description: Collect audit events from Microsoft SQL Server with Elastic Agent.
type: integration
Expand Down