Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.54 KB

File metadata and controls

24 lines (20 loc) · 1.54 KB

Forwarding Logs to Splunk

Context

Website

I have a website that colorizes black and white images using a PyTorch machine learning model.

main_page results_page

Photo Before and After

frame_bw frame_colorized

Getting Data Into Splunk

I used an instance of Splunk Enterprise on a DigitalOcean VM. I set up a reciever on this machine. I set up the Splunk Universal Forwarder on the web app host, and forwarded all web traffic logs to Splunk to the indexer 'bw_webapp'. I then made the dashboard above with the logs.

Visualizations via Splunk

My final dashboard to visualize the black and white colorizer webapp traffic.

Screenshot 2024-10-24 at 2 37 01 PM

Note

I would disclose the URL of my site, and the nginx reverse-proxy & TLS encyption configuration, but I am afraid of getting DDoS'ed, as my cloud architecture does not autoscale.