Changes

From Amahi Wiki
Jump to: navigation, search
1,154 bytes added ,  14:43, 21 August 2019
= Configuration =
The configuration file (''/var/hda/web-apps/tailon/html/tailon.yaml file'') can be modified to add or remove log files as needed. Currently, it provides for several log files. Only files that exist will be displayed in the web browser. The default configuration is shown below ('''NOTE:''' recommend not making any changed to lines 1, 3, or 4 as it could break the application): 
<pre>
bind: 0.0.0.0:5000 # address and port to bind on
users: # password access (optional)
admin: admin
</pre>
 
== Add/Remove Log Files ==
Log files can be grouped together using sub-sections. By grouping, it determines the order they appear in the application.
 
To include new log files, follow the format as follows:
<pre>
- 'MyLog':
- 'path/to/log/name'
</pre>
 
or
 
<pre>
- 'path/to/log/name'
</pre>
 
Once complete, restart the service:
sudo systemctl restart tailon
 
== Add/Remove/Change User/Password ==
Users/Passwords can be added, removed, or changed by modifying the configuration file. Follow the format for the default user/password.
 
If no authentication is desired, comment out the following lines as such (precede line with #):
 
<pre>
#http-auth: basic # enable authentication (optional)
#users: # password access (optional)
# admin: admin
</pre>
= Troubleshooting =
12,424

edits