Local Storage Archiving Output and Integration

George Alpizar
George Alpizar
  • Updated

Overview

This output type sends logs to a file on your local machine. 


Review Parameters

Review the following parameters that you can configure in the Edge Delta App:

YAML Description
name

Enter a descriptive name for the output or integration.

For outputs, this name will be used to map this destination to a workflow.

This parameter is required. 

Review the following example: 

name: local-archive
type

Enter localstorage.

This parameter is required. 

Review the following example: 

type: localstorage
mounted_path

Enter a local path to send and store logs. 

If you do not enter a path, then by default, the logs will be sent to the same directory where the agent runs. 

This parameter is optional. 

Review the following example: 

mounted_path: "/test/path/i/can/write"
buffer_ttl

Enter a length of time to retry failed streaming data.

After this length of time is reached, the failed streaming data will no longer be tried.

This parameter is optional. 

Review the following example: 

buffer_ttl: 2h
buffer_path

Enter a folder path to temporarily store failed streaming data.

The failed streaming data will be retried until the data reaches its destinations or until the Buffer TTL value is reached.

If you enter a path that does not exist, then the agent will create directories, as needed.

This parameter is optional.

Review the following example:

buffer_path: /var/log/edgedelta/pushbuffer/
buffer_max_bytesize

Enter the maximum size of failed streaming data that you want to retry.

If the failed streaming data is larger than this size, then the failed streaming data will not be retried.

This parameter is optional.

Review the following example:

buffer_max_bytesize: 100MB

Review Sample Configuration

The following sample configuration displays an output without the name of the organization-level integration:

    - name: local-archive
      type: localstorage
      mounted_path: "/test/path/i/can/write"

 

Share this document