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.

Happy Splunking!

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.

Happy Splunking!
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...