Failed to install filebeat RPM on EL5 Linux machine

What's in /etc/redhat-release? What version of rpm (rpm --version)?

The file is not corrupt.

You are using el5 and Beats only support el6 and el7. Probably the version of rpm on your machine cannot validate the signature due to bug 436812.