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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...