A Button log is the record of one Button press. The **Logs** page shows the Button logs of your customers. Use it to
see why a Button failed for a customer.

OneClick makes a Button log when a user presses a Workflow button or an Interface button. A Link button makes no
Button log.

For each field and each operator of the filter builder, see
[Button log fields and filter operators](/docs/partner-portal/reference/button-log-fields-and-filter-operators).

## Open the Button logs

1. In the sidebar, click **Buttons**. The menu shows **List** and **Logs**.
2. Click **Logs**. The page **Button logs** opens.

The page shows the Button logs of the last 24 hours, newest first. The filter builder has one rule for this time
period: **Timestamp** **between** two times. The number at the top of the page shows the number of Button logs in the
table.

The table shows a maximum of 500 Button logs. When more Button logs match, the number shows **500+**, and the page
shows **Showing the first 500 results, newest first. Add filters to see more relevant entries.**

## Find the failed presses of a Button

This procedure finds the presses of one Button that did not get a success answer.

1. At the top of the page, click **All customers**. A list of your customers opens.
2. Click the name of the customer. A check mark shows at the left of the name.
3. Click outside the list. The table shows only the Button logs of that customer.
4. In the filter builder, click **Rule**. A rule shows below the **Timestamp** rule.
5. In the first list of the rule, select **Success**.
6. In the second list, select **=**.
7. In the third list, select **No**. The table shows only the presses that failed.
8. Click **Rule** again.
9. In the first list of the rule, select **Button**.
10. Click **Select button…**. A list of the Buttons opens.
11. Click the name of the Button. The table shows only the failed presses of that Button.
12. Click a row. The row opens and shows **Response body**: the answer that OneClick got.
13. To copy the answer, click **Copy**.

Only a row with an answer opens. OneClick records the answer only when it waits for it. For a Workflow button,
**Wait for response** or messaging must be on. For an Interface button, messaging must be on. See
[The answer of your process](/docs/buttons/workflow-button#the-answer-of-your-process) and
[Messaging](/docs/buttons/workflow-button/sections/messaging).

## Select the customers

The customer filter is above the filter builder. When no customer is selected, it shows **All customers**.

1. Click **All customers**. A list of your customers opens.
2. Click the name of a customer. A check mark shows at the left of the name.
3. To select more customers, click their names.
4. Click outside the list. The table shows only the Button logs of the selected customers.
5. To show all customers again, click the customer filter. The list of your customers opens.
6. Click **Clear all**. The label shows the number of selected customers, for example **Clear all (2)**.

To find a customer in the list, type a part of its name in **Search customer…**.

The selected customers also limit the values of **Button** and **User** in the filter builder. The lists then show
only the Buttons and the users of the selected customers.

## Add rules and groups

Each rule has a field, an operator and a value. For example, **Resource** **is** **deal** finds the presses on deals.

1. Click **Rule**. A rule shows in the filter builder.
2. In the first list, select a field.
3. In the second list, select an operator.
4. Set the value. The table shows the Button logs that match.

Between two rules, select **AND** or **OR**:

- **AND**: a Button log must match the two rules.
- **OR**: a Button log must match one of the two rules, or the two rules.

A group keeps rules together. For example, **Success** **=** **No** **AND** a group with **Resource** **is** **deal**
**OR** **Resource** **is** **person** finds the failed presses on deals and persons.

1. Click **Group**. An empty group shows in the filter builder.
2. In the group, click **Rule**. A rule shows in the group.
3. Set the field, the operator and the value of the rule.
4. To add one more rule to the group, click **Rule** in the group again.
5. Between two rules of the group, select **AND** or **OR**.

To remove a rule, click the **X** at the right of the rule. To remove a group and its rules, click the **X** at the
right of the group.

## Change the time period

1. In the **Timestamp** rule, set the start time in the first field.
2. Set the end time in the second field. The table shows the Button logs between the two times.

To find Button logs of all times, remove the **Timestamp** rule. The table then shows the newest 500 Button logs that
match the other rules.

## When no Button log matches

When no Button log matches the filter, the page shows **Nothing to show**.

- Click **Widen by 7 more days** to move the start time of the **Timestamp** rule 7 days earlier. The other rules
  stay. Click it again to go back 7 more days. The button shows only when the filter has a **Timestamp** **between**
  rule.
- Click **Reset filter** to remove all rules. The table then shows the newest 500 Button logs.

## Hide the filter builder

Click **Hide filter** to hide the filter builder. The rules stay. Click **Show filter** to show it again.

The address of the page keeps the filter and the selected customers. Save the address to open the same filter again.
