thiago_th
(usa Red Hat)
Enviado em 25/07/2012 - 10:54h
Bom dia! Desculpa pela demora.
O meu arquivo sarg.conf está da seguinte maneira:
----------------------------------------------------------
language English
access_log /var/log/squid/access.log
title "Relatorio Diario"
#### INICIO FORMATAÇO ####
font_face Arial
header_color black
header_bgcolor blanchedalmond
header_font_size -2
background_color white
text_color black
text_bgcolor white
title_color black
##### FIM FORMATAÇO #########
user_ip no
usertab /usr/local/sarg/sarg.usertab
temporary_dir /tmp
output_dir /srv/www/htdocs/relatorios
topuser_sort_field BYTES reverse
user_sort_field BYTES reverse
exclude_users /usr/local/sarg/exclude.users
exclude_hosts /usr/local/sarg/exclude.hosts
date_format e
lastlog 31
remove_temp_files yes
index yes
overwrite_report yes
records_without_userid ignore
use_comma no
topsites_num 100
topsites_sort_order BYTES D
exclude_codes /usr/local/sarg/exclude_codes
max_elapsed 28800000
report_typie topsites users_sites sites_users date_time denied auth_failures site_user_time_date
long_url no
exclude_string /usr/local/sarg/exclude.strings
show_successful_message no
topuser_fields NUM DATE_TIME USERID CONNECT BYTES %BYTES IN-CACHE-OUT USED_TIME MILISEC %TIME TOTAL AVERAGE