I have a class of transactions which are very low frequency compared to most of the transactions I will be collecting data on via APM, and I'd like to keep this data longer than the high frequency data.
Is there a way to do this?
I am only just beginning to learn how to operationalize the data that APM is collecting, so maybe I am asking the wrong questions. Any advice welcome!
I have a class of transactions which are very low frequency compared to most of the transactions I will be collecting data on via APM, and I'd like to keep this data longer than the high frequency data.
Is there a way to do this?
It depends: do you know at ingestion time? Do you know from the transaction names (or some other properties? labels?) which data are more frequent than others?
One approach would be to route the data into different indices, say "apm-frequent-transactions" and "apm-infrequent-transactions". This can be done by modifying output.elasticsearch.indices in apm-server.yml to route the data based on the fields and values contained within. See Configure the Elasticsearch output | APM User Guide [8.11] | Elastic.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.