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
SplunkTrust
SplunkTrust

@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.

Happy Splunking!

View solution in original post

renjith_nair
SplunkTrust
SplunkTrust

@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.

Happy Splunking!
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...