Files from a pipeline.
Last files.
curl -L \ --url 'https://cloud-api.calyptia.com/v1/aggregator_pipelines/{pipelineID}/files' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
[ { "id": "123e4567-e89b-12d3-a456-426614174000", "processingRuleID": "123e4567-e89b-12d3-a456-426614174000", "name": "myfile", "contents": "Ynl0ZXM=", "encrypted": true, "createdAt": "2025-03-20T21:27:48.253Z", "updatedAt": "2025-03-20T21:27:48.253Z" } ]
Create file within a pipeline. The given name is unique within the pipeline. These files can be referenced by their name within a fluentbit configuration file like so {{files.thename}}. Use them to share common stuff like parsers.
{{files.thename}}
newfile
curl -L \ --request POST \ --url 'https://cloud-api.calyptia.com/v1/aggregator_pipelines/{pipelineID}/files' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{ "name": "newfile", "contents": "Ynl0ZXM=", "encrypted": true }'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-03-20T21:27:48.253Z" }