Splunk Search

Remove $ (dollar) characters in field results

numeroinconnu12
Path Finder

Morning, everyone,

Thank you in advance for your help.

I would like to remove a part of a character from my results.

My query results look like this:

j2874a8B$

I'd like to delete the $ to get it:

j2874a8B

How do I proceed? Thank you very much.

Labels (2)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
| rex field=result mode=sed "s/\$//g"

View solution in original post

0 Karma

numeroinconnu12
Path Finder

Thank you @ITWhisperer  it's work.  

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| rex field=result mode=sed "s/\$//g"
0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...