Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

104
Vistas
Mongodb list previous queries

Is it possible to find a list of previous actions towards Mongodb?

I have a Mongodb on a linux server and some suspicious queries might've been executed, is there any way to show list of previous queries?

I called these two methods:

db.getProfilingStatus()
db.getProfilingLevel()

Output:

{ "was" : 0, "slowms" : 100 }

0

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

MongoDB does not log any database operations by default.

In order to log every operations done by the service you have to either
Set profiling level in the config file and restart service

operationProfiling:
   mode: all

or run the following command in the database instance (does not persist after service restart)

db.setProfilingLevel(2)

Note that this is for development porpuses only cuz this will slows down your database service.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda