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!

Agentic Operations Start with Context: Build the Right Data Foundation

Agentic Operations Start with Context: Build the Right Data Foundation   By Courtney Wright, Product Marketing ...

Assisted, Augmented or Agentic? Choose Your Splunk Starting Point

Assisted, Augmented or Agentic? Choose Your Splunk Starting Point   By Courtney Wright, Product Marketing ...

Session 2 | Beyond the Thread: Operationalizing AI with Confidence

Session 2   Beyond the Thread: Operationalizing AI with Confidence    The true power of the Cisco Data Fabric ...