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.

3 answers

1 vote

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,


Sam Caldwell Atlassian Team Feb 01, 2017

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

1 vote
Sam Caldwell Atlassian Team Jan 31, 2017

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.

Apparently the plugin has removed its blacklist-feature :(

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables ROLLBAR_ACCESS_TOKEN...

186 views 0 12
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