If you want to test OpenSearch Data Prepper on FreeBSD.


bastille create dataprepper 14.0-RELEASE
bastille console dataprepper

Install dependencies and load the source files

pkg install openjdk17 bash
fetch https://artifacts.opensearch.org/data-prepper/2.7.0/opensearch-data-prepper-jdk-2.7.0-linux-x64.tar.gz
tar xvzf opensearch-data-prepper-jdk-2.7.0-linux-x64.tar.gz

Fix JAVA_HOME and Shebang, you can use the following small patch for this:

fetch https://hackacad.net/files/dataprepper.patch
patch -p0 < dataprepper.patch

copy and edit one or more exmaple pipelines

cd opensearch-data-prepper-jdk-2.7.0-linux-x64
cp examples/log-ingestion/log_pipeline.yaml pipelines/

Remove bundled Java

rm -r openjdk

Run Data Prepper