You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Problem
I think this parse_regex is not complicated, referring to the official website demo, when I read a 100M log file, after parsing to write another file, the cpu will reach 100+ or even 200 percent, even if I try to set the maximum number of threads to 1, if it is 4 or 8, The cpu will reach 400% and the number of logs processed per second is 5.5K, whether this is a problem with the expression, or what parameters can be set to slow down the parsing speed?
I think this parse_regex is not complicated, referring to the official website demo, when I read a 100M log file, after parsing to write another file, the cpu will reach 100+ or even 200 percent, even if I try to set the maximum number of threads to 1, if it is 4 or 8, The cpu will reach 400% and the number of logs processed per second will be 5.5K. Is this an expression problem or is there any parameter that can be set to reduce the parsing speed? I have tried VECTOR_THREADS=1 VECTOR_INTERNAL_LOG_RATE_LIMIT=100
Parameters such as max_read_bytes.
Additional Context
No response
References
No response
The text was updated successfully, but these errors were encountered:
I have solved this problem, it is not a bug, I am very sorry for raising a wrong issue. It is also recommended that there be a parameter specifying the interval for reading logs from file at the end to better control the consumption rate.
A note for the community
Problem
I think this parse_regex is not complicated, referring to the official website demo, when I read a 100M log file, after parsing to write another file, the cpu will reach 100+ or even 200 percent, even if I try to set the maximum number of threads to 1, if it is 4 or 8, The cpu will reach 400% and the number of logs processed per second is 5.5K, whether this is a problem with the expression, or what parameters can be set to slow down the parsing speed?
Configuration
Version
vector 0.42.0 (x86_64-unknown-linux-gnu 3d16e34 2024-10-21 14:10:14.375255220)
Debug Output
No response
Example Data
I think this parse_regex is not complicated, referring to the official website demo, when I read a 100M log file, after parsing to write another file, the cpu will reach 100+ or even 200 percent, even if I try to set the maximum number of threads to 1, if it is 4 or 8, The cpu will reach 400% and the number of logs processed per second will be 5.5K. Is this an expression problem or is there any parameter that can be set to reduce the parsing speed? I have tried VECTOR_THREADS=1 VECTOR_INTERNAL_LOG_RATE_LIMIT=100
Parameters such as max_read_bytes.
Additional Context
No response
References
No response
The text was updated successfully, but these errors were encountered: