Skip to main content

Tutorial

This page sets up Logbook for a new company, one step at a time, with one example: the maintenance team wants to log unplanned maintenance on the packaging lines, and the production team should see those events. Each step links to the page with all the options.

A new company starts with no event types and no views, so follow the steps in order. You need a Logbook role with every permission, such as Manager, or to be the company owner.

1. Give people access​

Logbook adds the roles Viewer, Editor and Manager for your company. You find them under Settings → Roles.

Settings → Roles with the starting roles Editor, Manager and Viewer

Assign them to people in Capture, under Identity & access → Users:

  • the maintenance technicians get Editor, so they can add and acknowledge events;
  • the production team gets Viewer;
  • whoever sets up Logbook gets Manager.

Create user in Capture Identity & access, with the Logbook Editor role selected under Advanced → Roles

Need something in between, such as a role that can manage views but not event types? Create it under Settings → Roles.

More: Roles and permissions.

2. Create the event type​

  1. Open Settings → Event types and select Create event type.
  2. On the General tab, enter the Event name "Maintenance" and pick an icon and colour.
  3. Leave Duration on: a repair has a start and an end.
  4. Switch on Acknowledgement required, so the shift lead confirms each repair.

General tab of the Maintenance event type with Duration and Acknowledgement required switched on

More: Event types.

3. Build the form​

Open the event type's Form builder tab.

  1. From Shared fields, drag Severity and Description into the General section. Because they are shared, they become one column and one filter across every event type that uses them.
  2. From New custom fields, add a Dropdown field "Machine" with the machines of the packaging lines as values, such as "Filler", "Capper" and "Labeller".
  3. Add a Dropdown field "Repair type" with the values "Adjustment", "Cleaning" and "Replacement".
  4. Drag If condition below it, set it to "Repair type" is "Replacement", and drag a String field "Spare part used" into it. The field only appears for replacements.
  5. Mark "Machine" and "Repair type" as This field is required.

Form builder with Description, Severity, Machine and Repair Type in the General section, and Spare part used inside an If condition on Repair Type is "Replacement"

More: Form builder.

4. Decide who sees the event type​

By default everyone with a Logbook role can reach the new type's events. To keep writing to the maintenance team:

  1. Open the event type's Permissions tab and switch Global off.
  2. Add the maintenance team with Read and Write.
  3. Add the production team with Read only.
  4. Select Save changes.

Permissions tab with Global off: Maintenance Team with Read and Write, Production Team with Read only

More: Control access per event type.

5. Create a view​

The Events page shows events through views, and there are none yet.

  1. Open Events. It shows No views containing data: select Create view. Later views are added with the pencil (Edit current view).
  2. Set the View name to "Maintenance".
  3. Under Filters, set Category to "Maintenance".
  4. Under Columns, keep Event type, Event occurred, Reported by and Acknowledgement, and add Severity, "Machine" and "Repair type".

Each person can star the view to make it their default.

Manage views with the Maintenance view: Category filter on Maintenance and seven columns including Severity, Machine and Repair Type

More: Finding events.

6. Log the first event​

  1. On Events, select Add event and pick "Maintenance".
  2. Fill in the start and end, choose a machine, set "Repair type" to "Replacement" and fill in "Spare part used".
  3. Save. The event appears in the "Maintenance" view as not acknowledged.
  4. As the shift lead, select Acknowledge.

Event details of the first Maintenance event with the Acknowledge action, duration, severity Low, machine Filler and repair type Replacement

More: Logging events.

7. Connect other tools (optional)​

  • Show the repairs on the packaging line's Grafana dashboard: switch on Grafana annotations on the event type and add the dashboard panel. See Grafana annotations.

    A Grafana time series panel with a Logbook annotation showing the Maintenance event fields

  • Send every new repair to your maintenance system: add a webhook on the event type's Connections tab. See Webhooks.

  • Log triggered Capture alerts, such as a motor overheating, as events too. See Capture alerts and reports.

Something not working as expected? See Troubleshooting.