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

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!

Catalog Is Now Generally Available on Splunk Cloud Platform

A Unified View of Your Data  Security logs, application events, business data, and historical telemetry often ...

Developer Spotlight with Eduard Lekanne

From Network Engineer to Building Agentic AI for Splunk Eduard Lekanne has been architecting technology ...

From Data Landing to Insight

Search Across More of Your Data Ecosystem The data you need may live in Splunk, high-volume machine data, ...