﻿---
title: Config file examples
description: These examples show a basic, sample configuration to include in a standalone Elastic Agent elastic-agent.yml configuration file to gather data from various...
url: https://www.elastic.co/elastic/docs-builder/docs/3001/reference/fleet/config-file-examples
products:
  - Elastic Agent
  - Fleet
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Config file examples
These examples show a basic, sample configuration to include in a standalone Elastic Agent `elastic-agent.yml` [configuration file](https://www.elastic.co/elastic/docs-builder/docs/3001/reference/fleet/structure-config-file) to gather data from various source types.
- [Apache HTTP Server](https://www.elastic.co/elastic/docs-builder/docs/3001/reference/fleet/config-file-example-apache)
- [Nginx HTTP Server](https://www.elastic.co/elastic/docs-builder/docs/3001/reference/fleet/config-file-example-apache)