I have a problem with the results given by awstats with FMS 2 Logs, they are very exaggerated (17 To for 400 Go in real).
Looking to logs user, sessionid, stream path, and sc-stream-bytes are repeated many times for a single stream.
Dis someone has successfully parsed FMS logs with awstats?
Can you help me ? :)
Thanks for help
I forgot Hi all :)
First thing I would try is piping awk output to uniq, assuming that you want to count each sessionid just once.
Take a look here: http://www.tek-tips.com/viewthread.cfm?qid=1242483&page=1 for starters.
>> First thing I would try is piping awk output to uniq, assuming that you want to count each sessionid just once.
>> Take a look here: http://www.tek-tips.com/viewthread.cfm?qid=1242483&page=1 for starters.
I have already tried this method, the amount of data transferred was correct but this corrupts the hit count because client can ask many streams by session and sessionid. :(
That's why I was looking for an existing plugin or something else.
Without knowing exactly what you tried, and seeing an example of the logs, it is hard to suggest a complete solution. It seems to me that awstats, run as usual on the raw log, would give the correct data transfer, but greatly exaggerate the hit count, as you initially stated.
But what I had in mind was sorting by sessionid, and removing the duplicates. That would give an accurate count of hits, though it would corrupt the data transfer amount. That output could then be massaged, as necessary, to approximate the correct data transfer.
Any luck? I am also desperately looking for same. Thanks for help.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.