Getting Data In

monitoring /dev/console /dev/tty

JasonCzerak
Explorer

Has anyone figured out how to monitor /dev/console?

araitz
Splunk Employee
Splunk Employee

Can you be more specific as to why you want to monitor /dev/console and what you want to monitor for?

If you have root, in Python you can use read() or os.read() to open /dev/console, which you could use in a scripted input:

f = open('/dev/console', 'r')
# do stuff like read()
0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...