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!

Developer Spotlight with Brett Adams

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

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...