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!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...