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!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

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