# Which index do elastic agents output too?

**URL:** <https://discuss.elastic.co/t/which-index-do-elastic-agents-output-too/331168>\
**Category:** Elastic Observability\
**Created:** [April 30, 2023, 12:31am UTC](https://discuss.elastic.co/t/which-index-do-elastic-agents-output-too/331168 "2023-04-30T00:31:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![learningelastic](https://avatars.discourse-cdn.com/v4/letter/l/958977/32.png) [@learningelastic](https://discuss.elastic.co/u/learningelastic)\
**Post date:** [April 30, 2023, 12:31am UTC](https://discuss.elastic.co/t/which-index-do-elastic-agents-output-too/331168/1 "2023-04-30T00:31:25Z")

</div>

I'm trying to configure a stand alone elastic agent. I get a success response during installation but i'm not sure which index in elasticsearch the data get sent to? This is my `elastic-agent.yml` file:

```auto
outputs:
  default:
    type: elasticsearch
    hosts: ["elastic.example.net:9200"]
    username: "elastic"
    password: "HELLO9999"
inputs:
  - type: system/metrics
    id: unique-system-metrics-input
    data_stream.namespace: default
    use_output: default
    streams:
      - metricset: cpu
        data_stream.dataset: system.cpu
      - metricset: memory
        data_stream.dataset: system.memory
      - metricset: network
        data_stream.dataset: system.network
      - metricset: filesystem
        data_stream.dataset: system.filesystem
agent.logging.to_stderr: true

```

Then I typed `./elastic-agent.exe install`. I said `no` to the fleet server. After a few seconds, I get the message `Elastic Agent has been successfully installed`. So which index do I look in to see my data?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [April 30, 2023, 5:11pm UTC](https://discuss.elastic.co/t/which-index-do-elastic-agents-output-too/331168/2 "2023-04-30T17:11:19Z")

</div>

Well agents output to data streams not indices directly.

Data streams are backed by indices.

Perhaps you should read about data streams a bit.

If you go to the Kibana - Stack Management - Index Management - Data Streams

And search for system you should probably see the system metrics data stream in the default namespace.

> **[Data streams | Fleet and Elastic Agent Guide \[8.7\] | Elastic](https://www.elastic.co/guide/en/fleet/current/data-streams.html)**

> **[Data streams | Elasticsearch Guide \[8.7\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/data-streams.html)**
