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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...