Hi there fam,
My team and I are exploring pulling logs in Dynatrace with a API call. We want to build a script that will in take some DQL parameters and return save those logs to a csv (or json file) so we can export them via email.
The DQL parameters we want to be able to input are as follows:
(matchesValue(loglevel, "ERROR") or matchesValue(loglevel, "WARN")) and matchesValue(host.name, "xxxxxx.ab.sample.com")
3 parameters in the query:
loglevel
host.name
and date and timeframe
Is it a specific API URL for this? Can't this process be configured as a workflow in new Dynatrace 3.0 environment? Any information would be very helpful.