# Elastic APM agent iOS

**URL:** <https://discuss.elastic.co/t/elastic-apm-agent-ios/343905>\
**Category:** APM\
**Tags:** server, ios\
**Created:** [September 26, 2023, 2:59pm UTC](https://discuss.elastic.co/t/elastic-apm-agent-ios/343905 "2023-09-26T14:59:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlekseyD](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alekseyd/32/126032_2.png) [@AlekseyD](https://discuss.elastic.co/u/AlekseyD)\
**Post date:** [September 26, 2023, 2:59pm UTC](https://discuss.elastic.co/t/elastic-apm-agent-ios/343905/1 "2023-09-26T14:59:44Z")

</div>

**Kibana version** : 7.17.3

**Elasticsearch version** : 7.17.3

**APM Server version** : 7.17.3

**APM Agent language and version** : iOS 0.6.0

**Browser version** :

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**: Helm Chart

**Fresh install or upgraded from other version?** Fresh

**Is there anything special in your setup?** Using Elasticsearch, Kibana, APM server and agents, nothing special

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:  
In the process of sending data to APM server, we get an error  
Data does not appear in Kibana  
Traffic to the APM server goes through Ingress-nginx Controller

**Steps to reproduce** :

1. iOS Agent Settings

```auto
let config = AgentConfigBuilder()
                .withServerUrl(URL(string: "https://apm-server-dev.domain.com:443"))
                .withApiKey("KEY1")
                .build()

Agent.start(with:config)

```

1. APM server config

```auto
apm-server.yml: |
    apm-server:
      host: "0.0.0.0:8200"
      rum:
        enabled: true
        allow_origins: ['*']
      kibana:
        enabled: true
        host: https://kibana-dev.domain.com:443
        username: "${ELASTICSEARCH_USERNAME}"
        password: "${ELASTICSEARCH_PASSWORD}"

    queue: {}

    output.elasticsearch:
      hosts: ["http://elasticsearch-master:9200"]
      username: "${ELASTICSEARCH_USERNAME}"
      password: "${ELASTICSEARCH_PASSWORD}"
      ## If SSL is enabled
      # protocol: https
      # ssl.certificate_authorities:
      # - /usr/share/apm-server/config/certs/elastic-ca.pem

```

**Provide logs and/or server output (if relevant)**:

```auto
{"log.level":"error","@timestamp":"2023-09-26T14:19:51.678Z","log.logger":"request","log.origin":{"file.name":"middleware/log_middleware.go","file.line":60},"message":"404 page not found","service.name":"apm-server","url.original":"/opentelemetry.proto.collector.logs.v1.LogsService/Export","http.request.method":"POST","user_agent.original":"apm-agent-ios/0.6.0 (Marketplace 0.1)","source.address":"10.32.14.41","http.request.body.bytes":741,"http.request.id":"21b9f4d7-dc1a-4777-ae1e-02a02ae37335","event.duration":85165,"http.response.status_code":404,"error.message":"404 page not found","ecs.version":"1.6.0"}

```

---

<div class="post-metadata">

**Author:** ![lahsivjar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lahsivjar/32/101451_2.png) [@lahsivjar](https://discuss.elastic.co/u/lahsivjar)\
**Post date:** [September 27, 2023, 5:48am UTC](https://discuss.elastic.co/t/elastic-apm-agent-ios/343905/2 "2023-09-27T05:48:12Z")

</div>

Welcome to our discuss forum @AlekseyD.

The issue description mentions that it is a fresh install with version `7.17.3`. Any reason of using such an old version? The latest release is `8.10.2`, will it be possible to use that?

---

<div class="post-metadata">

**Author:** ![AlekseyD](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alekseyd/32/126032_2.png) [@AlekseyD](https://discuss.elastic.co/u/AlekseyD)\
**Post date:** [September 27, 2023, 8:31am UTC](https://discuss.elastic.co/t/elastic-apm-agent-ios/343905/3 "2023-09-27T08:31:34Z")

</div>

Thanks for answer. No reason of using old version. Okey, we will try to use latest version of ECK...

---

<div class="post-metadata">

**Author:** ![lahsivjar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lahsivjar/32/101451_2.png) [@lahsivjar](https://discuss.elastic.co/u/lahsivjar)\
**Post date:** [September 29, 2023, 5:09am UTC](https://discuss.elastic.co/t/elastic-apm-agent-ios/343905/4 "2023-09-29T05:09:39Z")

</div>

That's great! Let us know if use face issues even with using the latest version.

---

<div class="post-metadata">

**Author:** ![AlekseyD](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alekseyd/32/126032_2.png) [@AlekseyD](https://discuss.elastic.co/u/AlekseyD)\
**Post date:** [September 29, 2023, 11:59am UTC](https://discuss.elastic.co/t/elastic-apm-agent-ios/343905/5 "2023-09-29T11:59:22Z")

</div>

Thanks for advice, issue fixed after upgrade version of stack to latest

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 27, 2023, 12:00pm UTC](https://discuss.elastic.co/t/elastic-apm-agent-ios/343905/6 "2023-10-27T12:00:01Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
