-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Metricbeat][MSSQL] Docs clarifications for credentials and permissions #13006
Comments
You could also use:
|
cf. #12267 |
Hi, I was investigating permissions and you need next privileges: use master and public permision for all user database on server you can run this script or manuel exec this for all database create user [databaseuser] for login [databaseuser]; SELECT @Statement = 'use '+@dbname +';'+ 'CREATE USER [databaseuser] exec sp_executesql @Statement FETCH NEXT FROM db_cursor INTO @dbname This mssql module work on MSSQL 2017 in previous version some part is not working (sys.dm_db_log_stats not exist in prev version) Best regards; |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Docs enhancement requests for the MSSQL module.
The default connection string in mssql.yml is
hosts: ["sqlserver://sa@localhost"]
The module's documentation could clarify that credentials can be passed along in the form of
sqlserver://adminusername:adminpassword@hostname
It would be useful to provide some SQL-side recommendations for the minimal permissions required for the configured database user to query the endpoints necessary for extracting the metricsets.
The text was updated successfully, but these errors were encountered: