Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Date format in log files

Reply to Post Add a New Topic
UserPost

12:14 pm
June 29, 2010


grzyb

New Member

posts 1

Hi,

I would like to setup my log format at awstats, but unfortunatelly it's format is: dd-MMM-yyyy – hh-mm

eg.: 01-May-2010 – 00:00

is there any way to configure it to read this date format?

1:48 pm
June 29, 2010


Jean-Luc

Admin

posts 1125

Hi,

You need to process the file through some kind of filter before you pass it to AWStats, as the dates need to be converted in a format that AWStats supports. I would suggest that you convert to dd/mon/yyyy:hh:mm:ss  which should not be too complicated.

In Linux environments, the sed  command can be used for such conversions. You do not need to generate an output file as AWStats supports pipes.

Reply to Post

Reply to Topic:
Date format in log files

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
4 + 7
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
12 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 638
Posts: 2712

Membership:

There are 257 Members
There have been 305 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)