LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-04-2015, 03:48 PM   #1
kb2tfa
Member
 
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, 10:18 PM   #2
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 342

Rep: Reputation: 59
Have a look over here Ron :

http://www.server-world.info/en/note...7&p=httpd&f=15
 
Old 04-04-2015, 10:39 PM   #3
dijetlo
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
sort
awk
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.
  


Reply

Tags
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 08:29 PM
CentOS Server questions (long read) malak33 Linux - Server 5 05-08-2012 09:08 PM
How to read individual logs from Linux server into another log file indra4647 Linux - Newbie 2 06-01-2011 10:51 PM
CentOS 5.5 is rebooting frequently without any logs on the server cvhbsk Linux - General 2 02-05-2011 12:20 AM
Monitor server : snmp read from logs parsed possible ? ash08 Linux - Server 1 07-22-2009 03:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:38 PM.

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