Http monitoring support on l4/l7 switches

Hi there,
I've been using the packetbeat to monitoring rest api server using http protocol.
When I call rest api directly, the packetbeat doing well. but it does not working with l7 switch.

I heard about that it works on application layer only. Is that a related to this issue?
Is there any way to use packetbeat with l4/l7 switches?