17 Jan 2020 12:03 AM - last edited on 16 Dec 2021 03:26 AM by MaciejNeumann
As a managed cluster admin I would like to have an overview over all log files that are currently selected for log monitoring and therefore being ingested and stored by Dynatrace. We have enabled log premium on our cluster.
I'm aware of the "Settings -> Log Monitoring -> Sources" page in each environment where it's possible to filter all discovered logs by various criteria. However, I haven't found a way to filter or sort them by their "monitored" state (= checkbox marked).
Any advice would be helpful.
PS: I guess a similar question was already raised here some time ago but has remained unanswered...
I guess one (rather convoluted) way to get to the desired information would be through the API and iterating through all hosts requesting the logs via GET logs operation checking for the element "availableForAnalysis=true" in each log. So this would take a total number of API calls that is roughly the same as the amount of total active hosts in the environment...
If you are using “Include the following logs”, the hosts perspective is already sorted and is going to show you the selected hosts at the top of the list.
Unfortunately that's not (or no longer) the case on our side. However, I seem to remember this was the case a while back. Maybe this has changed with one of the latest updates? FYI: We are on 1.182.
Is there any setting that influences the sorting order?