-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
acquisition/victorialogs: add new datasource #3310
base: master
Are you sure you want to change the base?
acquisition/victorialogs: add new datasource #3310
Conversation
Data source supports: - cat mode with automatic adjustment of poll interval (same as one at Loki datasource) - tail mode by using tailing API
@zekker6: There are no 'kind' label on this PR. You need a 'kind' label to generate the release automatically.
DetailsI am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository. |
@zekker6: There are no area labels on this PR. You can add as many areas as you see fit.
DetailsI am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3310 +/- ##
==========================================
+ Coverage 59.11% 59.14% +0.03%
==========================================
Files 359 350 -9
Lines 38730 38351 -379
==========================================
- Hits 22894 22682 -212
+ Misses 13908 13772 -136
+ Partials 1928 1897 -31
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
"datasource_s3": false, | ||
"datasource_syslog": false, | ||
"datasource_wineventlog": false, | ||
"datasource_victorialogs": false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be listed in the Makefile too -- the only reason to "register" datasources is to optionally exclude from the builds with a tag, and still list them in "cscsli version"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this to Makefile in f4603e1, thanks for noticing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIK it requires to install curl every time when mostly Linux Distributions have installed wget
out-from-box. Do you think curl will be better decision?
This change only impacts the CI, and AFAIK curl is installed by default on the images provided by github. I made the change just to test/debug why the victoria logs container seems to fail to start (or at least, github/docker thinks it has failed, I cannot reproduce the issue locally). |
Hello @blotus, I've updated healthcheck so it should work now. This can be tested locally with:
Previously, it was using |
Related issue: #3307
Data source supports:
Most of the logic is exactly the same as Loki datasource.
The only difference is related to adding support of live dailing and different response formats.
VictoriaLogs uses newline delimeted JSON for both reqular query and tail modes.
Tested locally with the following config: