Tailon

From Amahi Wiki
Revision as of 23:52, 20 August 2019 by Bigfoot65 (talk | contribs)
Jump to: navigation, search
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'
  - '/var/log/boot.log'
  - '/var/log/cron'
  - '/var/log/dnf*.log'
  - '/var/log/httpd/*_log}'
  - '/var/log/monit.log'
  - '/var/log/maillog'
  - '/var/log/messages'
  - '/var/log/openvpn-status.log'
  - '/var/log/samba/?mbd.log'
  - '/var/log/secure'
  - '/var/log/tailon.log'
  
http-auth: basic            # enable authentication (optional)
users:                      # password access (optional)
  admin: admin