Statistics on views access count

Hi everyone,

Hope you're doing well. This is my first post, this way I can test the forum as well. I looked for a solution since this morning but nothing seams to be the right way to do what I need. 

So, I would like to have a small report, that shows, by view, which one are the most accessed and which ones are not. The simplest would be, name of the view, access count, by day, for exemple.

So I saw that I could use the Event Log -> User Action log. But As I can see, by default i'ts only 10 000 events, and if I make a simple search in the UI, I only have event of the day (See the picture in attachment)

My goal is to access the logs using a script with an API for exemple to get the access count by view using the User Action log.

But As mentionned, I only have access to the event of the day, so I will have to catch the count every day and wait for X days to have my stats. So not possible manually. (Time consuming) 

Do you know an "easy" way to do this ? And if it takes a lot of resources to increase the amount of events history maximum

Have a really nice one

Parents
  • Welcome to M-Files Community!

    If you have a license to use User Action Log, then you also have the option to enable Advanced Event Log features in the vault. With this option enabled, M-Files will keep all log events without restrictions.

    Note that with User Action Log enabled, the size of the event log will increase considerably, so you may want to export the logs from the vault for instance using the Log Exporter module. Otherwise the size of the vault will keep growing and eventually start causing issues.

  • Hi ! Thanks a lot for your answer. I took some time looking at what you said. It seams I already have the Advance event log enable :

      

    As I read, the Log Exporter can help me export datat from M-Files to another system. 

    I also noticed that there is something called "M-FILES REPORTING" 

    As I am new into M-Files. I wanted to ask you what would be your way of doing what I need for my client. So I can chose the best approach.

    as a reminder, I need a way to tell wich View is accessed the most, so basically, get views ID and names, access count for the last 3 or 6 month and that's it. As the user log save only one Day, it would take like 3 month minimum to get all the data needed, I need to find a simplier way.

    I was setting an SQL server and SSMS into my M-Files server so I can use the log Exporter to save some data into a database. (Simple table with 4-5 fields). There is also this M-File Reporting guide I found.

    But that's the kind of work that would take too much time to implement and difficult to make profitable. But would be usefull for a lot of our customers. 

    Can you help me by telling me if I am doing it the good way (SQL Server + Log exporter) or if I overcomplicate the job ^^

    Maybe the simpliest way to achieve it is to copy the content of the table into a new one Every day, then using SQL to retrieve data (Excel, Power BI, etc.) 

    But as I know, the SQL structure of M-Files is a bit hard to use and understand

    Have a nice one

Reply
  • Hi ! Thanks a lot for your answer. I took some time looking at what you said. It seams I already have the Advance event log enable :

      

    As I read, the Log Exporter can help me export datat from M-Files to another system. 

    I also noticed that there is something called "M-FILES REPORTING" 

    As I am new into M-Files. I wanted to ask you what would be your way of doing what I need for my client. So I can chose the best approach.

    as a reminder, I need a way to tell wich View is accessed the most, so basically, get views ID and names, access count for the last 3 or 6 month and that's it. As the user log save only one Day, it would take like 3 month minimum to get all the data needed, I need to find a simplier way.

    I was setting an SQL server and SSMS into my M-Files server so I can use the log Exporter to save some data into a database. (Simple table with 4-5 fields). There is also this M-File Reporting guide I found.

    But that's the kind of work that would take too much time to implement and difficult to make profitable. But would be usefull for a lot of our customers. 

    Can you help me by telling me if I am doing it the good way (SQL Server + Log exporter) or if I overcomplicate the job ^^

    Maybe the simpliest way to achieve it is to copy the content of the table into a new one Every day, then using SQL to retrieve data (Excel, Power BI, etc.) 

    But as I know, the SQL structure of M-Files is a bit hard to use and understand

    Have a nice one

Children