17 Jan 2020
08:03 AM
- last edited on
15 Jan 2024
02:49 PM
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.
17 Jan 2020 12:06 PM
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...
17 Jan 2020 01:13 PM
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.
17 Jan 2020 02:25 PM
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?