> ## Documentation Index
> Fetch the complete documentation index at: https://docs.drdroid.io/llms.txt
> Use this file to discover all available pages before exploring further.

# VictoriaLogs

> VictoriaLogs can be integrated with Doctor Droid using the host and login credentials.

### Integration

To get started with the integration, we currently support VictoriaLogs integration with the following parameters:

* Host
* Port
* Protocol
* Auth Headers

#### How to obtain the auth key?

Victoria Logs Integration in Doctor Droid is through the header you will be adding. In case your setup is without auth, just configure `{}`.
In case your setup needs auth, create the auth key with following steps:

* Join your login username and password to form the auth key -> username:password
* Base64 encode it. You can use [this website](https://www.base64encode.org/) for this.
* Your headers should look like `{"Authorization": "Basic <auth_key>"}`

#### Integrate Via VPC Agent

* Add Victoria Logs entry secrets/configmap file based on whether you are doing docker / k8s based setup.
* [Here](https://github.com/DrDroidLab/drd-vpc-agent/blob/main/credentials/credentials_template.yaml#L165) is the example of the secrets.yaml file for Victoria Logs integration.
* Escape the auth header before adding like this: `{\"Authorization\": \"Basic <auth_key>\"}`

#### Integrate directly

* Go [here](https://aiops.drdroid.io/integrations/victoria_logs) to add Victoria Logs credentials directly on the connector page.
* Add the auth header without adding any escape.
