How to create ingest pipeline for elasticsearch in kubernetes context?

I am shipping a csv file from filebeat to elasticsearch. I understand that I need to use an ingest pipeline to parse the csv data prior to it being stored in elastic, similar to what is described in this answer

From what I understand, you have to run a curl command to create the pipeline in elasticsearch, something like:

curl -XPUT "$CLOUD_URL/_ingest/pipeline/bano" -u elastic:$CLOUD_PASSWORD -H 'Content-Type: application/json' -d'@cloud/ingest-bano.json' ; echo

I am just wondering how is this done in a kubernetes context, there is nowhere I can put a curl command in the container setup, everything is based off configuration files.

I am just wondering how to do this when filebeat and elasticsearch are running in kubernetes.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.