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

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

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

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...