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
Builder

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
Builder

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
Builder

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!

Best Strategies to Optimize Observability Costs

 Join us on Tuesday, May 6, 2025, at 11 AM PDT / 2 PM EDT for an insightful session on optimizing ...

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...