Splunk AppDynamics

Getting error " [CANNOT EVALUATE: Could not find specified method = [XXX()]" while try to do datacollection

Sonu_Sunny
New Member

Getting error " [CANNOT EVALUATE: Could not find specified method = [XXX()]" while try to do datacollection. I have done the live preview and data is there in XXX(). Please advise a solution for the same,

Labels (3)
Tags (1)
0 Karma

Morelz
Motivator

Hi Sonu

Is it possible to share screenshots of your live preview(removing sensitive information) as well as the screen with the data collector configuration?

If it works in love preview, it should work when collecting

Ciao

Sonu_Sunny
New Member

image.pngimage.png

Hi PFA

0 Karma

Morelz
Motivator

Thanks Sonu

Can you provide from the live preview the Tree Structure to where the filed is that you are trying to extract?

E.g Param1

          > Details

            > sink_node

0 Karma

Sonu_Sunny
New Member

image.pngimage.png

image.png

Please find the details

0 Karma

Morelz
Motivator

Thanks Sonu

You should be able to use the following

db.sink_node

You can actually check that your data collection works by doing the following, before adding in the data collector

1. Go to the transaction detection section, and click on the + Sign, as if you are going to create a new rule.

2. Select Java then POJO and use the live preview option

3. Then add in your method and class, and then use the Transaction splitting option, where you use the above getter chain and use parameter 1

4. You will then see in the Preview Business Transaction section that it should show a count of each time a value is collected.

Ciao

Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...