Archive
Highlighted

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

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
Highlighted

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

SplunkTrust
SplunkTrust

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