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!

Simplifying the Analyst Experience with Finding-based Detections

    Splunk invites you to an engaging Tech Talk focused on streamlining security operations with ...

[Puzzles] Solve, Learn, Repeat: Word Search

This challenge was first posted on Slack #puzzles channelThis puzzle is based on a letter grid containing ...

[Puzzles] Solve, Learn, Repeat: Advent of Code - Day 4

Advent of CodeIn order to participate in these challenges, you will need to register with the Advent of Code ...