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.adminAKIAIOSFODNN7
P_PASSWORDYesPassword for the admin user. Will be used to access API and UI.adminwJalrXUtnaYrOq7phc6l
RUST_LOGNoControl the log level of Parseable server. By default, all logging is disabled, except for the error level. Refer the docs here for possible values.errorinfo
P_ADDRNoAddress (IP Address and Port without the scheme) on which the Parseable server would listen for new connections.127.0.0.1:8000127.0.0.1:7000
P_GRPC_PORTNoPort to be used for gRPC response.80015001
P_FLIGHT_PORTNoPort to be used for Arrow Flight response.80025002
P_TLS_CERT_PATHNoLocation of the 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 the 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.truefalse
P_SEND_ANONYMOUS_USAGE_DATANoSpecify whether the server should send anonymous usage data to Parseable analytics.truefalse
P_PARQUET_COMPRESSION_ALGONoSpecify the compression algorithm to use for Parquet files. Support values are UNCOMPRESSED, SNAPPY, GZIP, LZO, BROTLI, LZ4, ZSTD.LZ4GZIP
P_OPENAI_API_KEYNoSpecify your OpenAI API key to generate SQL automatically from plain text. Read more here.-sk-open-ai-api-key
P_CORSNoSpecify whether the server should enable/disable CORS. Supported values are true to disable, false to enable CORStruefalse

Applicable to distributed mode

Variable NameRequiredDescriptionDefaultExample
P_MODEYesMode for this Parseable instance. Can be INGEST or QUERY or ALL. If set to ALL, instance will behave as a standalone deployment.ALLINGEST
P_HOT_TIER_DIRNoPath on the query node (or standalone node), where the Parseable server would store recent data. Refer Hot Tier documentation for details.-/home/user/hot-tier
P_MAX_DISK_USAGE_PERCENTNoMaximum percentage of total disk that should be used for hot tier. Refer Hot Tier documentation for details.8070
P_INGESTOR_ENDPOINTNoEndpoint (IP, DNS or URL and Port, without the scheme) of the ingestor. If set, the query node will use this address to access this Ingestor. If not set, the query node will use the P_ADDR value if set. If P_ADDR is also not set, then defaults to 0.0.0.0:8000. You can also set this variable to point to another environment variable. For example, if P_INGESTOR_ENDPOINT is set to $HOSTNAME:$PORT, Parseable process will look for environment variables HOSTNAME and PORT and replace their values in the P_INGESTOR_ENDPOINT.0.0.0.0:8000ingestor1.parseable.svc.cluster.local

Applicable to the S3 storage mode

This section lists all the environment variables applicable to the S3 storage mode. This is applicable to AWS S3 or any other S3 compatible object storage platform.

Variable NameRequiredDescriptionDefaultExample
P_S3_URLYesURL for S3 or compatible object storage server.-https://s3.us-east-1.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_PATH_STYLENoForce Parseable to use Path style access to S3 store.truefalse
P_S3_TLS_SKIP_VERIFYNoSkip checking for S3 store's TLS certificate validity.falsetrue
P_S3_CHECKSUMNoSet SHA256 checksum in requests to allow S3 buckets with WORM enabled.falsetrue
P_S3_SSEC_ENCRYPTION_KEYNoSet server side encryption key with customer provided key for S3.-SSE-C:AES256:lgYvIsNHaYFh45knxlpxCdLFJaLnmXiibQcDrUYZt9Q=

Applicable to the Azure storage account

This section lists all the environment variables applicable to the Azure blobstore storage mode. These environment are mandatory, if you're staring Parseable server in Azure storage mode i.e. parseable server blob-store.

Variable NameRequiredDescriptionDefaultExample
P_AZR_URLYesURL to communicate with blob storage.-https://parseable.blob.core.windows.net
P_AZR_ACCOUNTYesAzure storage account name. Refer the docs here.-parseable
P_AZR_CONTAINERYesContainer name created in the storage storage account.-parseable
P_AZR_ACCESS_KEYNoAccess key to authenticate azure storage account.-AKIAIOSFODNN7EXAMPLE
P_AZR_CLIENT_IDNoClient ID of app registered in Azure AD to authenticate azure storage account.-AKIAIOSFODNN7EXAMPLE
P_AZR_CLIENT_SECRETNoClient secret of app registered in Azure AD to authenticate azure storage account.-wJalrXUtnaEXAMPLEKEY
P_AZR_TENANT_IDNoTenant ID associated with your Azure AD-AKIAIOSFODNN7EXAMPLE

Applicable to AWS

This section lists all the environment variables applicable to the AWS blobstore storage mode. These environment are mandatory, if you're staring Parseable server in AWS storage mode i.e. parseable server blob-store.

Variable NameRequiredDescriptionDefaultExample
P_AWS_PROFILE_NAMENoSet AWS profile name which will be used for fetching credentials-default
P_AWS_IMDSV1_FALLBACKNoSets if object store client should fallback to imdsv1.falsetrue
P_AWS_METADATA_ENDPOINTNoSets AWS instance metadata endpoint to use.http://169.254.169.254http://fd00:ec2::254

Applicable to local drive mode

This section lists all the environment variables applicable to the local drive storage mode. These environment are mandatory, if you're staring Parseable server in local drive storage mode i.e. parseable server blob-store.

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

Applicable to OIDC

This section lists all the environment variables applicable to the OIDC mode. These environment are mandatory, if you're staring Parseable server in OIDC mode i.e. parseable server oidc.

Variable NameRequiredDescriptionDefaultExample
P_OIDC_CLIENT_IDYesYour OIDC client identifier, provided by your identity provider.-client-id
P_OIDC_CLIENT_SECRETYesYour OIDC client secret, provided by your identity provider.-client-secret
P_OIDC_ISSUERYesThe OIDC issuer URL, typically provided by your identity provider. It points to the OIDC authorization server. Should support discovery protocol.-https://accounts.google.com
P_ORIGIN_URIYesThe URI where Parseable is hosted or accessible. This should be the base URL of your Parseable instance.-https://demo.parseable.com/

Refer to OIDC section for more details.