Skip to main content

Environment Variables

This document lists all the environment variables supported by Parseable server.

Common environment variables

Variable NameRequiredDescriptionDefaultExample
P_USERNAMEYesUsername for the admin user. Will be used to access API and UI."admin""AKIAIOSFODNN7EXAMPLE"
P_PASSWORDYesPassword for the admin user. Will be used to access API and UI."admin""wJalrXUtnaEXAMPLEKEY"
P_ADDRNoAddress (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_PATHNoLocation 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_PATHNoLocation 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_DIRNoPath on the local machine where Parseable server would stage data before pushing it to storage."$PWD/staging""/home/user/parseable/staging"
P_CHECK_UPDATENoSpecify whether server should check for new updates from Parseable download server.falsetrue

Applicable to S3 storage mode

Variable NameRequiredDescriptionDefaultExample
P_S3_URLYesURL for S3 or compatible object storage server.-"https://s3.amazonaws.com"
P_S3_ACCESS_KEYYesAccess key for S3 or compatible object storage server.-"AKIAIOSFODNN7EXAMPLE"
P_S3_SECRET_KEYYesSecret key for S3 or compatible object storage server.-"wJalrXUtnaEXAMPLEKEY"
P_S3_BUCKETYesBucket to use for Parseable data storage.-"parseable"
P_S3_REGIONYesRegion for the object storage platform.-"us-east-1"
P_S3_SET_CONTENT_MD5NoSet content MD5 in requests to allow S3 buckets with WORM enabled.falsetrue

Applicable to local drive mode

Variable NameRequiredDescriptionDefaultExample
P_FS_DIRNoPath on the local machine where Parseable server would store data."$PWD/data""/home/user/parseable/data"