Splunk Cloud Platform

Search Manual

Backslashes

To pass a literal backslash in an argument to a Splunk Search Processing Language (SPL) command, you must escape the backslash by using the double-slash ( \\ ) string in your search. Any commands that execute subsequent to that initial escaping might need additional escaping, especially commands that use regular expressions because backslashes have special meaning in regular expressions. For information about backslashes in regular expressions, see SPL and regular expressions.

SPL uses the asterisk ( * ) as a wildcard character. The backslash symbol can't be used to escape the asterisk in search strings.

More about backslashes

For more information:

Last modified on 01 November, 2023
Wildcards   Event segmentation and searching

This documentation applies to the following versions of Splunk Cloud Platform: 8.2.2112, 8.2.2201, 8.2.2203, 9.0.2205, 8.2.2202, 9.0.2208, 9.0.2209, 9.0.2303, 9.0.2305, 9.1.2308 (latest FedRAMP release), 9.1.2312


Was this topic useful?







You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters