Skip to content

Add dynamic log entry types for VictoriaLogs #3626

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

thebondo
Copy link

@thebondo thebondo commented May 12, 2025

Adds a key for the VictoriaLogs configuration named program_key. If that key is set and the JSON blob for an entry returned by the VictoriaLogs query contains that key with a string value, the Labels.type value is set to the string value. This allows the log entry type to be set dynmically.

Resolves #3624

Copy link

@thebondo: There are no 'kind' label on this PR. You need a 'kind' label to generate the release automatically.

  • /kind feature
  • /kind enhancement
  • /kind refactoring
  • /kind fix
  • /kind chore
  • /kind dependencies
Details

I 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.

Copy link

@thebondo: There are no area labels on this PR. You can add as many areas as you see fit.

  • /area agent
  • /area local-api
  • /area cscli
  • /area appsec
  • /area security
  • /area configuration
Details

I 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.

@thebondo
Copy link
Author

/kind enhancement

@github-actions github-actions bot added kind/enhancement New feature or request and removed needs/kind labels May 12, 2025
@thebondo thebondo changed the title Add dynamic log entry types for VictoriaLogs resolves #3624 Add dynamic log entry types for VictoriaLogs May 12, 2025
@thebondo
Copy link
Author

/area agent

@thebondo thebondo marked this pull request as ready for review May 14, 2025 12:32
Merging in changes from master.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/agent kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow VictoriaLogs data source to dynamically set the type label (and maybe add some parsed data)
1 participant