From 9088d9220d9870683a8316645a7f6c73a1f57253 Mon Sep 17 00:00:00 2001 From: pierwill Date: Fri, 14 Aug 2020 12:29:27 -0700 Subject: [PATCH] Add note on variable naming restrictions Fixes #1300 --- content/v2.0/visualize-data/variables/create-variable.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/v2.0/visualize-data/variables/create-variable.md b/content/v2.0/visualize-data/variables/create-variable.md index 6ac02dc51b..a519d40144 100644 --- a/content/v2.0/visualize-data/variables/create-variable.md +++ b/content/v2.0/visualize-data/variables/create-variable.md @@ -16,7 +16,8 @@ There are multiple variable types that provide different means of populating you _For information about variable types, see [Variable types](/v2.0/visualize-data/variables/variable-types/)._ {{% note %}} -##### Reserved keywords +##### Variable name restrictions +Variable names must begin with a letter or underscore (`_`). The following names cannot be used as dashboard variables because they are reserved keywords in Flux: `and`, `import`, `not`, `return`, `option`, `test`, `empty`, `in`, `or`, `package`, and `builtin`.