Filebeats to elasticsearch ingress documentation

When using the config from here: https://www.elastic.co/guide/en/beats/filebeat/current/configuring-ingest-node.html

output.elasticsearch:
  hosts: ["localhost:9200"]
  pipeline: "test-pipeline"

the ingress wasn't used but changing it to:

output.elasticsearch:
  hosts: ["localhost:9200"]
  parameters:
    pipeline:  "test-pipeline"

as mentioned here Pipeline Not Working Filebeats -> Elasticsearch (5.0.0 Alpha 3)

and it wokred

I'm using version 7.9.2

does the documentation need updating or am I doing something wrong?

hi @sillencem, the initial configuration should have worked:

output.elasticsearch:
  hosts: ["localhost:9200"]
  pipeline: "test-pipeline" 

Are you running both Filebeat and the es cluster on 7.9.2? Can you provide us with the full config file in order to get a better view?