Information Gathering
Splunk Enterprise is a proprietary data platform for searching, monitoring and analysing machine-generated data. It supports log analysis, IT operations and observability, and it provides the platform on which the separately licensed Splunk Enterprise Security premium SIEM app runs. Splunk is not packaged by Kali Linux: download the official Linux .deb, .rpm or .tgz package from splunk.com, sign in when required, and substitute the actual downloaded filename for the <version> placeholder used in this guide.
sudo dpkg -i splunk-<version>-linux-amd64.deb
/opt/splunk/bin/splunk search 'index=main error'
Splunk Enterprise is a proprietary platform for indexing, searching, monitoring and analysing machine-generated data. Michael Baum, Rob Das and Erik Swan founded Splunk in 2003. Cisco announced an agreement to acquire Splunk on 2023-09-21 and completed the acquisition on 2024-03-18 for approximately $28 billion at $157 per share. Splunk remains proprietary commercial software rather than an open-source project.
The platform's central investigation language is SPL, the Search Processing Language. A beginner can start with field terms such as `index=main`, `sourcetype=access_combined`, `host=web01`, `status=404`, `earliest=-24h` and `latest=now`, then transform matching events through commands such as `stats`, `timechart`, `chart`, `table`, `eval`, `where`, `top`, `rare`, `dedup`, `sort`, `head`, `fields`, `rename`, `rex`, `lookup`, `eventstats`, `streamstats`, `bin` and `fillnull`. Each pipeline should be interpreted in the context of its time range, index, source type and field extraction.
Splunk is often called a SIEM tool, but accurate product naming matters. Splunk Enterprise is the data platform, while Splunk Enterprise Security is the separately licensed premium SIEM app that runs on it. Splunk SOAR addresses automation and orchestration, and ITSI provides IT service intelligence. The Common Information Model helps normalize fields across sources, while knowledge objects such as saved searches, dashboards, alerts, lookups, event types, tags, macros and data models make validated searches reusable.
Linux installation uses an official package downloaded from splunk.com. There is no Kali Linux Splunk package and no supported `apt install splunk` route. The official DEB installs beneath `/opt/splunk`; RPM and tar packages are also available. The first installation receives a 60-day Enterprise Trial. A deployment can later switch to Splunk Free, which does not expire but permits only 500 MB of indexing per day and removes authentication, alerting and distributed-management capabilities.
| Command | Purpose |
|---|---|
sudo dpkg -i splunk-<version>-linux-amd64.deb | Install the downloaded official Splunk Enterprise DEB package into /opt/splunk. |
/opt/splunk/bin/splunk start --accept-license | Accept the licence and start Splunk for the first time. |
/opt/splunk/bin/splunk status | Check whether the local Splunk instance is running. |
/opt/splunk/bin/splunk add monitor /var/log/auth.log -sourcetype syslog -index main | Monitor the authentication log as syslog data in the main index. |
/opt/splunk/bin/splunk search 'eventtype=webaccess error' -wrap 0 | Run a historical CLI search without wrapped output. |
/opt/splunk/bin/splunk btool inputs list --debug | Inspect merged input settings and their source files. |
sudo dpkg -i splunk-<version>-linux-amd64.debInstall the downloaded official Splunk Enterprise DEB package into /opt/splunk.rpm -i splunk-<version>-linux-amd64.rpmInstall the downloaded official Splunk Enterprise RPM package with /opt/splunk as the default location.tar xvzf splunk-<version>-linux-amd64.tgz -C /optExtract the downloaded official Splunk Enterprise tar package beneath /opt./opt/splunk/bin/splunk start --accept-licenseAccept the licence and start Splunk for the first time so the administrator account can be created./opt/splunk/bin/splunk startStart an installed Splunk Enterprise instance./opt/splunk/bin/splunk stopStop the local Splunk Enterprise instance./opt/splunk/bin/splunk restartRestart Splunk after an approved configuration or licence change./opt/splunk/bin/splunk statusDisplay whether the local Splunk instance is running./opt/splunk/bin/splunk versionPrint the installed Splunk version for inventory and troubleshooting./opt/splunk/bin/splunk helpDisplay help for the installed Splunk command-line interface./opt/splunk/bin/splunk enable boot-startConfigure Splunk to start during system boot./opt/splunk/bin/splunk disable boot-startDisable the previously configured Splunk boot-start behavior./opt/splunk/bin/splunk add monitor /var/log/Create a monitor input for files beneath /var/log./opt/splunk/bin/splunk add monitor /var/log/auth.log -sourcetype syslog -index mainMonitor the authentication log and send its events to the main index with the syslog source type./opt/splunk/bin/splunk list monitorList configured monitor inputs./opt/splunk/bin/splunk remove monitor /var/logRemove the monitor input associated with /var/log./opt/splunk/bin/splunk add oneshot /var/log/auth.log -index main -sourcetype syslogIndex the selected authentication log once instead of monitoring it continuously./opt/splunk/bin/splunk enable listen 9997Enable a Splunk receiving port on the standard splunktcp port 9997./opt/splunkforwarder/bin/splunk add forward-server <indexer-host>:9997 -auth admin:<password>Configure a Universal Forwarder to send data to the selected Splunk receiver./opt/splunkforwarder/bin/splunk list forward-serverList forwarding destinations configured on the Universal Forwarder./opt/splunk/bin/splunk list licensesList the licences known to the local Splunk instance./opt/splunk/bin/splunk list jobsList search jobs visible through the Splunk CLI./opt/splunk/bin/splunk list indexList indexes configured on the Splunk instance./opt/splunk/bin/splunk search 'eventtype=webaccess error' -wrap 0Run the documented historical search and disable line wrapping in its CLI output./opt/splunk/bin/splunk rtsearch 'error' -wrap falseRun a real-time search for events containing error without wrapped output./opt/splunk/bin/splunk set web-port 8000Set Splunk Web to the standard port 8000./opt/splunk/bin/splunk show web-portDisplay the currently configured Splunk Web port./opt/splunk/bin/splunk validate filesValidate installed Splunk files using the Splunk-provided validation command./opt/splunk/bin/splunk btool inputs list --debugDisplay merged inputs configuration and the files from which each setting originated./opt/splunk/bin/splunk diagCreate diagnostic data for controlled troubleshooting.Index approved system and application logs, filter events by time, host, source, source type or index, and transform the results into tables and aggregate counts.
Search authentication, web and internal machine data for operational or security-relevant patterns while preserving the exact SPL and time range used for each investigation.
Use stats, chart and timechart to summarize machine data and reveal changes in event volume or status values over selected periods.
Collect approved files on remote Linux systems with the lightweight Universal Forwarder and send them to a receiver on splunktcp port 9997.
Create saved searches, dashboards, lookups, event types, tags, macros and data models so reviewed analysis can be reused consistently.
Provide the indexed data and normalization foundation required by a separately licensed deployment of the premium Splunk Enterprise Security SIEM app.
Splunk Enterprise indexes, searches, monitors and analyses machine-generated data. It is used for log analysis, IT operations, observability and as the underlying platform for the separately licensed Splunk Enterprise Security SIEM app.
No. Kali Linux has no Splunk package. Download an official Linux DEB, RPM or tar package from splunk.com and substitute the actual downloaded filename for the package placeholder.
Splunk Free permits 500 MB of indexing per day on one standalone instance and does not expire, but it has no login, alerting, users, roles, distributed search, indexer clustering, deployment management or report acceleration.
SPL is the Search Processing Language used to filter and transform indexed events with commands such as search, stats, timechart, table, eval, where, top, dedup, rex and lookup.
The Universal Forwarder is a separate lightweight package that has no Splunk Web or Python and sends monitored data to a Splunk receiver, commonly over splunktcp port 9997.
Splunk is proprietary commercial software, while Wazuh is a free open-source SIEM/XDR platform. Splunk Enterprise Security is a premium SIEM app licensed separately on top of Splunk Enterprise.
Information Gathering
Learn how to use Nmap, the free open-source network scanner: run your first port scan, discover live hosts, detect services and operating systems, and check for vulnerabilities with NSE scripts — a beginner tutorial for Kali Linux.
Vulnerability Analysis
OpenVAS (Open Vulnerability Assessment System) is a full-featured vulnerability scanner providing a comprehensive architectural network engine that checks endpoints against thousands of active vulnerability feeds.
Sniffing & Spoofing
Wireshark tutorial for beginners: capture packets, read the three panes, filter traffic and follow TCP streams — a hands-on guide to the world's foremost network protocol analyzer.
Vulnerability Analysis
Lynis is a battle-tested security auditing tool for systems running Linux, macOS, or Unix-based operating systems. It performs an in-depth local scan to discover security weaknesses, configuration flaws, and system hardening opportunities.
Information Gathering
Wazuh is a free, open-source security platform combining SIEM and XDR capabilities for endpoints and cloud workloads. Its architecture uses a universal endpoint agent plus the Wazuh server, OpenSearch-based Wazuh indexer and OpenSearch Dashboards-based Wazuh dashboard, with Filebeat sending alerts from the server to the indexer. Kali Linux has no Wazuh package: install only the agent through the official Wazuh APT repository on Kali, and run the manager, indexer and dashboard on a supported 64-bit Linux host such as Ubuntu 22.04 or 24.04.
Information Gathering
OWASP Amass is the industry-standard in-depth network mapping and attack surface discovery tool. It uses active and passive techniques, scraping 20+ public data feeds, DNS enumeration, and certificate transparency logs to discover subdomains, IP addresses, and ASN data — making it essential for penetration testing, bug bounty hunting, and enterprise security assessments.
Master DNS enumeration techniques from basic queries to advanced zone transfers, subdomain brute forcing, and DNS security assessment using Kali Linux tools.
OSINT · IntermediateLearn a complete reconnaissance workflow combining OSINT, DNS enumeration, subdomain discovery, and active scanning for comprehensive target profiling.
OSINT · IntermediateLearn how to use WHOIS lookups for domain registration intelligence, including querying registrar data, analyzing historical records, and privacy protection.
OSINT · IntermediateLearn to use Amass for comprehensive attack surface mapping including DNS enumeration, subdomain discovery, integration with APIs, and visualizations.
Splunk CLI output depends on the administrative command, while SPL output depends on the fields and transforming commands selected in the search. `splunk status` reports whether the local service is running; `splunk list monitor` enumerates monitor inputs; `splunk list forward-server` shows forwarding destinations; and `splunk list licenses`, `splunk list jobs` and `splunk list index` expose licence, search-job and index information respectively. A search such as `index=main sourcetype=access_combined status=404 | stats count by clientip | sort - count` produces a result table whose `clientip` column identifies each grouped client address and whose `count` column records the number of matching events. The following is illustrative lab output, not a verbatim quotation from Splunk documentation: `clientip count` followed by `<client-ip> <event-count>`. A time-series search such as `index=main sourcetype=access_combined status=404 | timechart count by status` returns time buckets in `_time` and a series for the grouped status value. Again, illustrative lab output would be `_time 404` followed by `<time-bucket> <event-count>`. A result means only that indexed events matched the selected fields, time range and SPL pipeline; it does not prove that every source event was collected, parsed or retained. Empty output can result from the selected time window, index, source type, field extraction, permissions or missing data, so validate the input and search scope before concluding that an event never occurred.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.