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!

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...