Deployment Architecture

Splunk how to filter today and yesterday logs? what's CLI command?

alexander01
New Member

I will filter today and yesterday logs on splunk,but i don't konw what's command?

can you tell me? thank you

Tags (1)
0 Karma

renjith_nair
Legend

If you are looking for splunk search from CLI, refer to http://docs.splunk.com/Documentation/Splunk/6.5.1/SearchReference/CLIsearchsyntax

something like

./splunk search 'index=_internal|stats count' earliest=-1d latest=now
Happy Splunking!
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 ...