Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

view count question in confluence activity report

Anderson Hsu
Contributor
February 13, 2018

Dear partners, 

We found the value of the activity report view count is different in chart and list as shown as below:

BB-01.png

Chart Value : 6+2=8

List value: 5+4+2=11

 

What's the difference between them ? We also use sql command as listed as below. But the result is also different. How can we get the view count value ? Thanks a lot

select * from log0201 where ((d3 like '%viewpage.action%') and (d3 like '%spaceKey=BB%'))

(We import log information into database and analysis the log information)

 

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 13, 2018

Anderson,

The graph shows all page hits, including multiple visits by the same user.

The chart you've circled is showing most popular content only. This would not include pages that were viewed a single time, for example, if it's not considered a popular page.

I hope that's clear but let me know if you have any questions.

Regards,
Shannon

Anderson Hsu
Contributor
February 13, 2018

Dear Shannon,

Thanks for your kindle assistance.

Would it be possible to use sql command to list how many viewed by log information , as listed as below:

SQL command : select * from log0201 where ((d3 like '%viewpage.action%') and (d3 like '%spaceKey=BB%'))

log example:

"[31/Jan/2018:12:23:49 -0800] ft12 Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 Cyberfox/52.6.1 192.168.37.18 GET GET /chat/start.actioin?spaceKey=NN&currentUrl=http%3A%2F%2Fftconnect.demo.com%2Fpages%2Fviewpage.action%3FpageId%3D47842012&currentTitle=J.+%E5%B8%B8%E7........

(We refer the article of https://confluence.atlassian.com/confkb/audit-confluence-using-the-tomcat-valve-component-223216846.html to analytics the log data)

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 14, 2018

Anderson,

I'm not too familiar with the SQL command you mentioned as logs aren't generally stored in the Confluence database, so it seems that you may have a custom setup if you are able to find those details in yours.

I would recommend an add-on for this, such as 

If you have any questions about that please let me know.

Regards,

Shannon

Anderson Hsu
Contributor
February 14, 2018

Dear Shannon,

Thanks for your kindly reply. How do we know the page is popular page refer you mentioned as listed as below: (Does it determine by view count , when the page is viewed in top 10 pages, it will be popular pages?)

This would not include pages that were viewed a single time, for example, if it's not considered a popular page.

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 15, 2018

Anderson,

From the Viewing Site Statistics Page:

The top ten most popular and most active pages and/or blog posts will be listed, with a link to each.

Therefore, if you only have 10 pages, even if they only have 1 view each, then they would still be considered "popular". It simply polls each page and shows you the top ten. As for if you had more than 10 and they all had 1 view each, I'm not sure what that would display but it's something that you could easily test out.

I found this other page that you may be interested in, I'm not sure if you saw it?

Regards,

Shannon

Anderson Hsu
Contributor
February 16, 2018

Dear Shannon,

Thanks for your kindly assistance. And Happy New Year in Chinese New Year.

Anderson Hsu
Contributor
February 18, 2018

Dear Shannon, 

I would like to make sure with you abut one question as listed as below:

dashboad page should be the most popular page in confluence , is it right?

But I found when I login in confluence, but I don't connect other page contents, I found it does not show any content in global activity report. What happen to it ?

global.png

My login record is as shown as below:

login.png

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 20, 2018

Anderson,

It would depend what other users have set as their Home Page. Each person can set their own.

Also, how long ago did you enable statistics?

Shannon

Anderson Hsu
Contributor
February 20, 2018

Dear Shannon, 

Where can I find the setting about how long ago did I enable statistics? Thanks a lot.

Anderson Hsu

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 20, 2018

Anderson,

This is not stored anywhere, but keep in mind that it does not display historical data from before the add-on was enabled.

Additionally, if you were to have run a reindex from scratch, the data would be deleted and will not display.

It's also not possible to guarantee a user's point of entry, for example, if they click on a link in a chat or email, it won't take them directly to their default homepage.

I hope this clarifies things but do let me know if you have any further questions.

Regards,

Shannon

Anderson Hsu
Contributor
February 21, 2018

Dear Shannon, 

Are you sure about the describe : (I have try before, I think it will still be shown)

Additionally, if you were to have run a reindex from scratch, the data would be deleted and will not display.

 

And would it be possible how many account login confluence by day /month ? Thank for your kindly assistance.

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 21, 2018

Hi Anderson,

Yes, if performed properly, you manually delete the directory <confluence-home>/index/plugin, which is where the plugin stores its usage statistics. I'm not referring to reindexing Confluence, but a complete rebuild where you delete all indexing directories from the server.

Can you clarify exactly what you would need in your report regarding logins? This isn't part of the usage plugin but perhaps there is a database query you could use. Do you want a list of users who logged in during the past day and month, or do you want a list of how many times each user did so?

Shannon

Anderson Hsu
Contributor
February 22, 2018

Dear Shannon, 

Actually I need to find out how many users login confluence during the past day and month? And I also need to find a list of how many times viewed by spaces ? Thanks for your kindly assistance.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events