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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...