Reporting

PHP error reporting from page to splunk

websfera
Engager

Is it possible?

Tags (3)
0 Karma

Drainy
Champion

Yes, yes it is entirely within the realms of possibility

websfera
Engager

I'm really tired... Thanks Drainy for your clues. I'll try it tomorrow at work 🙂

0 Karma

Drainy
Champion

and hopefully this is the part where you realise why I posted such a short answer... this is all stuff you need to provide in a question!
So in that case you use a Splunk Universal Forwarder or syslog to forward the logs back to your indexer, from there you have centralised logging and searching for all your data 🙂

websfera
Engager

Yes it is possible,a d I've found it too 🙂 But my splunk is on other server than my sites

0 Karma

Drainy
Champion

Ok, so I just ran a single search on Google for php error log and it appears all PHP errors (if configured) are logged to an error_log file, you could index this within Splunk as you would any other log file

0 Karma

websfera
Engager

Well, have you got any starting point, cause I'm digging about 3 hours and nothing useful found.

0 Karma

websfera
Engager

I'm trying to send error message to splunk.
For example: one developer made change in SQL table structure but didn't informed a code developer to make appropriate changes to SQL query. It will throw error, and this error message is what I want to relay to splunk

0 Karma

piebob
Splunk Employee
Splunk Employee

could you be a bit more specific about what you're trying to do?

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...