Getting Filenames of files from a Google Cloud Storage #2519
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @mark-cale 👋 If you only need the filenames, the - log:
message: |
Filename: ${! @gcs_key } You can also dump all the metadata fields if you just use |
Beta Was this translation helpful? Give feedback.
Hey @mark-cale 👋 If you only need the filenames, the
gcp_cloud_storage
input is going to be wasteful, since it will also read the contents of the files. If you also need the contents, then what I think you want is to look at thegcs_key
metadata field. Try adding a log processor like so:You can also dump all the metadata fields if you just use
@
instead of@gcs_key
.