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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...