Dashboards & Visualizations

Condensed multi-series chart

jenkinsta
Path Finder

I have a speedtest from ookla that runs every 30 min and returns results from 3 servers. 

2022-02-02T08:00:26.000-0300,94.02204,94.28108,NETSEG FIBRA
2022-02-02T08:00:51.000-0300,304.676784,153.272304,Oi
2022-02-02T08:01:17.000-0300,303.109696,151.48468,LinQ Telecom
2022-02-02T08:30:25.000-0300,94.107144,93.58704,NETSEG FIBRA
2022-02-02T08:30:49.000-0300,304.835216,153.044024,Oi
2022-02-02T08:31:16.000-0300,275.610992,153.0804,LinQ Telecom

Here is my search:

sourcetype="SpeedTest" 
| convert num(download.bandwidth) as D_bnd
| convert num(upload.bandwidth) as U_bnd
| eval dmbs=D_bnd*8/1000000 
| eval umbs=U_bnd*8/1000000  
| table _time dmbs umbs

This is the basic result, I don't want to to an avg(dmbs) so timechart wont work that I am aware of. 

brave_SpP8ov5E2q.png

What I would like is to do like a span=30m to join these while showing a label for the server.name for each bar. Is this possible or do I have to make three chart searches then combine somehow?

Expected Result I am trying to make is like a time chart avg(dmbs) span=15 but with each server.name in series so I can overlay them or use the trellis layout and aggregate them on the server.name while still showing the up/down speed. i don't care if the up/down is side by side or stacked. The span will eliminate the gap between the times (30min).

I did this on one server.name and works fine but want to combine all three server.name in one chart in different x data points. 

jenkinsta_0-1643803541900.png

 

 

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Does this help?

| bin _time span=30m
| chart values(dmbs) as dmbs values(umbs) as umbs by _time server.name

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Does this help?

| bin _time span=30m
| chart values(dmbs) as dmbs values(umbs) as umbs by _time server.name
0 Karma

jenkinsta
Path Finder

perfect, thanks. need to learn that bin function...

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...