1

GeoJSON に変換し、elasticsearchをクリーンアップするためにogr2ogr実行する csv ログ ファイルがあります。sed具体的には:

ogr2ogr -f "GeoJSON" output.json input.csv
sed -i -e '1,4d' -e '$d' output.json # delete first four lines and last line
sed -i '1 i\[' output.json # insert line with '[' at beginning of file

これらのコマンドを NiFi で実行したいのですが、ExecuteProcess を構成できませんでした。

4

1 に答える 1