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

  • SEARCH
  • Home
  • 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 6627301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:59:49+00:00 2026-05-25T21:59:49+00:00

Requirements We have several servers (20-50) – Solaris 10 and Linux (SLES) – running

  • 0

Requirements

We have several servers (20-50) – Solaris 10 and Linux (SLES) – running a mix of different applications, each generating a bunch of log events into textfiles. We need to capture these to a separate monitoring box, where we can do analysis/reporting/alerts.

Current Approach

Currently, we use SSH with a remote “tail -f” to stream the logfiles from the servers onto the monitoring box. However, this is somewhat brittle.

New Approach

I’d like to replace this with RabbitMQ. The servers would publish their log events into this, and each monitoring script/app could then subscribe to the appropriate queue.

Ideally, we’d like the applications themselves to dump events directly into the RabbitMQ queue.

However, assuming that’s not an option in the short term (we may not have source for all the apps), we need a way to basically “tail -f” the logfiles from disk. I’m most comfortable in Python, so I was looking at a Pythonic way of doing that – the consensus seems to be to just use a loop with readline() and sleep() to emulate “tail -f”.

Questions

  1. Is there an easier way of “tail -f” a whole bunch of textfiles directly onto a RabbitMQ stream? Something inbuilt, or an extension we could leverage on? Any other tips/advice here?

  2. If we do write a Python wrapper to capture all the logfiles and publish them – I’d ideally like a single Python script to concurrently handle all the logfiles, rather than manually spinning up a separate instance for each logfile. How should we tackle this? Are there considerations in terms of performance, CPU usage, throughput, concurrency etc.?

  3. We need to subscribe to the queues, and then possibly dump the events back to disk and reconstruct the original logfiles. Any tips/advice on this? And we’d also like a single Python script we could startup to handle reconstructing all of the logfiles – rather than 50 separate instances of the same script – is that easily achievable?

Cheers,
Victor

PS: We did have a look at Facebook’s Scribe, as well as Flume, and both seem a little heavyweight for our needs.

  • 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-05-25T21:59:50+00:00Added an answer on May 25, 2026 at 9:59 pm

    You seem to be describing centralized syslog with rabbitmq as the transport.

    If you could live with syslog, take a look at syslog-ng. Otherwise, you might
    save some time by using parts of logstash ( http://logstash.net/ ).

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

Sidebar

Related Questions

The Problem I have a big infrastructure consisting of several kinds of servers running
I have several different sites running off WordPress, and the URLs tend to get
Requirements : I have a table of several thousand questions. Users can view these
Problem: Without going into requirements I have clients applications on iPhone and Android which
I have the requirement to search several different tables in my SQL Server database.
I am building a web application that have several requirements for the client: 1.
I have to create WCF servers farm (several workstations in Intranet environment that host
I have the following requirements I have relational content stored in a SQL Server
I have requirements to establish a CMS system for enterprise and it has to
Can someone recommend a hosted solution that answers the following requirements (I have seen

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.