Skip to content

Commit

Permalink
mssql-doc updated with the list of tables which should have permission (
Browse files Browse the repository at this point in the history
  • Loading branch information
ManojS-shetty authored Feb 1, 2022
1 parent 3ed5763 commit 174ada3
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions metricbeat/docs/modules/mssql.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,21 @@ This is the https://www.microsoft.com/en-us/sql-server/sql-server-2017[Microsoft

The module is being tested with https://hub.docker.com/r/microsoft/mssql-server-linux/[2017 GA] version under Linux

[float]
=== Permission/Access required for tables

1.`transaction_log` :

* sys.databases
* sys.dm_db_log_space_usage
* sys.dm_db_log_stats(DB_ID)

2.`performance` :

* sys.dm_os_performance_counters

If you browse MSDN for above tables, you will find "Permissions" section which defines the permission needed, e.g https://docs.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-db-log-space-usage-transact-sql?view=sql-server-ver15[Permissions]

[float]
=== Metricsets

Expand Down
15 changes: 15 additions & 0 deletions x-pack/metricbeat/module/mssql/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ This is the https://www.microsoft.com/en-us/sql-server/sql-server-2017[Microsoft

The module is being tested with https://hub.docker.com/r/microsoft/mssql-server-linux/[2017 GA] version under Linux

[float]
=== Permission/Access required for tables

1.`transaction_log` :

* sys.databases
* sys.dm_db_log_space_usage
* sys.dm_db_log_stats(DB_ID)

2.`performance` :

* sys.dm_os_performance_counters

If you browse MSDN for above tables, you will find "Permissions" section which defines the permission needed, e.g https://docs.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-db-log-space-usage-transact-sql?view=sql-server-ver15[Permissions]

[float]
=== Metricsets

Expand Down

0 comments on commit 174ada3

Please sign in to comment.