Splunk Search

How to get a count and percentage for denied connections in cisco web appliance

lmyoung
Engager

I am trying to get the number of denied connections from squid proxy logs from a Cisco Ironport web security appliance.

Using sc_result_code with values:
TCP_DENIED,
TCP_MISS,
TCP_CLIENT_REFRESH_MISS,
TCP_MEM_HIT,
TCP_REFRESH_HIT,
TCP_IMS_HIT,
TCP_HIT

I would like to get a table that shows the tcp_denied value as count and a count% and the other values combined with a count and a count %.

Tags (3)

Ayn
Legend
... | eval sc_type = if(sc_result_code == "TCP_DENIED", "TCP_DENIED", "OTHER") | top sc_type
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...