Overview
VictoriaLogs is open source user-friendly database for logs from VictoriaMetrics. It is optimized for high performance and low memory usage. It can handle high cardinality and high volume of logs. Note: To add authentication VMAuth should be configured. For more information, refer to the VMauth documentation.Authentication
This provider requires authentication.- host_url: VictoriaLogs Host URL (required: True, sensitive: False)
- authentication_type: Authentication Type (required: True, sensitive: False)
- username: HTTP basic authentication - Username (required: False, sensitive: False)
- password: HTTP basic authentication - Password (required: False, sensitive: True)
- bearer_token: Bearer Token (required: False, sensitive: True)
- x_scope_orgid: X-Scope-OrgID Header (required: False, sensitive: False)
- insecure: Skip TLS verification (required: False, sensitive: False)
- authenticated: The instance is valid and the user is authenticated
In workflows
This provider can be used in workflows. As “step” to query data, example:NoAuth
- No additional parameters are required, only the
Grafana Loki Host URLis required.
HTTP basic authentication
HTTP basic authentication - Username: The username to use for HTTP basic authentication.HTTP basic authentication - Password: The password to use for HTTP basic authentication.
Bearer
Bearer Token: The bearer token to use for authentication.X-Scope-OrgID Header: The organization ID to use for VictoriaLogs Multi-tenancy support. (Optional)
Querying VictoriaLogs
The VictoriaLogs provider allows you to query logs from VictoriaLogs through thequery, hits, stats_query and stats_query_range types. The following are the parameters available for querying:
-
querytype:query: This is the query to perform.limit: The max number of matching entries to return.timeout: The query timeout in seconds.AccountID: The account ID to use for VictoriaLogs.ProjectID: The project ID to use for VictoriaLogs.
-
hitstype:query: This is the query to perform.start: The start time for the query.end: The end time for the query.step: The step for the query.AccountID: The account ID to use for VictoriaLogs.ProjectID: The project ID to use for VictoriaLogs.
-
stats_querytype:query: This is the query to perform.time: The evaluation time for the query.
-
stats_query_rangetype:query: This is the query to perform.start: The start time for the query.end: The end time for the query.step: The step for the query.

