> For the complete CircleCI developer hub index, see [llms.txt](https://circleci.com/developer/llms.txt)

# logzio/logzio-orb

Integrate Logz.io with your CircleCI CI/CD pipeline easily with the logzio-orb.


## Commands

### submit

"Collect data from this job and report to Logz.io. Note: MUST BE THE LAST COMMAND IN JOB AND THE DATA NEEDS TO BE LESS THEN 10MB."


| Parameter | Type | Default | Description |
|---|---|---|---|
| `dir-path` | string |  | absolute or relative path to the directory you wish to upload. Do not include trailing slash. |
| `logzio-token` | env_var_name | LOGZIO_TOKEN | This is your Logz.io account token |
| `logzio-url` | string | https://listener.logz.io:8022 | Your Logz.io listener URL, port, and token. The format should look like this: PROTOCOL://LOGZIO_HOST:PORT(https://listener.logz.io:8022)  |

## Examples

### send_to_logzio

How to send a log file to Logz.io


```yaml
jobs:
  build:
    machine: true
    steps:
      - logzio-orb/submit:
          dir-path: logs
orbs:
  logzio-orb: logzio/logzio-orb@x.y
version: 2.1
```