Using JQ in Cortex
jq(custom("foo"), ".property | length")JQ and datatypes
x-cortex-custom-metadata:
my-key:
line: "100"jq(custom("my-key"), ".line | tonumber") > 99JQ examples
Use JQ to implement conditional logic for selecting file paths dynamically
git.fileContents(jq(custom("git"), "if . != null then .[\"dockerfile-path\"] else \"Dockerfile\" endAccessing properties with special characters
Handling null values
Wildcard pattern matching
Finding team members by role
Handling complex YAML structures
Extract the scheme of an AWS load balancer for resource metadata
Extracting version from pom.xml file
Display a parent entity name in a CQL report
Last updated
Was this helpful?