Moving fields to root

i have metricbeat installed and for desupported version RHEL 4 we collect it via custom script
we ingest them with type name devbeat and in elk it is showing all fields prefixed with devbeat.
how to avoid prefixing type in elk

Any help ?