Okay: I'm using filters [1]. I get, in a basic way, how to create visualizations. What I'm struggling with, now, is how to turn this list into visualizations.
- Total Visits Total
- Unique Visits
- Total Page Views
- Total Hits
- Unique Page Views
- Average Visitor Stay Length
Actually I have the Totals - those turn out to be reasonable. I don't have a ready way to calculate Page Views and Visitor Stay Length. Any help is appreciated.
[1] Like so
filter {
grok {
match => { "message" => "%{COMBINEDAPACHELOG}" }
}
geoip {
source => "clientip"
target => "geoip"
database => "/etc/logstash/GeoLiteCity.dat"
add_field => [ "[geoip][coordinates]", "%{[geoip][longitude]}" ]
add_field => [ "[geoip][coordinates]", "%{[geoip][latitude]}" ]
}
mutate {
convert => [ "[geoip][coordinates]", "float"]
}
if [clientip] in ["10.1.88.11", "10.1.88.12", "10.1.88.13", "10.1.88.14", "10.1.88.15", "10.1.88.16", "10.1.42.117", "10.1.42.118", "10.1.42.119", "10.1.88.21", "10.1.88.22", "10.1.88.23", "10.1.88.24", "10.1.88.25", "10.1.88.26", "10.1.42.127", "10.1.42.128", "10.1.42.129"] {
drop {}
}
}