Can i use filebeat to filter tomcate log?

Let's keep it in How to use filebeat to filter the tomcate log?