Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

211
Views
Cómo almacenar registros en MongoDB

Estoy usando el recopilador de datos Fluentd para almacenar registros httpd de Apache en MongoDB. Hice los cambios necesarios en los archivos de configuración de td-agent como:

 <source> @type tail format apache2 path C:\Program Files (x86)\Apache Group\Apache2\logs\access.log tag mongo.apache </source>

y

 <match mongo.**> # plugin type @type mongo # mongodb db + collection database apache collection access # mongodb host + port host localhost port 27017 # interval flush_interval 10s # make sure to include the time key include_time_key true </match>

Después de hacer todos los cambios necesarios, probé las configuraciones haciendo ping al servidor Apache

 ab -n 100 -c 10 http://localhost/

Todo funciona bien, pero los archivos de registro no se almacenaron en MongoDB.

Hice esto en Windows.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!