# How to judge whether a TCP connection is successful

**URL:** <https://discuss.elastic.co/t/how-to-judge-whether-a-tcp-connection-is-successful/280156>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [August 1, 2021, 2:17pm UTC](https://discuss.elastic.co/t/how-to-judge-whether-a-tcp-connection-is-successful/280156 "2021-08-01T14:17:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chinaxushi](https://avatars.discourse-cdn.com/v4/letter/c/51bf81/32.png) [@chinaxushi](https://discuss.elastic.co/u/chinaxushi)\
**Post date:** [August 1, 2021, 2:17pm UTC](https://discuss.elastic.co/t/how-to-judge-whether-a-tcp-connection-is-successful/280156/1 "2021-08-01T14:17:24Z")

</div>

When I enabled packetbeat FLOW  
How to judge whether the connection to the port succeeds or fails from the data returned by packetbeat  
I compared the successful and unsuccessful two returned data, as if there was no difference

---

<div class="post-metadata">

**Author:** ![chinaxushi](https://avatars.discourse-cdn.com/v4/letter/c/51bf81/32.png) [@chinaxushi](https://discuss.elastic.co/u/chinaxushi)\
**Post date:** [August 1, 2021, 2:52pm UTC](https://discuss.elastic.co/t/how-to-judge-whether-a-tcp-connection-is-successful/280156/2 "2021-08-01T14:52:44Z")

</div>

After viewing the previous topic, this function should not be supported yet

```auto
https://discuss.elastic.co/t/packetbeat-no-way-to-discover-failed-tcp-connection-attempts/72106/6

```

---

<div class="post-metadata">

**Author:** ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)\
**Post date:** [August 2, 2021, 11:11am UTC](https://discuss.elastic.co/t/how-to-judge-whether-a-tcp-connection-is-successful/280156/3 "2021-08-02T11:11:10Z")

</div>

Yup, it's more like a wish today: [Packetbeat flows enhancements · Issue #3444 · elastic/beats · GitHub](https://github.com/elastic/beats/issues/3444)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 30, 2021, 1:11pm UTC](https://discuss.elastic.co/t/how-to-judge-whether-a-tcp-connection-is-successful/280156/4 "2021-08-30T13:11:40Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
