Loki is a datastore optimized for efficiently holding log data.
The efficient indexing of log data distinguishes Loki from other logging systems. Unlike other logging systems, a Loki index is built from labels, leaving the original log message unindexed.

The Basic native tool to send data to Loki, is Promtail

A sample config file for Loki might seen like the follows:

server:
  http_listen_port: 0
  grpc_listen_port: 0

positions:
  filename: /tmp/positions.yaml

clients:
   -  url: https://your.loki.cluster

scrape_configs:
- job_name: system
  static_configs:
  - targets:
      - localhost
    labels:
      job: varlogs
      __path__: /var/log/*.log
  - targets:
      - localhost
    labels:
      job: syslog
      __path__: /var/log/syslog