Available fields and functions (4)
Last updated Aug 25, 2026 The available fields when defining a Bulk Redirect Rule filter expression are the following:
cf.edge.server_ipcf.edge.server_portcf.edge.client_portcf.edge.client_tcpcf.edge.l4.delivery_ratecf.hostname.metadatacf.zone.namecf.random_seedcf.ray_idcf.timings.client_quic_rtt_mseccf.timings.client_tcp_rtt_mseccf.tls_versioncf.tls_ciphercf.tls_client_hello_lengthcf.tls_client_randomcf.tls_client_extensions_sha1cf.tls_client_extensions_sha1_lecf.tls_client_ciphers_sha1cf.tls_client_auth.*cf.worker.upstream_zonehttp.cookiehttp.hosthttp.refererhttp.request.accepted_languageshttp.request.cookieshttp.request.headershttp.request.headers.*http.request.methodhttp.request.timestamp.sechttp.request.timestamp.msechttp.request.full_urihttp.request.urihttp.request.uri.*http.request.versionraw.http.request.full_uriraw.http.request.headersraw.http.request.headers.*raw.http.request.uriraw.http.request.uri.*http.user_agenthttp.x_forwarded_forip.srcip.src.latip.src.lonip.src.asnumip.src.cityip.src.countryip.src.continentip.src.metro_codeip.src.postal_codeip.src.regionip.src.region_codeip.src.is_in_european_unionip.src.subdivision_1_iso_codeip.src.subdivision_2_iso_codesslcf.sequence.current_opcf.sequence.msec_since_opcf.sequence.previous_ops
Refer to Fields for reference information on these fields.
Important
- To obtain the value of an HTTP request header using the
http.request.headersfield, specify the header name in lowercase. For example, to get the first value of theAccept-Encodingrequest header in an expression, use:http.request.headers["accept-encoding"][0]. - Use the
to_string()function to get the string representation of a non-string value like an Integer value.
For information on the available functions, refer to Functions.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/rules/url-forwarding/bulk-redirects/reference/fields-functions/#page","headline":"Available fields and functions","description":"Available fields and functions for Bulk Redirect rules.","url":"https://developers.cloudflare.com/rules/url-forwarding/bulk-redirects/reference/fields-functions/","inLanguage":"en","image":"https://developers.cloudflare.com/rules/url-forwarding/bulk-redirects/reference/fields-functions/og.png?v=7fefbbb932af71a1","dateModified":"2026-08-25","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: JSON object structure for Bulk Redirect API requests. title: Bulk Redirects API JSON objects image: https://developers.cloudflare.com/rules/url-forwarding/bulk-redirects/reference/json-objects/og.png?v=51458fae6d4ed6d3
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/rules/llms.txt
Use this file to discover all available pages before exploring further.
Docs