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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...