Skip to content

s3.fileName does not support folders #294

Description

@greg-anetac

Whenever I try submitting a job with a path in "s3.fileName", I get an error like this

{"error":"Bad parameters","status":400,"object":["248 : File name has bad format"]}

Here is sample query request with redacted details:

{
  "query": "[redacted]",
  "from": "5m",
  "to": "now",
  "mode": {
    "type": "json/simple"
  },
  "destination": {
    "type": "s3",
    "params": {
      "aws.bucket": "[redacted]",
      "aws.region": "us-east-2",
      "aws.accesskey": "[redacted]",
      "aws.secretkey": "[redacted]",
      "format": "gzip",
      "s3.fileName":"datadrop/devo_20250131004128"
    }
  }
}

I would expect that forward slashes in S3 file name should be accepted in order to be able to put files into specific folders. Without this, Devo always writes to the root of the bucket, which is a problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions