fix (inputs/mongodb) readme: correct connection URI (#10075)
This commit is contained in:
parent
279fc8352c
commit
62a05b2372
|
|
@ -11,7 +11,7 @@ All MongoDB server versions from 2.6 and higher are supported.
|
|||
## For example:
|
||||
## mongodb://user:auth_key@10.10.3.30:27017,
|
||||
## mongodb://10.10.3.33:18832,
|
||||
servers = ["mongodb://127.0.0.1:27017"]
|
||||
servers = ["mongodb://127.0.0.1:27017?connect=direct"]
|
||||
|
||||
## When true, collect cluster status.
|
||||
## Note that the query that counts jumbo chunks triggers a COLLSCAN, which
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ var sampleConfig = `
|
|||
## For example:
|
||||
## mongodb://user:auth_key@10.10.3.30:27017,
|
||||
## mongodb://10.10.3.33:18832,
|
||||
servers = ["mongodb://127.0.0.1:27017"]
|
||||
servers = ["mongodb://127.0.0.1:27017?connect=direct"]
|
||||
|
||||
## When true, collect cluster status
|
||||
## Note that the query that counts jumbo chunks triggers a COLLSCAN, which
|
||||
|
|
|
|||
Loading…
Reference in New Issue