Is there any mainframe plugin for elasticsearch?

IBM Transaction Analysis Workbench for z/OS is an IBM-brand software product for z/OS that does the “reverse” of what you’re asking for: it forwards data from the mainframe to Logstash.

For details, see my reply to the topic “Logstash for Mainframes”.