Getting Data In

How to send log from Wordpress or PHP website to Splunk?

sumitmove
New Member

We want to send custom logs from Wordpress Website to Splunk account. We already have a Splunk account.

We tried with PHP SDK but it looks like it is depreciated. We also like to know why The Splunk Software Development Kit for PHP is Deprecated?
We also try to connect the WordPress website with Splunk by using one Plugin called MiragetConnector https://wordpress.org/plugins/miragetconnector/ but this plugin also giving error.

Our end goal is to send the log to Splunk either by using PHP or by using any plugin from WordPress. Please let us know how can we achieve it? If we can do it by using any paid service then also we are open to it.

Tags (2)
0 Karma

SimpleHistory
New Member

Hey, I know this is an old thread but I did come across it while researching WordPress and Splunk integration, because I develop a WP audit log plugin where we planned to add integration to Splunk, so I wanted to know the current situation. I ended up adding Slunk integration to my plugin, so anything interesting are very welcome to try that:

https://simple-history.com/docs/splunk/

0 Karma

robinettdonWY
Path Finder

You could send your log to the Splunk Http Event Collector (HEC). curl to HEC; you can send raw or JSON.

0 Karma

wmyersas
Builder

Use the Universal Forwarder, and ingest the Apache/Nginx logs

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Analytics Workspace removal in Splunk 10.6

In Splunk Cloud Platform and Splunk Enterprise 10.6, Analytics Workspace is removed from product and no longer ...

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...