Log only file metadata not content

Our requirement is just to get file metadata (file names, createdDate, lastmodified etc) from a path.

We have a directory where all the stdout and stderr files are being stored for different jobs. We just want to log those file details in one elasticsearch index. We don't want to write message (file content), as we are already writing it into different index.

Periodically run ls -l via an exec input?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.