Astaro User Bulletin Board
Go Back   Astaro User Bulletin Board > Astaro Gateway Products > Management, Networking, Logging and Reporting

Welcome to the Astaro User Bulletin Board.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

View Poll Results: What's your favorite way to parse log files?
Via Webadmin 9 60.00%
Download and view in 3rd party app. 3 20.00%
Through any regular test editor 0 0%
Commandline on ASG 1 6.67%
Other 2 13.33%
Voters: 15. You may not vote on this poll

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-05-2009, 05:48 PM
Junior Member
 
Join Date: Feb 2009
Location: I live in NH, a great place
Posts: 11
Question How do you look at log files?

Hi Everbody,

I have used several techniques for looking at log information. I am wondering which is the most common. If you use a specific app, or technique through command line, post it here! It may help a fellow Astaro User in the future.

My personal favorite (at the moment) is commandline with cat/tail/less/grep/awk commands in all sorts of permutations. I have become close to awk lately.

If I use a GUI tool, I like notepad++. Not only can it parse for a word or phrase in all documents that are currently open, but you can view two log entries side by side, etc...
Reply With Quote
  #2 (permalink)  
Old 05-05-2009, 07:19 PM
BAlfson's Avatar
Moderator
 
Join Date: Mar 2007
Location: Oklahoma City
Posts: 5,290
Default

Tim, because of the structure of individual files and directories, it's easier to do searches on the box itself. Since I'm not that adept with linux, I just use the WebAdmin search capability.

I do wish there were an easy way to import them into Excel - is there a name for the file format that might allow one to find a converter?

Cheers - Bob
__________________
ACE V7 - Astaro Preferred Partner since V3
Addicted to my iPhone!
Reply With Quote
  #3 (permalink)  
Old 05-06-2009, 06:44 AM
Senior Member
 
Join Date: Jun 2004
Location: Germany
Posts: 157
Default

WebAdmin is too slow.
I have a Windows-PC with KIWI Syslog Deamon installed. I'm sending the most important logs via syslog to that PC. Then I use scripts to filter the logs. Well, I only have a few very basic scripts so far. I'm still working on it.
__________________
2 ASG-110-devices with ASG 7.306, 1 ASG-220-device, 2 Standard-PCs and 1 Dell PowerEdge 750 running ASG 7.500 * Licenses for 2030 Users + 1 unlimited License.
Reply With Quote
  #4 (permalink)  
Old 05-06-2009, 09:03 AM
Junior Member
 
Join Date: Jun 2005
Posts: 8
Default

Splunk!

http://www.splunk.com/

It's a syslog server and reporting tool in one. The web interface is intuitive and easy to use, and at the same time the search syntax is extremely powerfull. You will never need any commandline tools (grep,awk) again.

The free version can index 500 MB of log data per day.

// Andreas

Last edited by cyberknutte; 05-06-2009 at 09:07 AM.
Reply With Quote
  #5 (permalink)  
Old 05-06-2009, 01:58 PM
BAlfson's Avatar
Moderator
 
Join Date: Mar 2007
Location: Oklahoma City
Posts: 5,290
Default

I tried splunk and decided against it. 500MB is too small, and I'd rather not have any of my clients' information uploaded to a third-party service. Plus, the blasted thing decided it was allowed to load every time I rebooted, so I removed it.

I know there are some smart people who really like it; it's just not my "color" I guess.

Cheers - Bob
__________________
ACE V7 - Astaro Preferred Partner since V3
Addicted to my iPhone!
Reply With Quote
  #6 (permalink)  
Old 05-07-2009, 02:32 AM
Moderator
 
Join Date: Jul 2001
Location: southern California
Posts: 5,111
Default

Bob,

re Splunk: I don't know of any completely free alternatives, but I do know that loading logs into databases isn't _too_ hard; it depends what you want to do with the data.

Some of the free NMS systems like ZenOSS, Zabbix, OpenNMS, etc. have some syslog support, but I'm not sure that they're good for storing LOTs of log data.
see Comparison of network monitoring systems - Wikipedia, the free encyclopedia for a list.

re Excel: logs are usually space-delimited; open in Excel, and if they're all in one column, click that column, click on Data, Text-to-Columns, ...

A lot can be done with Perl, or sed/awk, ...

grep --color is nice, btw.

Barry
__________________
http://DealBert.net
Home & business end-user since v1.x
  • ASL 6.3x, HP DL145 Dual Opteron, 1GB RAM, 6 gigE NICs, 50-IP Platinum License
  • ASL 7.3x, Dell PE1550 Dual PIII 1GHz, 1GB RAM, 2 NICs, 50-IP Platinum License
  • ASL 7.5x, 17-watt fanless mini-ITX system: MSI IM-945GSE-A Atom n270, 2GB RAM, Morex T3310 case. 2 Intel GigE, 3 VLANs. 80G 5200rpm 2.5" HD
    Netgear GS108T gigE VLAN switch & Linksys WRT54G WAP
    Total network infrastructure: 27 watts. 100-IP Home User. FiOS 10mb/2mb
Reply With Quote
  #7 (permalink)  
Old 06-30-2009, 05:19 PM
Junior Member
 
Join Date: Jun 2009
Posts: 1
Default Parsing, extracting and reporting on log files with biterscripting

We often use biterscripting for customized processing of log files. This is in addition to other 'packages' we use. biterscirping is just a scripting language which makes parsing, extracting and composing rather easy. Being a system admin, I like that ability.

There is a good script posted at http://www.biterscripting.com/SS_WebLogParser.html . It is a sample script written in biterscripting. You can start with it. To try,

1. Download biterscripting. It is free.
2. Start biterscripting. Enter the following command (this installs all the sample scripts they provide).

script "http://www.biterscripting.com/Download/SS_AllSamples.txt"

3. Call the WebLogParser script with the following command.

script SS_WebLogParser.txt logfile("C:\somfolder\somelogfile")


One good thing about biterscripting is that is is fairly easy to learn. I have also seen tutorials some place.


Patrick
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:40 PM.

 

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.


These pages are specifically maintained for the discussion of firewall issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases. issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases.