← Back In the print window choose “Save as PDF” as the printer.

Splunk cheatsheet

Search millions of log lines and see what is happening

UnixDroid

How it works

  1. Collect — Logs arrive from many machines.
  2. Index — Events are stored with their time and fields.
  3. Search — SPL queries filter and count events.
  4. Alert — Rules warn the team when something unusual happens.

First steps

index=main error
Find events containing "error"
index=main | stats count by host
Count events per machine
index=main "Failed password" | stats count by src_ip
Count failed logins by source — a classic defence check
| timechart count
Draw events over time
Logs contain personal and sensitive data. Give access only to people who need it and follow your company retention rules. Practise only on your own computer, your own network or a lab that gives you permission. Using security tools on systems that are not yours can be a crime (in India under the IT Act).