Splunk AppDynamics

Method Invocation Data Collectors from System.Web.Mvc.JsonResult

Zoltan_Gutleber
Explorer

Hi, 

I have this method:

public ActionResult MethodEZ(EZDokumentJson dokument)

JsonResult:

{
"Data1": "",
"Data2": null,
"Data3": null,
"Data4": null,
"DokumentId": "dvsd-5dsafd-55555-1111-afdfas"
}

I would like to ask you for help with collecting data from JsonResult. 

Here are my last attempts that don't work.
My Data Collection look like this:

image.png

  • ToString().Split(string/"DokumentId": ).[1].Split(string/,).[0] 
  • toString().split("DokumentId").[1].split(\,).[0]

Thanks....

Labels (1)
0 Karma
1 Solution

Zoltan_Gutleber
Explorer

I have already found a solution

Data().DokumentId

View solution in original post

0 Karma

iamryan
Community Manager
Community Manager

Hi @Zoltan.Gutleber,

Thanks so much for following up with the solution. We really like to see members sharing new discoveries and insights with the community!

0 Karma

Zoltan_Gutleber
Explorer

I have already found a solution

Data().DokumentId
0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...