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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...