# Packetbeat setup fail

**URL:** https://discuss.elastic.co/t/packetbeat-setup-fail/303406
**Category:** Beats
**Tags:** packetbeat
**Created:** [April 27, 2022, 1:03pm UTC](https://discuss.elastic.co/t/packetbeat-setup-fail/303406 "2022-04-27T13:03:49Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![OBT](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/obt/32/104922_2.png) [@OBT](https://discuss.elastic.co/u/OBT)
#### Post date: [April 27, 2022, 1:03pm UTC](https://discuss.elastic.co/t/packetbeat-setup-fail/303406/1 "2022-04-27T13:03:50Z")

</div>

im trying to use packetbeat  
but i have some problem about the packetbeat.yml

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/e/0e329e01e822468ac09b768a6b56f02c6fa2d2f0.png)

> **[packetbeat.yml](https://docs.google.com/document/d/1Su2129ual8LtQnFthFdeiFGdSoUm_hO5VwXR2CEl0qs/edit?usp=sharing)**
>
> 1 #################### Packetbeat Configuration Example ######################### 2 3 # This file is an example configuration file highlighting only the most common 4 # options. The packetbeat.reference.yml file from the same directory...

can someone help me thx!

---

<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 27, 2022, 9:28pm UTC](https://discuss.elastic.co/t/packetbeat-setup-fail/303406/2 "2022-04-27T21:28:59Z")

</div>

Hi @OBT Welcomet to the community.

Please don't post images, the can be hard to read, (some can not even see them on mobile) they can not be search or debugged... nor cut-n-paste to help.

Yup simple yml issues uncomment line 159 you provided the host information without the parent sytax

---

<div class="post-metadata">

### Author: ![OBT](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/obt/32/104922_2.png) [@OBT](https://discuss.elastic.co/u/OBT)
#### Post date: [April 28, 2022, 5:48am UTC](https://discuss.elastic.co/t/packetbeat-setup-fail/303406/3 "2022-04-28T05:48:14Z")

</div>

sorry for only posting the images  
I put the file on the google drive

> **[packetbeat.yml](https://docs.google.com/document/d/1Su2129ual8LtQnFthFdeiFGdSoUm_hO5VwXR2CEl0qs/edit?usp=sharing)**
>
> 1 #################### Packetbeat Configuration Example ######################### 2 3 # This file is an example configuration file highlighting only the most common 4 # options. The packetbeat.reference.yml file from the same directory...

please look for it

---

<div class="post-metadata">

### Author: ![ibra\_013](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ibra_013/32/104827_2.png) [@ibra\_013](https://discuss.elastic.co/u/ibra_013)
#### Post date: [May 2, 2022, 4:21pm UTC](https://discuss.elastic.co/t/packetbeat-setup-fail/303406/4 "2022-05-02T16:21:34Z")

</div>

Hi,

please to check the line 168, it is an identation issue.

```auto
    159 setup.kibana:
    160
    161 # Kibana Host
    162 # Scheme and port can be left out and will be set to the default (http and 5601)
    163 # In case you specify and additional path, the scheme is required: http://localhost:5601/path
    164 # IPv6 addresses should always be defined as: https://[2001:db8::1]:5601
    165
    166
    167
    168 host: "140.130.34.20:5601"

```

it should be

```auto
    159 setup.kibana:
    160
    161 # Kibana Host
    162 # Scheme and port can be left out and will be set to the default (http and 5601)
    163 # In case you specify and additional path, the scheme is required: http://localhost:5601/path
    164 # IPv6 addresses should always be defined as: https://[2001:db8::1]:5601
    165
    166
    167
    168 host: "140.130.34.20:5601"

```

---

<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: [May 30, 2022, 6:21pm UTC](https://discuss.elastic.co/t/packetbeat-setup-fail/303406/5 "2022-05-30T18:21:40Z")

</div>

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