This page is intended to clarify the error messages that you can see if you made an incorrect input within IQL
Examples
| IQL | Meaning |
|---|---|
IQL "object HAVING outR(“deployed”)AND object =Software" has invalid syntax at position 29 with error message "no viable alternative at input '(“deployed”)'" | incorrect spelled attribute in this case “admin” does not exist in the entire Insight installation |
IQL “object HAVING outR(“deployed”)AND object =Software” has invalid syntax at position 30 with error message “extraneous input | no IQL included inside the outBoundReference OR incorrect input [ there should be space between ")" and "AND" ] |
String index out of range: 52 | character number 52 in your string is incorrect |
No matching attribute for IQL clause (object = Jira) | The object "Jira" Does not exist (or out of the scope of your IQL) |
IQL "objectType = Server type" has invalid syntax at position 20 with error message "mismatched input 't' expecting {<EOF>, ' '}"
| If you are searching for a string that has a space between two works you should use "" with the string |
No matching attribute for IQL clause ("created" >= -1w)
| "Created" attribute is case sensitive |
IQL "objectType = ESP Users_ALL" has invalid syntax at position 17 with error message "mismatched input 'U' expecting {<EOF>, ' '}"
| This objectType has space character in the middle, you should re-write the script to be : objectType = "ESP Users_ALL" |
<iql,Placeholder not supported in current context.>" | Placeholder is being used illegally in this context |