Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

webstat: Web Statistics

 
cli linuxusing command line utilitiesclidomain nameurl

The webstat utility is used to manage Webalizer preferences through
CLI. By using this utility, you can perform the following tasks:

  • adding direct request or referrer records to or removing them from
    Webalizer preferences on a domain
  • displaying the list of existing direct request or referrer records in
    Webalizer preferences on a domain

Usage

webstat <command> [<domain name>] [
<option_1> [<param>]
[<option_2> [<param>]]
...[<option_N> [<param>]]
]

Example

The following command adds hidden referrer record *example.net/ to
Webalizer preferences on the domain example.com:

plesk bin webstat --add example.com -type hidden -url *example.net/

Commands

Command Parameter Description Example
--add or -a
<domain_
name>
Adds a record to Webalizer preferences on a domain.

To add hidden referrer record *example.net/ to Webalizer
preferences on the domain example.com:

plesk bin webstat --add example.com -type hidden -url *example.net/

or

plesk bin webstat --add example.com -type hidden -url *example.net/

--remove or -r
<domain_
name>
Deletes a record from Webalizer preferences on a domain.

To remove hidden referrer record *example.net/ from Webalizer
preferences on domain example.com:

plesk bin webstat --remove example.com -type hidden -url *example.net/

or

plesk bin webstat -r example.com -type hidden -url *example.net/

--list or -l
<domain_
name>
Displays the list of records in Webalizer preferences on a
domain.

To view the list of existing Webalizer records on the domain
example.com:

plesk bin webstat --list example.com

or

plesk bin webstat -l example.com

--del-all or -da
<domain_
name>
Deletes all records from Webalizer preferences on a domain.

plesk bin webstat --del-all example.com

or

plesk bin webstat -da example.com

--help or -h   Displays help on the use of this utility.

To view the help info on the use of the webstat utility:

plesk bin webstat --help

or

plesk bin webstat -h

Options

Option Parameter Description Example
-type group|hidden|hidden_direct

Specifies a type of a record in Webalizer preferences.

Is to be used in conjunction with the -url option.

  • group - grouped referrer
  • hidden - hidden referrer
  • hidden_direct - hidden direct request

To add hidden referrer record *example.net/ to Webalizer
preferences on the domain example.com:

plesk bin webstat --add example.com -type hidden -url *example.net/

-url <string> Specifies an URL or an URL pattern for a Webalizer record.  
-group <string> Specifies name of a grouped referrer record in Webalizer
preferences.

To add grouped referrer record *example.net/ named
example.net to Webalizer preferences on the domain
example.com:

plesk bin webstat --add example.com -type group -group example.net -url *example.net/


Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

How to Choose the Right Domain Name for your eCommerce Business

Read More »

Configuring DNS For A Domain With Plesk

Read More »

All About Managing Domain Names in Plesk

Read More »
Knowledge Base

Manage Ruby Versions via CLI

Read More »

custombutton: Custom Buttons

Read More »

panel_gui: Links to Domain Registration and Certificate Purchasing Services

Read More »

custom_plan_items: Custom Plan Options

Read More »

Hosting Wiki

  • CLI
  • Linux
  • Domain
  • URL
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family