Should "kubectl logs" work on a VirtualService?

I am trying get more information on a 503 error, and I am wondering if I can get logs from my VirtualServcie and Gateway resources.

I tried kubectl logs virtualservice/my-virtual-service, but it gives this error:

error: no kind "VirtualService" is registered for version "networking.istio.io/v1beta1" in scheme "pkg/scheme/scheme.go:28"

I am trying to decide if this is expected, or if I have a problem with my Istio installation.

Should kubectl logs work on a VirtualService?