patterns from logs and activities

hi,
i need help writing shell scripts to define patterns of user activities on our apache.
i thought about going through logfiles and other places where user activities are stored and use that data to define patterns of action. i want these patterns to be visualized then.
now my question...does anybody of you know how to define patterns, where to look for data and how to get that into a shell script...
im pretty new to this...
i hope somebody can help me
thanks
rckt

if by defineing patterns you mean finding out which webpages a user accesses and when, that should be loged in the access_log for your apache server.

i suppose you would have to do a couple of things.

1) find all entries for x user in the log.
2) group entries
3) define a format to display the results via webpage.

i think apache has built in reporting capabilities.

but if you mean pattern matching as in regular expresstions, thats not to difficult.

Are you just looking for some kind of trend analysis tool? There are many canned opensource projects out there. One that I've used quite a bit is Webalizer. You can find it at http://www.mrunix.net/webalizer/

Cheers,

Keith

sorry for the delay,
i already found what i was looking for... i was looking to visualize bahvioral patterns of users, its more an art project than useful it-stuff...
but anyway, i appreciate your help very much,
thank you very much!
rocket