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!

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud? Learn how unique features like ...