I have completed basic administration . My question is if we want yo monitor logs in mongo DB then what types of logs can be connected to log stash taking it to kibana ?
It’s only mongo.log any other logs ?
I have completed basic administration . My question is if we want yo monitor logs in mongo DB then what types of logs can be connected to log stash taking it to kibana ?
It’s only mongo.log any other logs ?
Welcome to the MongoDB Community @Kiran_Yadav!
The primary source of MongoDB log information is the configured systemLog.path
file which would be available on mongod
and mongos
instances in your deployment. The log file is generally named after the process by default (mongod.log
or mongos.log
) but you can configure your preferred path and file name.
There is also an optional auditLog
that can be configured for MongoDB Enterprise and Atlas deployments.
For Logstash or Kibana configuration, you should refer to their respective documentation and community resources.
Regards,
Stennie