Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7918393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T15:29:32+00:00 2026-06-03T15:29:32+00:00

Do you have any experience logging to NoSQL databases for scalable apps? I have

  • 0

Do you have any experience logging to NoSQL databases for scalable apps? I have done some research on NoSQL databases for logging and found that MongoDB seems to be a good choice. Also, I found log4mongo-net which seems to be a very straightforward option.

Would you recommend this kind of approach? Are there any other suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T15:29:33+00:00Added an answer on June 3, 2026 at 3:29 pm

    I’ve decided to revise this accepted answer as the state of the art has moved significantly in the last 18 months, and much better alternatives exist.

    New Answer

    MongoDB is a sub-par choice for a scalable logging solution. There are the usual reasons for this (write performance under load for example). I’d like to put forward one more, which is that it only solves a single use case in a logging solution.

    A strong logging solution needs to cover at least the following stages:

    • Collection
    • Transport
    • Processing
    • Storage
    • Search
    • Visualisation

    MongoDB as a choice only solves the Storage use case (albeit somewhat poorly). Once the complete chain is analysed, there are more appropriate solutions.

    @KazukiOhta mentions a few options. My preferred end to end solution these days involves:

    • Logstash-Forwarder for Collection & Transport
    • Logstash & Riemann for Processing
    • ElasticSearch for Storage & Queries
    • Kibana3 for Visualisation

    The underlying use of ElasticSearch for log data storage uses the current best of breed NoSQL solution for the logging and searching use case. The fact that Logstash-Forwarder / Logstash / ElasticSearch / Kibana3 are under the umbrella of ElasticSearch makes for an even more compelling argument.

    Since Logstash can also act as a Graphite proxy, a very similar chain can be built for the associated problem of collecting and analysing metrics (not just logs).

    Old Answer

    MongoDB Capped Collections are extremely popular and suitable for logging, with the added bonus of being ‘schema less’, which is usually a semantic fit for logging. Often we only know what we want to log well into a project, or after certain issues have been found in production. Relational databases or strict schemas tend to be difficult to change in these cases, and attempts to make them ‘flexible’ tends just to make them ‘slow’ and difficult to use or understand.

    But if you’d like to manage your logs in the dark and have lasers going and make it look like you’re from space there’s always Graylog2 which uses MongoDB as part of its overall infrastructure but provides a whole lot more on top such as a common, extensible format, a dedicated log collection server, distributed architecture and a funky UI.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Do any have any experience how this cold be done, if you look at
Anyone have any experience yet getting Radiant CMS extensions to actually make it onto
does anybody have any experience writing up a offline data storage & access app
Does anyone have any experience querying FlexLM? (At a minimum) I need to be
Does anyone have any experience using PHP to send an sms via skype I
Does anyone have any experience with the following fluent config error? faultString = An
Does anybody have any experience/ knowledge in installing the aspImage.dll on a 64-bit Windows
Does anyone have any experience with doing mail merge from Java on a word
Does anybody have any experience with TFS no longer letting somebody queue a new
Does anyone have any experience of storing data in JavaScript across all mobile platforms

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.