Getting Data In

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

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,
                0, 0, 0, l_MiddleWare.Plugin);

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


Any errors or exceptions to share?

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!