cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Java (Java Agent, Installation, JVM, and Controller Installation)

Getter chain spilt rule for data collector

Jubin.Patel
Voyager

Getter chain spilt rule for data collector

Hello,

 

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

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

 

Please suggest.

 

 

By replying you agree to the Terms and Conditions of the AppDynamics Community.
Getter chain spilt rule for data collector
8 REPLIES 8
Jubin.Patel
Voyager

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.

Sean.Davey
Builder

Hi,

 

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

Ryan.Paredez
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.

 

 


Thanks,
Ryan, AppDynamics Community Manager



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

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

Ryan.Paredez
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. 


Thanks,
Ryan, AppDynamics Community Manager



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

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

Ryan.Paredez
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.


Thanks,
Ryan, AppDynamics Community Manager



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

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:)



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