All Apps and Add-ons

nomv seems to add whitespace

markucsb
Explorer

I have a multi-valued field that I'm trying to collapse down to a single value but the nomv command adds a whitespace character between the individual values of the field. This is a Base64 encoded string that needs to be a single continuous line with no added characters or whitespace, I have a checksum with the number of characters that needs to match the value of this field's character count.
I have tried trimming the individual values prior to combining however it seems that the actual nomv command adds the whitespace characters, does anyone have any ideas of how I can solve this or is this a limitation of nomv?

0 Karma

markucsb
Explorer

I think I answered my own question, use "eval newField=mvjoin(oldField,"")

0 Karma
Get Updates on the Splunk Community!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

Industry Solutions for Supply Chain and OT, Amazon Use Cases, Plus More New Articles ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Enterprise Security Content Update (ESCU) | New Releases

In November, the Splunk Threat Research Team had one release of new security content via the Enterprise ...