Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
geekpete committed Nov 27, 2019
1 parent ca93f5c commit 49b79f8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 0 additions & 2 deletions metricbeat/docs/modules/mssql.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ The following Metricsets are already included:

`performance` Metricset fetches information from what's commonly known as https://docs.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-os-performance-counters-transact-sql?view=sql-server-2017[Performance Counters] in MSSQL.

[float]
=== Module-specific configuration notes

When configuring the `hosts` option, you can specify native user credentials
Expand All @@ -43,7 +42,6 @@ hosts: ["sqlserver://sa@localhost"]]
To use Active Directory domain credentials, you can separately specify the username and password
using the respective configuration options to allow the domain to be included in the username:

[source,yaml]
----
metricbeat.modules:
- module: mssql
Expand Down
4 changes: 3 additions & 1 deletion x-pack/metricbeat/metricbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,9 @@ metricbeat.modules:
metricsets:
- "transaction_log"
- "performance"
hosts: ["sqlserver://sa@localhost"]
hosts: ["sqlserver://localhost"]
username: domain\username
password: verysecurepassword
period: 10s


Expand Down
4 changes: 3 additions & 1 deletion x-pack/metricbeat/modules.d/mssql.yml.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
metricsets:
- "transaction_log"
- "performance"
hosts: ["sqlserver://sa@localhost"]
hosts: ["sqlserver://localhost"]
username: domain\username
password: verysecurepassword
period: 10s

0 comments on commit 49b79f8

Please sign in to comment.