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!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

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

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...