---
title: nrForceHarvestLogs
source: https://docs.newrelic.com/docs/streaming-video-&-ads/installation/roku/agent-api/harvest/nrforceharvestlogs
---

## Syntax

```js
  nrForceHarvestLogs(nr as Object) as Void
```

## Description

Do harvest logs immediately. It doesn't reset the harvest timer.

## Arguments

| Arguments | Description             |
| --------- | ----------------------- |
| `nr`      | New Relic Agent object. |

## Return

Nothing.

## Example

```js
  	nrForceHarvestLogs(m.nr)
```
