Refine your search:

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 %.

asked 11 Apr '12, 08:32

lmyoung's gravatar image

lmyoung
21
accept rate: 0%


One Answer:
... | eval sc_type = if(sc_result_code == "TCP_DENIED", "TCP_DENIED", "OTHER") | top sc_type
link

answered 11 Apr '12, 08:41

Ayn's gravatar image

Ayn
25.2k3717
accept rate: 41%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×266
×137
×125

Asked: 11 Apr '12, 08:32

Seen: 667 times

Last updated: 11 Apr '12, 08:41

Copyright © 2005-2012 Splunk Inc. All rights reserved.