Splunk AppDynamics

Data collection and getter chain query

Sonu_Sunny
New Member

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

Labels (3)
0 Karma

Morelz
Builder

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

0 Karma

Sonu_Sunny
New Member

Hi, @Mario.Morelli 

All data is dynamic and length also will vary.

0 Karma

Morelz
Builder

Hi Sonu

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

Ciao

Get Updates on the Splunk Community!

Introducing the Splunk Developer Program!

Hey Splunk community!  We are excited to announce that Splunk is launching the Splunk Developer Program in ...

Splunkbase Year in Review 2024

Reflecting on 2024, it’s clear that innovation and collaboration have defined the journey for Splunk ...

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...