Getting Data In

How do you show sourcetype of a monitor on a Universal Forwarder 5.0.4 via CLI

myou
Explorer

I set a source override for a monitor in Splunk version 5.0.4
Example: splunk add monitor /var/log/maillog-in -sourcetype postfix_syslog

I would like to be able to see that it was successful via the CLI
'splunk list monitor /var/log/maillog-in' does not provide the details.

0 Karma

myou
Explorer

There does not appear to be a way to do this via cli yet. However the information can be shown via a REST point.

https://localhost:8089/services/admin/inputstatus/TailingProcessor:FileStatus

0 Karma
Get Updates on the Splunk Community!

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...

Join Us at the Builder Bar at .conf24 – Empowering Innovation and Collaboration

What is the Builder Bar? The Builder Bar is more than just a place; it's a hub of creativity, collaboration, ...

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...