Splunk AppDynamics

Getter chain spilt rule for data collector

Jubin_Patel1
New Member

Hello,

Is there is any way where we can split "00" & "Success.... " from response message:

[00|Successful Transaction|****3672915|***********]

Please suggest.

Labels (1)
0 Karma

Jubin_Patel1
New Member

Hello Team,

For one of the MIDC configured on class / method for parameter 0 we are getting 

[123456, 123456, 123456, 123456, 123456, 123456] 

Now, if we want only one value rather than the entire value. Is it possible to do with getter chain split rules.

Any suggestions please.

0 Karma

Morelz
Builder

Hi there

You should be able to cast to a string and do a split, which should remove everything after the first comma

toString().split(,).[0] or toString().split(,).[1]

Should be one of the 2 above, don't have my notes with me to validate:)

Sean_Davey
Path Finder

Hi,

I am trying to set up the same thing myself..did you get an answer on this?

0 Karma

iamryan
Community Manager
Community Manager

Hello @Jubin.Patel @Sean.Davey 

I found this KB article that I think may help shed some insight on your question.

https://community.appdynamics.com/t5/Knowledge-Base/How-do-I-format-a-getter-chain-split-rule-in-the...

If that article is helpful, please do share any learnings you gained back on this post to help others who may have the same question.

0 Karma

Sean_Davey
Path Finder

Hi Ryan

I have tried to set it up using this information from that KB before but cant seem to get it to work.  What should we use as the getter string to pull out the first value.  The KB is used for an Array as opposed to a single string with the same value separated by commas

Thanks

0 Karma

iamryan
Community Manager
Community Manager

Hi @Sean.Davey,

Thanks for getting back to me. Sorry that link didn't fully help. Unfortunately, I don't know the answer to that, let's see if the community can jump in and help out. 

If you happen to find any new information on this, please do share your learnings back on the post. This helps grow the community's knowledge bank of answers. 

0 Karma

Sean_Davey
Path Finder

Hi @Ryan.Paredez 

Where else can I search to find if others have done this.  This seems like it should be a fairly easy set up but I cant find any documentation on it anywhere else in the community, KB or discussion pages.   

Thanks

0 Karma

iamryan
Community Manager
Community Manager

Hi @Sean.Davey,

You have searched all the places that it would be found in AppD hosted places. If I happen to find anything that will be helpful, I will share it here, please try and do the same if you can.

0 Karma
Get Updates on the Splunk Community!

New This Month - Splunk Observability updates and improvements for faster ...

What’s New? This month, we’re delivering several enhancements across Splunk Observability Cloud for faster and ...

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...