LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-24-2011, 08:02 AM   #1
aliahsan81
LQ Newbie
 
Registered: Sep 2008
Posts: 22

Rep: Reputation: 0
Question Regarding Awstats


Hi All,


Awstats is grate,I need some thing from awstat i try to explain it.


We have a API that is called by external client/users, In awsata under pages viewed Or Pages-URL. I can only see /api/ has 109 hits.
Is this possible awstats can show complete api url like this

/api/?username=ali&v1v=1&action=xxx


Code:
175.110.20.191 www.xxxxx.com - [24/Jul/2011:17:49:20 +0500] "GET /api/?username=ali&v1v=1&action=xxx HTTP/1.1" 200 494 "-" "Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0"
 
Old 07-24-2011, 09:40 AM   #2
ne pas
Member
 
Registered: Jul 2008
Posts: 55

Rep: Reputation: 23
The URLWithQuery configuration directive activates this feature (keeping the URL query string intact).
You should also set URLWithQueryWithOnlyFollowingParameters so only specific parameter names are taken into account.

Code:
## awstats.api.conf

## use query string for stats
URLWithQuery=1

## group only by username
URLWithQueryWithOnlyFollowingParameters="username"

## or uncomment following line for grouping by username AND action
#URLWithQueryWithOnlyFollowingParameters="username"
Cheers, Chris
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Awstats blackcaps Linux - Software 1 03-29-2010 02:45 AM
Awstats question razzera Linux - Server 1 03-28-2010 02:55 PM
quick question with awstats and my log file of 270MB bangsters Linux - Server 17 03-12-2010 01:37 PM
awstats and apache configuration question mcostello1 Linux - Software 1 10-07-2004 06:45 PM
Awstats question tommytomato Linux - Software 0 09-24-2004 07:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration