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?
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
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?
John
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 69:26:34 |
Calls: | 6,712 |
Files: | 12,244 |
Messages: | 5,356,702 |