How to create pipeline definition from command line?

Yes, I think what you are looking for is this: Load ingest pipelines | Filebeat Reference [7.11] | Elastic

Shaunak