close

Filter

loading table of contents...

Deployment Manual / Version 2207

Table Of Contents

3.7.2 MongoDB Properties

mongodb.client-uri
Type java.lang.String
Default mongodb://localhost:27017
Description

The standard MongoDB connection string URI is used to configure your MongoDB connection, for example, it allows you to configure read preferences and write concerns. The format of a client URI is documented under the following link: http://docs.mongodb.org/manual/reference/connection-string/.

mongodb.host
Type java.lang.String
Default localhost
Description

Set the hostname of the mongoDb server. Only relevant for development purposes.

mongodb.models.create-indexes
Type java.lang.Boolean
Default true
Description

Set to false to skip index creation on startup. This can be useful to speed up initial data import. Make sure to set this true before production use.

mongodb.prefix
Type java.lang.String
Default elastic
Description

Prefix for MongoDB database names. Change this when sharing a MongoDB installation with other Elastic Core applications.

Table 3.35. MongoDb Properties


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.