Environment Variables
This document lists all the environment variables supported by Parseable server.
Common environment variables
Variable Name | Required | Description | Default | Example |
---|---|---|---|---|
P_USERNAME | Yes | Username for the admin user. Will be used to access API and UI. | "admin" | "AKIAIOSFODNN7EXAMPLE" |
P_PASSWORD | Yes | Password for the admin user. Will be used to access API and UI. | "admin" | "wJalrXUtnaEXAMPLEKEY" |
P_ADDR | No | Address (IP Address and Port) on which Parseable server would listen for new connections. | "127.0.0.1:8000" | "127.0.0.1:7000" |
P_TLS_CERT_PATH | No | Location of TLS Cert file on the server. Use this and P_TLS_KEY_PATH variable together to enable TLS on your Parseable server. | - | "/home/user/fullchain.pem" |
P_TLS_KEY_PATH | No | Location of TLS Private key file on the server. Use this and P_TLS_CERT_PATH variable together to enable TLS on your Parseable server. | - | "/home/user/privkey.pem" |
P_STAGING_DIR | No | Path on the local machine where Parseable server would stage data before pushing it to storage. | "$PWD/staging" | "/home/user/parseable/staging" |
P_CHECK_UPDATE | No | Specify whether server should check for new updates from Parseable download server. | false | true |
Applicable to S3 storage mode
Variable Name | Required | Description | Default | Example |
---|---|---|---|---|
P_S3_URL | Yes | URL for S3 or compatible object storage server. | - | "https://s3.amazonaws.com" |
P_S3_ACCESS_KEY | Yes | Access key for S3 or compatible object storage server. | - | "AKIAIOSFODNN7EXAMPLE" |
P_S3_SECRET_KEY | Yes | Secret key for S3 or compatible object storage server. | - | "wJalrXUtnaEXAMPLEKEY" |
P_S3_BUCKET | Yes | Bucket to use for Parseable data storage. | - | "parseable" |
P_S3_REGION | Yes | Region for the object storage platform. | - | "us-east-1" |
P_S3_SET_CONTENT_MD5 | No | Set content MD5 in requests to allow S3 buckets with WORM enabled. | false | true |
Applicable to local drive mode
Variable Name | Required | Description | Default | Example |
---|---|---|---|---|
P_FS_DIR | No | Path on the local machine where Parseable server would store data. | "$PWD/data" | "/home/user/parseable/data" |