All Apps and Add-ons

How to detect TCP Connection time_taken, TCP Connection Refused, and TCP Connection Timed out with Splunk Stream?

haley_swarnapat
Path Finder

I have several questions regarding Splunk Stream for TCP protocol:

  1. How to measure time_taken for TCP Connection establishment between TCP SYN and SYN-ACK using Splunk Stream?
  2. How to detect TCP Connection Refused? How to measure the time_taken for it?
  3. Can we detect TCP Connection Timed Out or when the client decides to cancel the TCP Connection request?

Many thanks before,
Haley

0 Karma
1 Solution

vshcherbakov_sp
Splunk Employee
Splunk Employee

Hello @haley_swarnapati,

1) Stream doesn't specifically calculate handshake time (SYN-ACK time - SYN time)

2) and 3): check for tcp_status filed values as follows: 0 - connection established; 1 - connection refused (with RST); 2 - connection ignored by the server/timed out

View solution in original post

0 Karma

vshcherbakov_sp
Splunk Employee
Splunk Employee

Hello @haley_swarnapati,

1) Stream doesn't specifically calculate handshake time (SYN-ACK time - SYN time)

2) and 3): check for tcp_status filed values as follows: 0 - connection established; 1 - connection refused (with RST); 2 - connection ignored by the server/timed out

0 Karma

haley_swarnapat
Path Finder

Thanks for your answer!

Btw, is there any roadmap to measure the handshake time?

We are facing firewall performance issue here, that sometimes it takes around 1000 milliseconds just to create a new tcp connection. The problem is we need to show evidence how often does it occur, how long, and when precisely?

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...