Splunk Search

How do I Exclude ~ tilde character from search

Nawab
Communicator

I have to exclude ~ character from on or the field.
below is the example

 

field1=C:\program~\test~.txt

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
| eval field1=replace(field1,"~","")

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| eval field1=replace(field1,"~","")
0 Karma
Get Updates on the Splunk Community!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...