» Home
AWStats Component
Repository:
Release: http://diva-cloud.org/repo/release/DiVA-awstats/
Development: http://diva-cloud.org/repo/devel/DiVA-awstats/
Arguments:
{
"site":
{
"type" : "array",
"items":
{
"type": "object",
"properties":
{
"name" :{"type": "string", "optional": false, "description": "Name of the site"},
"type" :{"type": "string", "optional": false, "description": "Type of the server to watch"},
"volume":{"type": "string", "optional": false, "description": "Logs volume"},
"file" :{"type": "string", "optional": false, "description": "Filename of the log to watch"}
}
},
"optional" : true,
"description": "List of site to config in awstats"
},
"data": {"type": "string", "optional": true, "description": "Volume to save stats"},
"log" : {"type": "string", "optional": true, "description": "/var/log volume"}
}
Example:
{
"hostname": "DiVA-awstats",
"site" : [
{
'name' : 'DiVA-apache',
'type' : 'W',
'volume': 'log/DiVA-apache/apache2',
'file' : 'access.log'
}
],
"data" : "awstats",
"log" : "log/DiVA-awstats"
}
Service:
Statistics for Apache in DiVA-awstats: http://localhost:5001/awstats/awstats.pl
Statistics for Apache in DiVA-apache : http://localhost:5001/awstats/awstats.pl?config=DiVA-apache
Back up to: Documentation