<commit_before>---
title: Configuration Language - logstash
layout: default
---
# LogStash Config Language

The logstash config language aims to be simple.

There's 3 main sections: inputs, filters, outputs. Each section has
configurations for each plugin available in that section.

Example:

    inputs {
      ...
    }

    filters {
      ...
    }

    outputs {
      ...
    }

## Filters

For a given event, are applied in the order of appearance in the config file.

## Further reading

For more information, see (the plugin docs index)[index]
<commit_msg>fix layout<commit_after>---
title: Configuration Language - logstash
layout: content_right
---
# LogStash Config Language

The logstash config language aims to be simple.

There's 3 main sections: inputs, filters, outputs. Each section has
configurations for each plugin available in that section.

Example:

    inputs {
      ...
    }

    filters {
      ...
    }

    outputs {
      ...
    }

## Filters

For a given event, are applied in the order of appearance in the config file.

## Further reading

For more information, see (the plugin docs index)[index]

{'fraction_non_alphanumeric': 0.0828193832599119, 'fraction_numerical': 0.001762114537444934, 'mean_word_length': 2.712418300653595, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2718932', 'n_tokens_mistral': 318, 'n_tokens_neox': 305, 'n_words': 133}