Is there anyway collect logs from HP-UX hosts?

As far as i know, beats not supported in HP-UX...

i need to send logs from HP-UX hosts to Logstash/ES server...

What is the best approach?
please suggest, thanks in advance...

Regards,
Ajeev

Beats supports the same platforms as are supported by Golang: https://golang.org/doc/install So I don't know the details about HP-UX but I don't think it matches the criterias as you mentioned correctly.

About shipping the logs: You could install Logstash directly on the machine or for example send them via syslog and use the LS syslog input? https://www.elastic.co/guide/en/logstash/current/plugins-inputs-syslog.html

Thank You Ruflin, Let me try second option... send via syslog and use the LS syslog input