Skip to content

viczem/fluentd-sqlite-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup collecting logs with Fluentd in docker‑compose and storing them in SQLite

Set the log level with the RUST_LOG environment variable, e.g., RUST_LOG=info

    mkdir data
    # This may not be the best solution. TODO try using docker --user flag.
    chmod a+rwx ./data
    
    sqlite3 ./data/data.db
    sqlite> 
    CREATE TABLE logs (
      timestamp TEXT PRIMARY KEY,
      message TEXT NOT NULL
    );
    sqlite> # Ctrl + D for exit
    
    chmod a+rwx ./data/data.db

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published