Splunk Enterprise

How to chart concurrent events

tsushi
Explorer

Hi,

I have events with start_time, end_time and duration in seconds. These are video calls. I'd like to make a chart to see how many calls are active at any time.

I can do a simple host="Pexip Participant History" local_alias="domain.com*" | timechart count span=5m
But, it's not quite what I need since I only see when the calls were initiated with this.

How can I do this ?

Tags (1)
0 Karma

renjith_nair
Legend

@tsushi,

try using the concurrency command

host="Pexip Participant History" local_alias="domain.com*"|concurrency duration=duration start=start_time

Reference : https://docs.splunk.com/Documentation/Splunk/7.2.1/SearchReference/Concurrency

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma

tsushi
Explorer

Hi Renjith,

Thanks !

I tried this before making a post, but my search results returned exactly the same.
I scrutinized it now and found a tiny warning triangle on the search page, lol.

Used _time instead and now it works.

0 Karma

DalJeanis
Legend

@tsushi - please accept the answer if your issue is solved. If this answer was not the solution that worked, please write up and post the solution that did, and accept it.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...