workflow:
  id: loki-log-analyzer
  name: Loki Log Analyzer
  description: Analyzes log rates from Grafana Loki with customizable queries and time ranges for monitoring log patterns.
  disabled: false
  triggers:
    - type: manual
  consts: {}
  owners: []
  services: []
  steps:
    - name: grafana_loki-step
      provider:
        type: grafana_loki
        config: "{{ providers.loki }}"
        with:
          query: sum(rate({job="varlogs"}[10m])) by (level)
          queryType: query_range
          step: 300
  actions: []
