# 入门示例

*什么是 Logstash？为什么要用 Logstash？怎么用 Logstash？*

本章正是来回答这个问题，或许不完整，但是足够讲述一些基础概念。跟着我们安装章节一步步来，你就可以成功的运行起来自己的第一个 logstash 了。

我可能不会立刻来展示 logstash 配置细节或者运用场景。我认为基础原理和语法的介绍应该更加重要，这些知识未来对你的帮助绝对更大！

所以，认真阅读他们吧！


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hezhiqiang.gitbook.io/elkstack/logstash/get-start.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
