All Apps and Add-ons

Create N-lines in line graph

darioapis
Explorer

Hi,
I have a problem how to draw n-lines in one time graph for accessing to the sites. The data that I have are web logs from many sites. So if I select time range 30 minutes only web sites with logs from that time should appear in the graph. Name of the site is in the "site" attribute , but I have problem grouping it with result how many did the site have visitors per minute to be able to plot.
Thanks very much.

0 Karma
1 Solution

renjith_nair
Legend

@darioapis,

Assuming that you have an event per visit, try

index="your index"  |timechart span=1m count by site

This should plot a line for each site

If this doesn't suit your requirement , please provide more information about your events and expected out.

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

View solution in original post

renjith_nair
Legend

@darioapis,

Assuming that you have an event per visit, try

index="your index"  |timechart span=1m count by site

This should plot a line for each site

If this doesn't suit your requirement , please provide more information about your events and expected out.

---
What goes around comes around. If it helps, hit it with Karma 🙂
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...