Hello everyone. I recently encountered a scenario when using apm-server: how to process the json log file output by apm-server through python and then manually import it into es to correspond to different index data, for example: apm-transaction apm-span ..
I have configured the output part of the apm configuration file to output to a text file in json format, and then read it by logstash and output it to es, but I want to skip logstash and directly import the json file of apm into es. I carefully read the format of the json file, and the type of index can be judged by processor.event.name. But the imported log can be seen, and the monitoring data in the apm server is incomplete. For example, overview and jvm do not have any data to view