Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
Live log view for HAProxy plugin?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Live log view for HAProxy plugin? (Read 4753 times)
laralar
Newbie
Posts: 6
Karma: 0
Live log view for HAProxy plugin?
«
on:
January 12, 2020, 05:46:17 am »
This is not an issue, but more like a feature request.
Would it be too difficult to implement a Live Log view like the one the firewall has with filter option?
With many websites and HTTP services hosted, and many requests coming (every second, or minute, it is kind of difficult to follow up the log.
For some strange reason, I tried what I normally do in Ubuntu .
tail -f /var/log/haproxy.log
But it seems stuck in FreeBSD. Any hint why this could be happening?
Finally, I am using Map tables. And where there is a no match, it would be useful to see what is the key that is being trying to match.. This two may not be related to the plugin itself but to HA Proxy, but any help would be appreciated
Thanks,
Luis
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Live log view for HAProxy plugin?
«
Reply #1 on:
January 12, 2020, 06:48:28 am »
HAProxy logs circular in OPN so command has to be:
clog -f <filename>
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
laralar
Newbie
Posts: 6
Karma: 0
Re: Live log view for HAProxy plugin?
«
Reply #2 on:
January 12, 2020, 12:21:13 pm »
Thanks.. that did the trick..
Still I would love the Live view that the firewall has where I could put some filter
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Live log view for HAProxy plugin?
«
Reply #3 on:
January 12, 2020, 07:47:32 pm »
For filtering add '| grep term', without the quotes after the given command for text filtering.
Logged
laralar
Newbie
Posts: 6
Karma: 0
Re: Live log view for HAProxy plugin?
«
Reply #4 on:
January 17, 2020, 10:44:13 am »
Yep that did the trick.. however, it would be good to have it in the OPNsense UI, instead of having to log in into the terminal
Any idea where can I find the developer of this plugin to submit a feature request? I am terribly newbie in OPNSense and HAProxy.
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Live log view for HAProxy plugin?
«
Reply #5 on:
January 17, 2020, 04:45:04 pm »
The logging UI comes from core, not the plugin, but there will be a big change in 20.1, just wait until it's out and then see what's possible.
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
Live log view for HAProxy plugin?