Reputation: 57
Is there way to get the response code of https calls using packetbeat. I don’t see any protocol for https. The goal is to monitor https traffic
Upvotes: 1
Views: 717
Reputation: 3680
With elastic agent Network Packet Capture or Packetbeat you can capture (sniff) and analyze network traffic from a host.
I tried with HTTP
and HTTPS
traffic and both of them are working fine. You can even collect the body with HTTP
.
For HTTPS
you can only capture the headers.
Another recommendation: PROXY
Also, you can use a proxy like NGINX, or HaProxy to monitor requests or you can use packetbeat or Elastic agent to collect them.
Upvotes: 0