Windows 7
elasticsearch v1.6.0
logstash v1.5.2
kibana v4.1.0
Apache Access Log file (access_log)
Background
I have successfully used logstash to import an Apache Access log with the Grok Fitler "COMBINEDAPACHELOG"
I need help creating a simple visualization. I need to create a pie chart that shows the top 5 browser used (agents) with user friendly names. Showing browser name and version. Google Chrome XX.X, Firefox vXX.X, IE9, IE10, IE11, Safari vXX.X
My pie chart visualization criteria
split slices
metric tab --> slice size --> count
buckets tab
aggregation --> Terms
field --> agent
order --> top
size --> 5
order by --> metric: Count
My pie chart legend shows agent names "mozilla", "nt", "windows", "6.1" "trident". I really want more user friendly browser names and browser versions. I am not sure what browser names and versions correspond with Example Google Chrome vXX.X, Firefox vXX.X, Safari, vXX.X, IE9, IE10.
Question
Can someone help me understand how to create my pie chart visualization?
Here is my logstash configuration file that I used to import data from my Apache Access File to elasticsearch.
input {
file {
path => "c:\websites\elkstack\logs\combinedtuesday"
type => "apache-access"
start_position => "beginning"
}
}
filter {
grok {
match => [ "message", "%{COMBINEDAPACHELOG}" ]
}
date {
locale => "en"
match => [ "timestamp" , "dd/MMM/YYYY:HH:mm:ss Z" ]
}
}
output {
elasticsearch {
host => "localhost"
cluster => "bauer"
index => "cxp"
}
stdout {
codec => rubydebug
}
}