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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

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 ...