LHS to show the user agent?
Hi Andrew,
I'm enjoying using Logstalgia to view server logs, it's great, thank you! I'm wondering how to change things around so that on the left hand side of the screen it shows the user agent, rather than the source IP address? There are some poorly behaved user agents out that use a range of source IP addresses to quickly index a website. I'm interested in using Logstalgia identifying and displaying this behaviour.
Regards,
Warren.
I don't think there's a built in way to do this at the moment.
You could rearrange the log file so the user agent string is where there ip/hostname would be (I think you'll need to also replace spaces in the agent string with underscores so it will get parsed correctly).
Alternatively, you could feed it a log in the custom log format with the agent in the hostname field: https://github.com/acaudwell/Logstalgia/wiki/Custom-Log-Format
Thanks Andrew,
I'll give it a go!
Regards,
Warren.