Splunk Search

I would like to see only the last item of a search

mwcentracomm
Explorer

Hello

I would like a search to show the last entry of host="1.1.1.1", and show the full entry.

 

Thank you

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

If by "last" you mean most recent, then use head 1 to see the entry.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

If by "last" you mean most recent, then use head 1 to see the entry.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...