How to configure the hosts with a different tcp listen port
=========================================================
-
module: mssql
metricsets:- "transaction_log"
- "performance"
hosts: ["sqlserver:user:password@tcp(localhost:51964)"]
period: 10s
2019-05-07T12:40:06.656+0200 ERROR instance/beat.go:802 Exiting: 1 error: 2 errors: could not create connection to db: error doing ping to db: Invalid tcp port '51964)': strconv.ParseUint: parsing "51964)": invalid syntax; could
not create connection to db: error doing ping to db: Invalid tcp port '51964)': strconv.ParseUint: parsing "51964)": invalid syntax
Exiting: 1 error: 2 errors: could not create connection to db: error doing ping to db: Invalid tcp port '51964)': strconv.ParseUint: parsing "51964)": invalid syntax; could not create connection to db: error doing ping to db: Invalid tcp
port '51964)': strconv.ParseUint: parsing "51964)": invalid syntax
PS C:\Program Files\metricbeat>