UnixDroid

Blue team / SOC · Beginner

Splunk tutorial for beginners

Search millions of log lines and see what is happening

Splunk screen demo — an illustration with sample data

What is Splunk?

Splunk is a platform that collects logs from servers, apps and security devices, then lets you search them, build dashboards and create alerts. It is widely used in Security Operations Centres (SOC).

How Splunk works

  1. 1

    Collect

    Logs arrive from many machines.

  2. 2

    Index

    Events are stored with their time and fields.

  3. 3

    Search

    SPL queries filter and count events.

  4. 4

    Alert

    Rules warn the team when something unusual happens.

What is a SIEM?

Security Information and Event Management: one place where logs are collected, searched and alerted on.

Start learning

Splunk offers a free trial and free training. Load a sample log, search it, count events, then draw a chart.

Splunk 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

Use Splunk safely and legally

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

Splunk — common questions

What is Splunk used for?

Splunk is a platform that collects logs from servers, apps and security devices, then lets you search them, build dashboards and create alerts. It is widely used in Security Operations Centres (SOC).

Splunk kya hai?

Splunk logs ko ikattha karke search, dashboard aur alert banane ka platform hai, jo SOC mein bahut use hota hai.

Is Splunk free?

There is a free trial and a limited free licence for learning.

What job uses Splunk?

SOC analyst, security engineer and site reliability roles.

Related topics: splunk tutorial · splunk kya hai · siem for beginners · soc analyst tools · spl search