Saratov Linux User Group
 help / color / mirror / Atom feed
* [Sarlug] MySQL + regexp ??? кто поможет
@ 2003-10-17 19:59 "Alexey Tsarev" 
  2003-10-17 21:37 ` taras
  2003-10-18  4:20 ` Sergey Mihailov
  0 siblings, 2 replies; 3+ messages in thread
From: "Alexey Tsarev"  @ 2003-10-17 19:59 UTC (permalink / raw)
  To: sarlug

И так объясню ситуацию:

есть логи сквида типа: http://yandex.ru/search?lang=rus&page=20  (просто для примера)
 
Есть куча URL`ов. Они все заносятся в MySQL базу. Вот хотелось бы такой запрос сделать, чтобы посмотреть куда пользователи лазили за прошедший день (как вариант), типа:

www.googlre.ru
www.yandex.ru
metlall.tu
metallservice.ru

(это просто пример)

Просто по хостам сделать статистику. regexp способен на это?

P.S.: Хотя я уже придумал решение - делать ещё одно поле в БД hosts, с которым всё будет легко работать...
Есть идеи?
---
E-mail: djapex@mail.ru
ICQ: 5505687



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

end of thread, other threads:[~2003-10-18  4:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-17 19:59 [Sarlug] MySQL + regexp ??? кто поможет "Alexey Tsarev" 
2003-10-17 21:37 ` taras
2003-10-18  4:20 ` Sergey Mihailov

Saratov Linux User Group

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sarlug/0 sarlug/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sarlug sarlug/ http://lore.altlinux.org/sarlug \
		sarlug@lists.lug.ru sarlug@lug.ru
	public-inbox-index sarlug

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sarlug


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git