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 😞

MY CODE:
<input type="text" token="Source_Folder_Input">
<label>Source Folder</label>
<change>
<eval token="Source_Folder_Input_Replace">replace($Source_Folder_Input,"\\","\\\\")</eval>
</change>
<default>C:\SHARE</default>
</input>

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