Skip to content

VictoriaMetrics-Community/homeassistant-addon-victorialogs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home Assistant Add-on VictoriaLogs Database for logs

Home Assistant Add-on VictoriaLogs Database for logs

VictoriaLogs is open source user-friendly database for logs from VictoriaMetrics.

This add-on makes it easy to run a VictoriaLogs on Home Assistant OS on ARM64 systems like Raspberry Pi 4 or AMD64.

VictoriaLogs provides the following key features:

  • VictoriaLogs can accept logs from popular log collectors. See these docs.
  • VictoriaLogs is much easier to set up and operate compared to Elasticsearch and Grafana Loki. See these docs.
  • VictoriaLogs provides easy yet powerful query language with full-text search capabilities across all the log fields - see LogsQL docs.
  • VictoriaLogs can be seamlessly combined with good old Unix tools for log analysis such as grep, less, sort, jq, etc. See these docs for details.
  • VictoriaLogs capacity and performance scales linearly with the available resources (CPU, RAM, disk IO, disk space). It runs smoothly on both Raspberry PI and a server with hundreds of CPU cores and terabytes of RAM.
  • VictoriaLogs can handle up to 30x bigger data volumes than Elasticsearch and Grafana Loki when running on the same hardware. See these docs.
  • VictoriaLogs supports fast full-text search over high-cardinality log fields such as trace_id, user_id and ip.
  • VictoriaLogs supports multitenancy - see these docs.
  • VictoriaLogs supports out-of-order logs’ ingestion aka backfilling.
  • VictoriaLogs provides a simple web UI for querying logs - see these docs.

VictoriaLogs on GitHub

Installation and configuration

  1. Add the reposity. (Quick link: Open your Home Assistant instance and show the Supervisor add-on store. )

  2. Install the add-on:

    • Find, and install the VictoriaLogs add-on
  3. Configure VictoriaLogs

    Read the addon documentation which can also be found on the Documentation tab of the VictoriaLogs addon in the Home Assistant settings. Check also a list of supported command-line flags with their description.

  4. Start the VictoriaLogs add-on

    Don't forget to restart Home Assistant!

Well done! You can install and configure Grafana or similar to check data is being logged.