Difference between revisions of "Tailon"

From Amahi Wiki
Jump to: navigation, search
Line 21: Line 21:
 
       - '/var/log/hda-updates.log'
 
       - '/var/log/hda-updates.log'
 
       - '/var/hda/platform/html/log/production.log'
 
       - '/var/hda/platform/html/log/production.log'
   - '/var/log/boot.log'
+
   - 'Apache':
   - '/var/log/cron'
+
      - '/var/log/httpd/*_log'
   - '/var/log/dnf*.log'
+
  - 'Samba':
  - '/var/log/httpd/*_log}'
+
      - '/var/log/samba/?mbd.log'
  - '/var/log/monit.log'
+
   - 'MariaDB':
  - '/var/log/maillog'
+
      - '/var/log/mariadb/mariadb.log'    
  - '/var/log/messages'
+
   - 'System':
  - '/var/log/openvpn-status.log'
+
      - '/var/log/boot.log'
  - '/var/log/samba/?mbd.log'
+
      - '/var/log/cron'
  - '/var/log/secure'
+
      - '/var/log/dnf.log'
   - '/var/log/tailon.log'
+
      - '/var/log/maillog'
 +
      - '/var/log/messages'
 +
      - '/var/log/monit.log'
 +
      - '/var/log/openvpn-status.log'
 +
      - '/var/log/secure'
 +
   - 'Tailon':
 +
      - '/var/log/tailon.log'
 +
 
 
    
 
    
 
http-auth: basic            # enable authentication (optional)
 
http-auth: basic            # enable authentication (optional)

Revision as of 01:23, 21 August 2019

Msgbox-WOPr.png Work In Progress
This article is currently undergoing major expansion or restructuring. You are welcome to assist by editing it as well. If this article has not been edited in several days, please remove this template.


Tailon web application

tailon.yaml file

bind: 0.0.0.0:5000          # address and port to bind on
allow-transfers: true       # allow log file downloads
follow-names: false         # allow tailing of not-yet-existent files
relative-root: /            # web app root path (default: '')
commands: [tail, grep, awk] # allowed commands
tail-lines: 10              # number of lines to tail initially
wrap-lines: true            # initial line-wrapping state

files:
  - 'Amahi':                # it's possible to add sub-sections
      - '/var/log/amahi-app-installer.log'
      - '/var/log/greyhole.log'
      - '/var/log/amahi-sync.log'
      - '/var/log/amahi-anywhere.log'
      - '/var/log/hda-updates.log'
      - '/var/hda/platform/html/log/production.log'
  - 'Apache':
      - '/var/log/httpd/*_log'
  - 'Samba':
      - '/var/log/samba/?mbd.log'
  - 'MariaDB':
      - '/var/log/mariadb/mariadb.log'      
  - 'System':
      - '/var/log/boot.log'
      - '/var/log/cron'
      - '/var/log/dnf.log'
      - '/var/log/maillog'
      - '/var/log/messages'
      - '/var/log/monit.log'
      - '/var/log/openvpn-status.log'
      - '/var/log/secure'
  - 'Tailon':
      - '/var/log/tailon.log'

  
http-auth: basic            # enable authentication (optional)
users:                      # password access (optional)
  admin: admin