How to disable /rest/analytics/1.0/publish/bulk?

We have a lot of strange POSTs to this REST on our Bitbucket instance. Can i to disable System Plugin? Why it do something if all Analytics disabled in Server settings?

It make 20k request per day.

2 answers

1 votes

Hi Alexey,


The "disable" button on the analytics plugin settings page only prevents the analytics plugin from uploading data to Atlassian. We cannot guarantee that turning off a system plugin will not cause any failures, and Atlassian does not offer support if it does.


Hope this helps,


An observation from Atlassian Site Reliability:

(1) Turning off the analytics plugin (from what we see) does not appear to adversely affect this site ( which is based on Confluence.

(2) Disabling the analytics plugin does not turn off the JavaScript in the UI that sends requests to the server.  This is why we blocked the URL end points on the FE servers, since every time Google would reindex the system it would generate n-times more requests than were necessary.


As Kristy says (above), this is not supported by the product. The information is presented as the latest information from a production system using the same product you are using to run one of our public-facing systems. That said, if you choose to disable/block this end point, make sure you test the results on your system to ensure it doesn't break anything. wink

We recently solve this on one system by using the following in our NGINX front-end server:

location /rest/analytics/1.0/publish/bulk {
        deny all;
        return 200;
  location /rest/analytics/1.0/publish/bulk/ {
      deny all;
      return 200;

Updated with more accurate code block. Note: by blocking this at the Front-end reverse proxy (nginx) layer, it takes load off the application.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

662 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot