Reputation: 445
I have a query to get the browser info for every event.
"http://" index=web GET (Chrome OR Safari OR IE OR Firefox)
How can I convert the result to a line chart to get browser usage based on different browsers? I can create line chart for each browser but I want to show the usage on the same chart.
Upvotes: 1
Views: 34
Reputation: 1031
The browser should be a Field
(check your log body to find field name).
If this is a case you need to pipe a stats count statement, for example :
"http://" AND index=web | stats count by `browser`
(we assume that Field name is browser
)
Visualization will give you the chart view.
Upvotes: 1