How to Query the Wiki

Asking questions against the wiki. The agent reads the index, finds relevant pages, and synthesizes an answer — then offers to file it back as a new page.

How to Trigger

Just ask a question naturally:

What is the difference between Elastic Agent and Beats?
What does Fleet do?
How does Elasticsearch handle large datasets?
Summarize everything I know about the Elastic Stack.

What Happens

  1. Agent reads index.md to find relevant pages
  2. Agent reads those pages fully
  3. Agent synthesizes an answer with citations to wiki pages
  4. Agent asks: “Should I save this as a wiki page?”
  5. If yes — saved to the appropriate folder, index.md updated, logged

Example Session

You:    What is the difference between Elastic Agent and Logstash?

Agent:  Based on wiki/elastic/entities/elastic-agent.md and
        wiki/elastic/entities/logstash.md:

        Elastic Agent is for simple, unified data collection — logs,
        metrics, security data — from a host. One agent per host,
        managed centrally via Fleet in Kibana.

        Logstash is for complex ETL pipelines where data needs
        significant transformation before reaching Elasticsearch.
        Use Logstash when you need to join streams, apply heavy
        filtering, or route data across multiple outputs.

        Rule of thumb: start with Elastic Agent; add Logstash only
        when transformation complexity demands it.

        Should I save this as a wiki page?

You:    Yes

Agent:  Saved to wiki/elastic/comparisons/elastic-agent-vs-logstash.md
        Updated index.md and log.md.

Output Formats

You can ask for different output formats:

Compare Elasticsearch and a traditional SQL database — as a table
Explain the Elastic Stack ingest layer — as a diagram
Summarize what I know about Fleet — as bullet points

Tips

  • Good answers get filed back — explorations compound just like ingested sources
  • If the answer spans multiple topics, the agent will say so and cite each page
  • Use query to discover gaps: “What do I not yet have a page for?”
  • For questions outside the wiki, the agent will say so rather than hallucinate

See Also