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
---
What goes around comes around. If it helps, hit it with Karma 🙂
Get Updates on the Splunk Community!

Observability Release Update: AI Assistant, AppD + Observability Cloud Integrations & ...

This month’s releases across the Splunk Observability portfolio deliver earlier detection and faster ...

Stay Connected: Your Guide to February Tech Talks, Office Hours, and Webinars!

💌Keep the new year’s momentum going with our February lineup of Community Office Hours, Tech Talks, ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...