Cannot use lfs (lua file system) in LUA filter plugin. #7749
Unanswered
maitry-nutanix
asked this question in
Q&A
Replies: 1 comment 9 replies
-
LUA modules may need system dependencies so these need to be installed. It looks like you need to install the dependencies required. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
PROBLEM
I need to find the size of a log file in lua script. I can do that by opening and reading the file (using the code below) but that doesn't seem like a good solution as this script runs for every log line read by fluenbit.
CODE
I cannot use lfs in LUA script in LUA filter plugin. I used:
ERROR
But getting an error as follows:
HELP NEEDED
Beta Was this translation helpful? Give feedback.
All reactions