Splunk AppDynamics

.Net Data Collector

Dietrich_Meier
Communicator

I have a Transaction/Analytics Data Collector configured that returns the correct data in transaction snapshots, but does not display it correctly in an Analytics search.

DC: APR_PackageNames

I do not readily have access to the Devs and source code, is there a way that I can return the Collector corretly in Analytics, like how it looks in Snapshots?
If the collector is returning a string awway, how can I convert it in the field where I define my getter in Analytics?

*Update
Controller and .Net agents version  4.4.1.0

See photos below.

image.pngimage.pngimage.png

Labels (1)
0 Karma
1 Solution

Dietrich_Meier
Communicator

Hi

Is was in the data collector config.

image.png

View solution in original post

Chitra_Lal
Contributor

Hi Dietrich,

No, we cannot define getter in analytics, neither can we change the data type in Analytics, it will show you whatever format it receives a value in; No external conversions are possible. 

Are you setting a getter chain in thetransaction snapshots data collector config so you are getting the correct values? Can you share a screenhsot of the APM side data collector.

Thanks,

Chitra

0 Karma

Dietrich_Meier
Communicator

Hi Chitra

Thanks fort clarifying on the conversions.

We only defined one data collector and turned it on for Snapshots and Analytics.
See below.

image.png

Config screenshots attached below.

My main issue is that the Collector resturns the correct data in the snapshots, but not in the Analytics Module, even when it is the one collector.

image.pngimage.png

0 Karma

Chitra_Lal
Contributor

Hi Dietrich,

It should report same value at both the places; Can you try setting the getter chain as, PackageNames().toString() in the data collector config and see if that helps.

Thanks,

Chitra

0 Karma

Dietrich_Meier
Communicator

Hi

I am also expecting it to return the same at both places but it is not.

I tried using PackageNames().toString() but it then complains about the following:


image.pngimage.png

0 Karma

Dietrich_Meier
Communicator

Update:

Think I found a solution by using .NET Framework Class Library methods.

Original: PackageNames()


New: PackageNames().GetValue(0)

0 Karma

Chitra_Lal
Contributor

Hi Dietrich,

Really glad to know that. Would you mind clarifying where did you add this getter chain, PackageNames().GetValue(0) : in the data collector config or in your code? 

Thank You,

Chitra

0 Karma

Dietrich_Meier
Communicator

Hi

Is was in the data collector config.

image.png

Get Updates on the Splunk Community!

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...