HOW to Create Pie visualized Browser name w/ version, Device and OS used

(Mr.M) #1

Hi Guys,

Is there a way to create pie visualization that display, Browser name w/ version, Device and OS used?

Can help me how please. Thanks!

(Christian Dahlqvist) #2

What does your data look like?

(Mr.M) #3

Hi @Christian_Dahlqvist,

My data is from "agent" field. But, I don't know how can I segregate the data to have Browser name, Browser version, Device, OS name and OS version that I can use to create pie chart.

Please see attached screenshot.

(Christian Dahlqvist) #4

That is usually added at indexing time through either the user agent ingest pipeline processor or the Logstash useragent filter. How did you ingest this data?

If you have not done that with your data, you should be able to use the reindex API together with an ingest pipeline to do this.

(Mr.M) #5

I'm using logstash 6.4, please see below my pipe.conf

input {
beats {
port => "5044"
filter {
grok {
match => { "message" => "%{COMBINEDAPACHELOG}"}
geoip {
source => "clientip"


output {
elasticsearch {
hosts => [ "localhost:9200" ]
manage_template => false
index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
document_type => "%{[@metadata][type]}"

(Christian Dahlqvist) #6

Then you need to also add the useragent filter I linked to.

(Mr.M) #7

Ah I see, I need to add another filter block for useragent?

(Christian Dahlqvist) #8


(Mr.M) #9

Okay, I'll check with the link above you provided then. Thanks!

(system) #10

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.