Log Output App

This topic discusses about the details of log output app.

Execution Logs

Log output app records the execution logs to manage the outcome of execution units and data editing flows of real time execution. 

Execution logs are created when data editing flow executed in following ways is completed:

Below is the information recorded in the execution logs.

Information logged in the execution logs suggest about time of executing the execution unit or data editing flow, count of input and output records etc. krewData uses the kintone API for loading the data from input app, creating the output app, and data registration. You can also get information about number of API requests made during the data editing flow.

The execution logs which are not required anymore can be deleted just like you delete in a usual kintone app.

Form settings of log output app are as follows:

Field Name Field Code Description
Execution Unit ID execution_unit_Id ID of execution unit that has been executed.
Execution Unit execution_unit_name Name of execution unit that has been executed.
Execution Method execution_method Method of performing real time execution(Webhook/API)
Notification ID notification_Id Notification ID included in the Webhook notification sent from kintone. It is generated only when execution is done through Webhook.
Event Type event_type Type of event to trigger the Webhook notification that is sent from kintone. It is generated only when execution is done through Webhook.
Execution User execution_user Name of user who performed the real time execution. User names that are recorded in the execution user field are as follows:
  • Webhook
    • Add or delete record or change status: record.Updated_by of Webhook notification
    • Delete record:deletedBy.name of Webhook notification
    • Post comment: comment.creator.name of Webhook notification
  • API
                kintone login name specified in the user parameter of execution API
App ID app_Id App ID of source app
State state Execution result of execution unit (success/fail)
Start Time start_time Time when execution unit starts executing
End Time end_time Time when execution unit ends executing
Log Message log_message Error logs when execution result of execution unit is "Fail".
Table table Execution logs of data editing flow.

Table

Execution logs of data editing flows included in the execution unit are also generated.

Field Name Field Code Description
Execution User flow_execution_user Name of user who executed the data editing flow. (kintone account registered in User Information)
Data Editing Flow data_editing_flow Name of the executed data editing flow.
State flow_state Execution result of data editing flow (Success/Fail)
Start Time flow_start_time Time when execution of data editing flow starts
End Time flow_end_time Time when execution of data editing flow ends
Input Records input_records Number of records used by data editing flow
Output Records output_records Number of records generated by running data editing flow
API Counts api_counts Number of API requests made during execution of data editing flow
Command Counts command_counts Number of krewData commands included in data editing flow
Flow ID data_editing_flow_Id ID of data editing flow
Flow Version data_editing_flow_version Version of data editing flow
Log Message flow_log_message Error logs if execution result of data editing flow is "Fail"

The execution logs are not recorded properly if the above mentioned form settings of log output app are changed. In case you have changed the form settings by mistake, restore the form as shown in the table above.

App's Permissions

Permissions required when creating the data editing flow

When creating a data editing flow, the following permissions are required for the log output app for the kintone user (logged-in kintone user) using the plug-in setting page.

Permissions required when executing the data editing flow

Execution logs are registered to the log output app using the kintone account (execution user) set on the User Information page. The following permissions are required for the log output app that the execution user needs when executing the data editing flow.

See Also