Splunk Search

replacing values with "*****"

hurryupfool123
Explorer

I have a field "users" that spits out the result "*****" 

I want to replace the ***** with an IP address its actually related to...  i.e.

replace ***** with (12.13.12.13). so that when ever ****** pops up on my table its replaced with the IP's above.

but everytime I search I get a failure stating I can't use consecutive ******  

|replace "*****" with  (12.13.12.13)  

how can I literally reference ***** as a strings instead of SPL thinking I am saying to search anything bc of the ****** 

 

0 Karma
1 Solution

isoutamo
SplunkTrust
SplunkTrust
Please try to escape every * with \. Basically that means “\*\*\*\*\*”. Some cases you must use more than one \ to escape character.
r. Ismo

View solution in original post

isoutamo
SplunkTrust
SplunkTrust
Please try to escape every * with \. Basically that means “\*\*\*\*\*”. Some cases you must use more than one \ to escape character.
r. Ismo

hurryupfool123
Explorer

thank you!  don't know why I didn't think of that! 

0 Karma
Get Updates on the Splunk Community!

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...