Splunk Search

How to create stacked bar chart for http/https?

jrich523
Path Finder

is it possible to do a stacked bar chart where it splits it in two to show how much is https requests and how much is http requests?

Tags (2)
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

You must make sure you have an extraction on your data to differentiate the two, but you would simply do:

sourcetype=whatever | chart count by ssl_type

where ssl_type might be the field that contains, say, the inbound port number or a search-time extraction of the incoming URL request, assuming that is logged.

View solution in original post

BunnyHop
Contributor

Try this search:

sourcetype=whatever | chart count(ssl_type) over protocol by ssl_type

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

You must make sure you have an extraction on your data to differentiate the two, but you would simply do:

sourcetype=whatever | chart count by ssl_type

where ssl_type might be the field that contains, say, the inbound port number or a search-time extraction of the incoming URL request, assuming that is logged.

Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...