Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-04-2015, 04:48 PM   #1
Registered: Oct 2006
Location: New Jersey
Distribution: CentOS
Posts: 175

Rep: Reputation: 18
Post How to read server logs on centos 7?

Anyone have a recommendation on what software or method to read server logs? I installed awstats and pimpmylog, but I can't get them setup. The configuration is where I hit the wall. Maybe I just need some down time to think. I would even settle for a command line reader. Now I look at them via the cat or less commands and it's a mess. I have a centos 7.
Old 04-04-2015, 11:18 PM   #2
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 342

Rep: Reputation: 59
Have a look over here Ron :
Old 04-04-2015, 11:39 PM   #3
Senior Member
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
You don't give any particular details about which logs you want to analyze or what you're specifically looking for however, a basic understanding of just 4 cli commands will let you quickly, reliably and flexibly handle almost any log file you might desire.

grep | egrep
head | tail | tail -f

I'm sure others can contribute more of their favorite cli hacks however I spend most of my time working with some variation of these four. A basic understanding of them and the structure of the data you're working with will make log analysis a snap (most of the time).
1 members found this post helpful.


centos7, log files

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 6 Server crashes, possibly due to Filesystem going Read-only (err 30) TeSoLubuntu Linux - Server 1 04-09-2013 09:29 PM
CentOS Server questions (long read) malak33 Linux - Server 5 05-08-2012 10:08 PM
How to read individual logs from Linux server into another log file indra4647 Linux - Newbie 2 06-01-2011 11:51 PM
CentOS 5.5 is rebooting frequently without any logs on the server cvhbsk Linux - General 2 02-05-2011 01:20 AM
Monitor server : snmp read from logs parsed possible ? ash08 Linux - Server 1 07-22-2009 04:21 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration