Splunk Enterprise

How to log records being viewed by custom web app users?

aklare
New Member

How can we log records being viewed by custom web app users to Splunk?  We need to log web app data usage info such as what user took what action on what record at what time.  We have been told to have our web app code write entries to the Windows Event Viewer which we can easily do but we don't want to write to an existing Application log and muddy up the information logged there.  There is the idea of creating a custom Event Viewer log but that requires a registry change on all machines where we would need to do this and we don't directly have those permissions.  And any new servers being set up would need to have this change made also.  Seems like a hassle to maintain.  Is there a better way to write custom usage data to Splunk?

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

I see three options for logging the records:

1) Write them to a local file and have a locally-installed Universal Forwarder send them to Splunk.

2) Write them directly to Splunk using the HTTP Event Collector (HEC).

3) Use syslog to send them to a syslog collector for forwarding to Splunk.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...