Retrieve logs

1
0
-1

Hello,

I had executed my Bonita solution several times in order to have collect a huge amount of data. I would like to do process mining and for that I need the logs being generated from my Bonita solution. Please how can I retrieve my logs?

Thanks.

1 answer

1
0
-1
This one is the BEST answer!

hello Christ_Bryan,

To know more about logs, you can take a look at https://documentation.bonitasoft.com/bonita/2022.2/setup-dev-environment...

Myabe for your need, you can also use the Case API: https://documentation.bonitasoft.com/bonita/2022.2/api/cases-process-ins...

Cheers!

Comments

Submitted by Christ_Bryan on Tue, 12/13/2022 - 14:43

Hello,

Is it possible to retrieve the information stored in the h2 database from the BDM?

Submitted by Christ_Bryan on Tue, 12/13/2022 - 14:49

It seems like the links don't help. I recently saw a webinar on process analytics with Bonita and with that you do process mining and to do it you have to retrieve logs, but I don't know where and how to retrieve logs. Don't know if you get my issue.

Submitted by thalia.cruz on Thu, 12/15/2022 - 15:26

Hello Christ_Bryan,

To access your h2 BDM database, open the project explorer contextual menu of your BDM and choose Browse data (h2 console). You may run from here some SQL queries.

These links might help you: https://documentation.bonitasoft.com/bonita/2022.2/getting-started/defin...

If I understand well, you'll need to get the information of the cases (the instances of your processes) to analyze them. To fetch those can use the Case API. This example might help: https://documentation.bonitasoft.com/bonita/2022.2/api/manage-a-process#...

Cheers!

Submitted by Christ_Bryan on Fri, 12/16/2022 - 10:22

Hello Thalia,

Saw the second link and it redirected me to a querry code, where do I have to enter the code and obtain de information?

Below is a screen of the code

https://ibb.co/hVqc3bm

Submitted by thalia.cruz on Tue, 12/20/2022 - 22:55

Hey Christ_Bryan,

Indeed the example is using the Java APIs. If you're not using a Java application, you can use the REST APIs to get the equivalent information from your own application.

For example, for querying the archived process instances: Search archived cases (using the process id of your case to list all related cases of that process) https://documentation.bonitasoft.com/bonita/2022.2/api/cases-process-ins...

If you're not sure how the REST API work, take a look at this: https://documentation.bonitasoft.com/bonita/2022.2/api/rest-api-overview

Hope this helps

Submitted by Christ_Bryan on Mon, 01/02/2023 - 12:58

Hello you all,

Finally extracted the event data using the REST API technique.

Thanks for all your support.

Cheers,

Submitted by Christ_Bryan on Tue, 01/03/2023 - 11:52

For that I used the information from the website as I said (REST API) and the tutorial on Postman still from Bonitasoft tutorial to obtain the information. Here is the link to the tutorial: https://www.youtube.com/watch?v=DUgyEhIc3zQ

Submitted by thalia.cruz on Tue, 01/03/2023 - 12:18
Notifications