zsh-users
 help / color / mirror / code / Atom feed
* Parse apache error_log
@ 2015-05-01 15:41 zzapper
  2015-05-01 17:33 ` Bart Schaefer
  2015-05-01 21:03 ` Peter Stephenson
  0 siblings, 2 replies; 4+ messages in thread
From: zzapper @ 2015-05-01 15:41 UTC (permalink / raw)
  To: zsh-users

Hi
Don't know if this is a job for zsh or sed etc

Format:-
[Fri May 01 16:25:05 2015] [error] [client 172.18.158.61] PHP Parse error:  
syntax error, unexpected T_VARIABLE 

I want to grab the date-time of the last entry and then display all the 
entries with the same date-time.

This means I get all the entries associated with one bug

ideas?

-- 
zzapper
https://twitter.com/dailyzshtip

---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-01 21:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-01 15:41 Parse apache error_log zzapper
2015-05-01 17:33 ` Bart Schaefer
2015-05-01 21:03 ` Peter Stephenson
2015-05-01 21:50   ` zzapper

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).