SkillAgentSearch skills...

Fancy

fancy let's you fanout rsyslog to Loki

Install / Use

/learn @negbie/Fancy
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<img src="https://user-images.githubusercontent.com/20154956/67162203-297e5300-f362-11e9-899b-4644d3084a02.png" width="200" height="160">

fancy let's you fanout rsyslog to Loki and is meant to be executed by rsyslog under omprog

Setup

  1. Download fancy from releases or compile it from sources
  2. Make fancy executable. chmod +x fancy
  3. Move fancy to /opt. mv fancy /opt/
  4. Edit and paste following under /etc/rsyslog.conf. vim /etc/rsyslog.conf
    module(load="omprog")

    $template fancy,"%timegenerated:::date-rfc3339% %syslogseverity% %hostname% %programname%%msg%\n"

    action(type="omprog" name="fancy" template="fancy" output="/var/log/fancy.log" binary="/opt/fancy --loki-url http://lokihost:3100")
  1. Make sure you have set the right Loki URL
  2. Restart rsyslog. systemctl restart rsyslog
  3. Check logs under /var/log/syslog and /var/log/fancy.log
  4. Check example and build a fancy dashboard! Uh fancy :)

fancy_dashboard

View on GitHub
GitHub Stars33
CategoryDevelopment
Updated2y ago
Forks4

Languages

Go

Security Score

80/100

Audited on Sep 4, 2023

No findings