cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Data collection and getter chain query

Sonu.Sunny
Wanderer

Scenario :123 [abc xyz  11111 ]

 

I want to create a getter chain to collect the data in the middle of an array (xyz) where abc and xyz are dynamic . Could anyone help me to get the right getter chain to capture data in analytics.

 

toString().split(123\\\ [).[1].xxx

3 REPLIES 3

Mario.Morelli
Architect

Hi Sonu

 

1. Can you advise if the value after xyz is always the same? In your example 11111

2. Can you advise if abc and xyz are always certain length long, e.g 3 characters, integers or does it vary?

 

Ciao



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Learn more about me in the Community Member Spotlight Q & A

Hi, @Mario.Morelli 

 

All data is dynamic and length also will vary.

Hi Sonu

 

Is it possible to share a sample of a payload? Just replace sensitive information

 

Ciao



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Learn more about me in the Community Member Spotlight Q & A
Join Us On December 10
Learn how Splunk and AppDynamics are redefining observability


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here