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!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...