﻿---
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://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4491/reference/fleet/config-file-examples
products:
  - Elastic Agent
  - Fleet
---

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