Article View: news.software.nntp
Article #90428Re: Generating newsgroup stats
From: Julien ÉLIE
Date: Fri, 16 Jun 2023 15:53
Date: Fri, 16 Jun 2023 15:53
29 lines
2413 bytes
2413 bytes
Hi John, > I'm running an INN server and I'd like to generate stats on 'where the > posts go' -- which groups are getting the most posts in a given day. > > Is this information already collected somewhere and I'm just unaware of > it? Otherwise, it seems that the logs going to /var/log/news/news would > be sufficient if they included the Newsgroups: header instead of just > the Message-ID, but I don't see an option to include that in the logs on > reading the inn.conf man page. This would actually be ideal because I > could then feed the logs into my log analytics tool and get really > detailed. > > Suggestions? This information is indeed not directly logged. Knowing the Message-ID (logged), you may however just run the following command from your script to get the comma-separated list of newsgroups: % grephistory '<86ilbnqufw.fsf@building-m.net>' | sm -H | grep Newsgroups | cut -f2 -d' ' news.software.nntp -- Julien ÉLIE « Si l'on veut qu'une chose soit faite, il y a trois façons de s'y prendre : la faire soi-même, demander à quelqu'un de la faire, ou interdire à ses enfants de la faire. » (Bill Vaughan)
Technical Details
Message-ID:
<u6i0hs$1lqvs$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<86ilbnqufw.fsf@building-m.net>Show Full Headers
Complete Article Headers
Message-ID: <u6i0hs$1lqvs$1@news.trigofacile.com> Subject: Re: Generating newsgroup stats Date: Fri, 16 Jun 2023 17:53:32 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <86ilbnqufw.fsf@building-m.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: Groupes francophones par TrigoFACILE Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 16 Jun 2023 15:53:32 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176.143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="1764348"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Cancel-Lock: sha1:C0/BVCGMYLs6WSYV08TESXMtRN4= sha256:U646R6cR5uZchEFVNcQrORK0Txk0ZUR4HE5KbeQ6QcI= sha1:9MZr7kreX6R7ynQ6lQ0w65/Frsc= sha256:DliTZn+LD37zdfxu/6taD4ZOep5qvHcVNySqUZLDGMc= In-Reply-To: <86ilbnqufw.fsf@building-m.net>