logjoin is a tool for joining two log files (or any kind of CSV output) on a common column and concatenates the result, thus simulating MySQL join command between two files. With the help of parsers like awk it can give useful reports.

Examples:

* Joining two log files by their 4th and 3rd column giving result in result.txt
logjoin -v -o result.txt -j 4=3 leftlog.txt rightlog.txt

* Inner-join of two log files on their first columns
logjoin -i leftlog.txt rightlog.txt > result.txt

* Inner-join of leftlog.txt and rightlog.txt on 2nd and 3rd column and join with thirdlog on 1st and 2nd
cat leftlog.txt | logjoin -i -j 2=3 rightlog.txt | logjoin -j 1=2 thirdlog.txt

It depends on command-line parser library at http://tclap.sourceforge.net/

Project Activity

See All Activity >

License

MIT License

Follow logjoin

logjoin Web Site

Other Useful Business Software
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of logjoin!

Additional Project Details

User Interface

Command-line

Programming Language

C++

Registered

2012-12-05