Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-19955

Cloudflare by HTTP: Syntax Error GraphQL (1:66) Expected

XMLWordPrintable

    • Sprint 90 (Jul 2022)
    • 1

      Steps to reproduce:

      1. Import template template_app_cloudflare_http.yaml
      2. Link the template to the host and customize {$CLOUDFLARE.API.TOKEN}, {$CLOUDFLARE.ZONE_ID} macros.
      3. Open and test Cloudflare: Get data item.

      Result:

      Cannot execute script: Requesting failed: Request failed with error "Syntax Error GraphQL (1:66) Expected :, found }
      1: {viewer {zones(filter: {zoneTag: correct_my_zone_tag}) { httpRequests1hGroups(limit: 100 filter: { datetime_geq: "2021-09-14T10:00:00.000Z", datetime_leq: "2021-09-14T10:59:59.000Z" }) { sum{ requests cachedRequests encryptedRequests responseStatusMap{ requests edgeResponseStatus } bytes cachedBytes encryptedBytes threats pageViews } uniq{uniques} } }}}
      ^
      ".

            vkhaliev Vyacheslav Khaliev
            pavel_m Pavel Mezhuev
            Team INT
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: