Skip to main content
Solved

Cribl Search Failing With: Mismatched Input '/' Error When Filtering Visualization Results

  • April 21, 2026
  • 2 replies
  • 2 views

This message originated from Cribl Community Slack.
Click here to view the original link.

Hello Team, have a weird issue with a token in a dashboard in Cribl Search. I have a dropdown input that is populated by a search, which is working fine, however it has a value being returned that is Software/Technology I am trying to use the value to filter results in a table in one of the visualizations however I am getting an error because of the / character in the value. The error is
Search failed: mismatched input '/' expecting {<EOF>, ';'}; token: /; line: 1 column: 119
is there any way to sanitize the token so that it can just search on the text?

Best answer by David Cavuto

Hi @user! I would suggest perhaps doing a dynamic replacement of the "/" character with something else, perhaps an underscore. There are a few ways to accomplish this, so i would try the translate function first (since it's likely the easiest). Something like ... | extend theField=translate("/", "_",theField) | ...

2 replies

  • Employee
  • Answer
  • April 21, 2026
Hi @user! I would suggest perhaps doing a dynamic replacement of the "/" character with something else, perhaps an underscore. There are a few ways to accomplish this, so i would try the translate function first (since it's likely the easiest). Something like ... | extend theField=translate("/", "_",theField) | ...

Thanks @user i will give that a try.