Getting Data In

List the files being monitored with listtails in 4.1.1

seanlon11
Path Finder

The command below used to work on previous versions (4.0.8), but now that I have upgraded, I get the error below.

wasadmin@apache05:/opt/splunk/server/splunk/bin> ./splunk cmd listtails

couldn't run "/opt/splunk/server/splunk/bin/listtails": No such file or directory

Any ideas on how to list the files being monitored?

Thanks, Sean

Tags (1)

muebel
SplunkTrust
SplunkTrust

You can use

$SPLUNK_HOME/bin/splunk list monitor

for a list of all things that splunk is currently monitoring.

Check http://www.splunk.com/base/Documentation/latest/Admin/CLIadmincommands for reference on this.

0 Karma

the_wolverine
Champion

listtails has been deprecated for version 4.1 and there currently is no replacement for its function although, ./splunk list monitor may provide the information that you're looking for.

listtails will survive after a migration from 4.0x but since it is based on the old tailing code, it should not be used in version 4.1 (which has all new tailing code.)

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 ...