Splunk Search

How to search for the the last data point in a graph for each host in a table?

minkyuk
Explorer

In a given graph, say,

[|inputlookup capacityQuarterOne.csv] in which I have a big table of [ host / used_mb ] for every different host.

The search runs for past x # of days (7 days, 30 days, 1 quarter, etc.).

How could I find the LAST point in the graph (final point) for each host in the table?
I just want to make sure it's less than max threshold cap, so I want to report the final point for every host in the graph.

I would highly appreciate any input from you Splucktians,

Thank you in advance,
Jack

Tags (3)
0 Karma
1 Solution

woodcock
Esteemed Legend

Like this:

... | dedup host

View solution in original post

0 Karma

woodcock
Esteemed Legend

Like this:

... | dedup host
0 Karma

minkyuk
Explorer

Isn't dedup just omitting duplicating elements?

0 Karma

woodcock
Esteemed Legend

It works by keeping the latest example of the deduped fields. It does exactly what you are desiring: keep the most recent event for each host.

0 Karma
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...