<commit_before>General Queue Parameters
------------------------

Queue parameters can be used together with the following statements:

-  `action() <rsyslog_conf_actions.html>`_
-  ruleset()
-  main\_queue()

Queues need to be configured in the action or ruleset it should affect.
If nothing is configured, default values will be used. Thus, the default
ruleset has only the default main queue. Specific Action queues are not
set up by default.

-  **queue.filename** name
   File name to be used for the queue files. Please note that this is
   actually just the file name. A directory can NOT be specified in this
   paramter. If the files shall be created in a specific directory,
   specify queue.spoolDirectory for this. The filename is used to build
   to complete path for queue files.
-  **queue.spoolDirectory** name
   This is the directory into which queue files will be stored. Note
   that the directory must exist, it is NOT automatically created by
   rsyslog. If no spoolDirectory is specified, the work directory is
   used.<commit_msg>add link to queue concepts<commit_after>General Queue Parameters
------------------------

Queue parameters can be used together with the following statements:

- `action() <rsyslog_conf_actions.html>`_
- ruleset()
- main\_queue()

Queues need to be configured in the action or ruleset it should affect.
If nothing is configured, default values will be used. Thus, the default
ruleset has only the default main queue. Specific Action queues are not
set up by default.

To fully understand queue parameters and how they interact, be sure to
read the :doc:`queues <../concepts/queues>` documentation.

-  **queue.filename** name
   File name to be used for the queue files. Please note that this is
   actually just the file name. A directory can NOT be specified in this
   paramter. If the files shall be created in a specific directory,
   specify queue.spoolDirectory for this. The filename is used to build
   to complete path for queue files.
-  **queue.spoolDirectory** name
   This is the directory into which queue files will be stored. Note
   that the directory must exist, it is NOT automatically created by
   rsyslog. If no spoolDirectory is specified, the work directory is
   used.
{'fraction_non_alphanumeric': 0.07025344597598933, 'fraction_numerical': 0.0, 'mean_word_length': 3.509018036072144, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '355658', 'n_tokens_mistral': 562, 'n_tokens_neox': 559, 'n_words': 320}