Dashboards & Visualizations

How to create a dashboard in Splunk similar to an AWStats report?

anasar
New Member

Hi,

We've indexed all jboss access.log files. We're using AWStats before. Just to make a smooth transition, we need to provide AWStats kind of report first. Can you suggest how to get the exact searches to get unique_visitors, visits, pages, hits and bandwidth, session duration, etc. using Splunk? For unique_visitiors I've used the search below:

index=jboss-access method=POST | stats distinct_count(clientip) as Uniquevisitors
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

How to get the exact searches in Splunk depends on how the exact searches in AWStats are built.

For example, you've used dc(clientip) for unique visitors - is that how AWStats computes unique visitors? I'm asking because determining correctly which hit on a page belongs to what person is extremely hard. There are many ways to approximate this, your example is only one of them.

If you need specific help with a certain search you can get help here, just make sure to spell out your requirements for the search instead of posting a screenshot - any algorithm could be behind that, so trying to recreate it like that is futile.
If you need someone to rebuild that entire page for you I'd recommend getting Splunk Professional Services or a local Splunk Partner for a few days on site.

0 Karma

ppablo
Retired

Hi @anasar

It would be helpful if you could include a link to an image showing what an AWStats report looks like for people who are not familiar with it.

0 Karma

anasar
New Member
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...