Oh wait, so that's an issue. Please, can you also open a GH issue here https://github.com/elastic/beats/issues so that someone fixes it?
By the way, about the yaml indentation, Filebeat won't give an error if your yaml is incorrect (correct YAML syntax but incorrect Filebeat I mean). It will simply think that the setting isn't there.