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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...