AppD Archive

Getter Chain on Return Values?

Hiten_Bhatia
Path Finder

Hi,

 I Need help in using getter chain on return values so as to split the desired content from return value.

e.g

   if return value is xyz,test,abc so need to use split to get xyz. PFB the snap .Do tell me what is wrong in thisimage.png

On using this am getting "Could not Evaluate,Cannot find specified method" 

0 Karma
1 Solution

Hiten_Bhatia
Path Finder

Found the answer myself "We need to use toString().split(\,).[0]" Need to use tostring() for the split function to work

View solution in original post

0 Karma

Hiten_Bhatia
Path Finder

Found the answer myself "We need to use toString().split(\,).[0]" Need to use tostring() for the split function to work

0 Karma
Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

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

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...