Skip to content

confused about usage of parquet_decode and batched #2931

Closed Answered by mihaitodor
fearfate asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @fearfate 👋

then how could i using the origin filename rather than a random one( ${! timestamp_unix_nano() })

The file input adds a bunch of metadata to each message including path: https://docs.redpanda.com/redpanda-connect/components/inputs/file/#metadata. Based on that, you can do ${! @path.filepath_split().index(-1) }.

PS: Moving to a discussion as per #2026.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fearfate
Comment options

Answer selected by fearfate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2930 on October 11, 2024 10:59.