Splunk Search

Eval Input Token with Backslashes

Path Finder

Hi @ All,

i know, ther are many diskussions about this topic, but nobody sent his solution 😞

<input type="text" token="Source_Folder_Input">
<label>Source Folder</label>
<eval token="Source_Folder_Input_Replace">replace($Source_Folder_Input,"\\","\\\\")</eval>

I want to replace single backslash to doubble.
Now my Dashboard says "Search is waiting for input... ".
If i change for testing change from "TEST" to "SHARE" it works <i´m confused>

Labels (3)
0 Karma