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

Details

    • Problem report
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 5.4.4
    • None
    • Templates (T)
    • None

    Description

      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} } }}}
      ^
      ".

      Attachments

        Activity

          People

            elina.kuzyutkina Elina Kuzyutkina
            pavel_m Pavel Mezhuev
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: