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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...