Getting Data In

Why is the SEDCMD not working when ingesting a CSV via the web interface?

eugenek
Path Finder

Using the 7.0.1 web interface to ingest a CSV, and the SEDCMD command is not working. Tried reducing to the simplest possible scenario below.

alt text

0 Karma

eugenek
Path Finder

Upgraded to 7.1.0, and same issue.

0 Karma

micahkemp
Champion

You need a trailing slash (or more specifically, a slash to denote the end of your replacement string and the start of flags):

SEDCMD-test = y/o/O/

From the props.conf SEDCMD section:

substitute - y/string1/string2/
0 Karma

eugenek
Path Finder

Good catch. I was trying to come up with the simplest example possible, and had a typo. However, it still doesn't work (screenshot updated). Does it work for you?

0 Karma
Get Updates on the Splunk Community!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...