From a component I am working on, I get certain information in the log that is report information. This information comes as "ReportBody". However, I want to add a prefix to some of the information (i.e. NumberOfDevices} from ReportBody so it appears that way in Kibana. Therefore, in my logstash configuration, I have written:
source => "ReportBody"
target => "someReport"
remove_field => ["ReportBody"]
The result in Kibana is "someReport.NumberofDevices": 3
This includes period between the target(prefix) and the key. What can I do to "mutate" it so that either the period is deleted or I can substitute it with underscore ("_")?