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!

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...