To do this, filebeat needs to have a elasticsearch output in its configuration. You will have to:
- Stop Filebeat.
- Comment out logstash output, uncomment and configure the elasticsearch output.
- Load the ingest pipeline as mentioned in the link.
- Restore the logstash output in the config file and comment out the elasticsearch output. Start filebeat again.