Getting Data In

Why am I not able to view my JSON Logs that are being sent to the HEC?

sibrahimi
New Member

JObject l_JsonObj = JObject.Parse(l_strJson);

            ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };
            var l_MiddleWare = new HttpEventCollectorResendMiddleware(l_oLogPoint.ResendMiddlewareCount);

            var l_EventCollectorSender = new HttpEventCollectorSender(new Uri(l_oLogPoint.ServerEndpoint), l_oLogPoint.Token,
                null,
                HttpEventCollectorSender.SendMode.Sequential,
                0, 0, 0, l_MiddleWare.Plugin);

            l_EventCollectorSender.Send(Guid.NewGuid().ToString(), "INFO", null, l_JsonObj);
            await l_EventCollectorSender.FlushAsync();
0 Karma

jkat54
SplunkTrust
SplunkTrust

Any errors or exceptions to share?

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...