list
Usage
$ airflow config list [-h] [--color {off,auto,on}] [-c] [-a] [-p] [-d] [-V] [-e]
[-s] [--section SECTION] [-v]
Arguments
| Parameter | Description |
|---|---|
--color |
Use colored output. Possible values: |
-c, --comment-out-everything |
Comment out all configuration options. Useful as starting point for new installation |
-a, --defaults |
Show only defaults, do not show local configuration, sources, descriptions of includes, examples, variables |
-p, --exclude-providers |
Exclude provider configuration (included by default) |
-d, --include-descriptions |
Show descriptions for the configuration variables |
-V, --include-env-vars |
Show the environment variable for each option |
-e, --include-examples |
Show examples for the configuration variables |
-s, --include-sources |
Show the source of the configuration variables |
--section |
The section name |
-h, --help |
Print out the help manual for this command |
-v, --verbose |
Make logging output more verbose |
Examples
To print out the core configuration, run:
$ airflow config list --section core
Output example:
[core] dags_folder = /opt/airflow/dags hostname_callable = airflow.utils.net.getfqdn might_contain_dag_callable = airflow.utils.file.might_contain_dag_via_default_heuristic default_timezone = utc executor = CeleryExecutor parallelism = 32 max_active_tasks_per_dag = 16 dags_are_paused_at_creation = True max_active_runs_per_dag = 16 load_examples = True plugins_folder = /opt/airflow/plugins execute_tasks_new_python_interpreter = False fernet_key = 9smzpoHUQlm4eu_E2vufmVUWgm3A6tClkEuhYu48aC8= donot_pickle = True dagbag_import_timeout = 30 dagbag_import_error_tracebacks = True dagbag_import_error_traceback_depth = 2 dag_file_processor_timeout = 50 task_runner = StandardTaskRunner default_impersonation = security = unit_test_mode = False enable_xcom_pickling = False allowed_deserialization_classes = airflow\..* killed_task_cleanup_time = 60 dag_run_conf_overrides_params = True dag_discovery_safe_mode = True dag_ignore_file_syntax = regexp default_task_retries = 0 default_task_retry_delay = 300 max_task_retry_delay = 86400 default_task_weight_rule = downstream default_task_execution_timeout = min_serialized_dag_update_interval = 30 compress_serialized_dags = False min_serialized_dag_fetch_interval = 10 max_num_rendered_ti_fields_per_task = 30 check_slas = True xcom_backend = airflow.models.xcom.BaseXCom lazy_load_plugins = True lazy_discover_providers = True hide_sensitive_var_conn_fields = True sensitive_var_conn_names = default_pool_task_slot_count = 128 max_map_length = 1024 daemon_umask = 0o077 database_access_isolation = False fernet_key_secret = fernet_key_value