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

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!

What does your data look like?

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.

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.

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]}"
}
}

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

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

Yes.

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

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