Splunk AppDynamics

Extract a value from a invoked object using data collectors

Arthur_Oliveira
Explorer

Hi there,

I'm trying to collect information from a object created during the execution of a method using a data collector, but no matter how I try to set it up the collector keeps returning only that it wasn't able to find the object I specified. The part of the code where the object is created is the following:

	Franchising franch;
	using (var franchisingBusiness = new FranchisingBusiness())
		franch = franchisingBusiness.GetByServiceUserID(GetContextUserID());

	//Setar a cultura do país
	SetCulture(franch.Country.CultureInfo);

I'm trying to get the "CultureInfo" value from the object "franch". I tried using getter chain on invoked object using class name and object name, but none worked. How can I accomplish this?

Thanks!

Labels (1)
0 Karma
1 Solution

Arthur_Oliveira
Explorer

Just to share how I managed to get the info:

I created a collector and applied the getter chain on the return of the method GetByServiceUserID, as follows: image.png

View solution in original post

Arthur_Oliveira
Explorer

Just to share how I managed to get the info:

I created a collector and applied the getter chain on the return of the method GetByServiceUserID, as follows: image.png

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...