Get warning events in Kubernetes

kubectl get events --field-selector type=Warning
Supported field selectors for events.
involvedObject.kind
involvedObject.namespace
involvedObject.name
involvedObject.uid
involvedObject.apiVersion
involvedObject.resourceVersion
involvedObject.fieldPath
reason
reportingComponent
source
type