The JSONL Component is a component that allows you to convert a JSONL file stored in attachment storage service into a JSON array.
Configuration options can be added to the component's fields
object.
pattern
(string)
A JavaScript regular expression used to match file names in the
attachments
object to be processed. If not provided it will default to the regular expression .jsonl
.
validateExtension
(boolean)
Whether to only process files that match the regular expression pattern
.
The url for the Attachment Storage Service can be supplied, in descending order of precedence:
- specifying a
attachmentServiceUrl
value in the node's fields object - environment variable
ELASTICIO_ATTACHMENT_STORAGE_SERVICE_BASE_URL
- default value of
http://attachment-storage-service.oih-prod-ns.svc.cluster.local:3002