Splunk Search

User due date chart over time

Colbasaur
New Member

Hello all!

I am fairly new to SPLUNK but I wanted to make a chart that would use the X axis for a specified amount of time (span=3y), the Y axis for a list of users, and the plotted data points for due dates unique to that user. Below is a crude example of what I am trying to do...SPLUNK_EX.PNG

 I've been experimenting with the "timechart" command but I can't seem to figure out how to change the Y axis (if that is even possible). Is there a better way to approach this?

Any help would be greatly appreciated!

Labels (2)
0 Karma

to4kawa
Ultra Champion

Line Chart:

| makeresults
| eval name=split("Chris,jill,john",","), due=split("May,Mar,Jan",","), counter=mvrange(0,3)
| mvexpand counter
| eval NAME=mvindex(name,counter),DUE=strptime("2020".mvindex(due,counter)." 01","%Y%b %d")
| reverse
| streamstats count
| eval _time=DUE
| timechart span=1mon values(count) by NAME
| appendpipe [ eval _time=relative_time(now(),"@month") | fields _time]

It doesn't work very well.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...

Upgrade Prep for 10.4, Network Observability Deep Dives, and More from Splunk Lantern

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...