I found Ingest mixed container logs with text and JSON [filebeat][docker] - #2 by felixbarny which has a config that might work in your case that's closer to what you were trying with include/exclude but at the autodiscover-level.
@felixbarny generally knows his stuff so maybe try that before my processor idea