GraphViz DOT syntax formatted representation of the template DAG. NOTE: lables vs attributes does not matter since a template is never executing.
Any error encountered when reading the template.
Unique identifier for the template. If empty a random ID will be chosen.
a link object with an href of the resource.Clients should not need to perform path manipulation in most cases and can use the links provided from previous calls.
Date the template was last modified.
The content of the script.
The template type: stream
or batch
.
A set of vars for overwriting any defined vars in the TICKscript. The vars object has the form:
{
"field_name" : {
"value": <VALUE>,
"type": <TYPE>
},
"another_field" : {
"value": <VALUE>,
"type": <TYPE>
}
}
The following is a table of valid types and example values.
VarType | Example Value | Description |
---|---|---|
Bool | true | "true" or "false" |
Int | 42 | Any integer value |
Float | 2.5 or 67 | Any numeric value |
Duration | "1s" or 1000000000 | Any integer value interpretted in nanoseconds or an influxql duration string |
String | "a string" | Any string value |
Regex | "^abc.*xyz" | Any string value that represents a valid Go regular expression https://golang.org/pkg/regexp/ |
Lambda | "\"value\" > 5" | Any string that is a valid TICKscript lambda expression |
Star | "" | No value is required, a star type var represents the literal * in TICKscript (i.e. .groupBy(*) ) |
List | [{"type": TYPE, "value": VALUE}] | A list of var objects. Currently lists may only contain string or star vars |
Generated using TypeDoc
Date the template was first created.