Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

logmerge

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logmerge

  • 1.0.3
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

= logmerge

Logmerge is hosted on RubyGems.org starting with version 1.0.1

http://rubygems.org/gems/logmerge

(Original) Rubyforge Project:

http://rubyforge.org/projects/rctools/

== About

Logmerge contains two utilities logmerge and ip2name. logmerge merges Apache access logs into one log ordered by date. ip2name performs DNS lookups on Apache access logs using multiple threads and Ruby's DNS resolver library to speed through log files.

== Using logmerge

Simply pass in all the logs you want to merge on the command line. logmerge gives you the merged log on STDOUT.

logmerge hal/access.log nestor/access.log herbie/access.log > merged.log

Note that logmerge expects the input log files to be ordered by date.

== Using ip2name

Simply pass in the log files you want to perform DNS lookups on the command line or via STDIN. ip2name gives you the looked-up log lines on STDOUT.

ip2name < merged.log > resolved.log

ip2name merged.log > resolved.log

In order to speed DNS lookups, ip2name creates a .name_cache file in the current directory. ip2name uses double the DNS record TTL value so rapidly-changing names may not be correctly resolved.

FAQs

Package last updated on 02 Jun 2010

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc