# Include user.name field in journalbeat

**URL:** https://discuss.elastic.co/t/include-user-name-field-in-journalbeat/270668
**Category:** Beats
**Tags:** journalbeat
**Created:** [April 20, 2021, 7:39am UTC](https://discuss.elastic.co/t/include-user-name-field-in-journalbeat/270668 "2021-04-20T07:39:27Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Nicoske](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nicoske/32/87383_2.png) [@Nicoske](https://discuss.elastic.co/u/Nicoske)
#### Post date: [April 20, 2021, 7:39am UTC](https://discuss.elastic.co/t/include-user-name-field-in-journalbeat/270668/1 "2021-04-20T07:39:27Z")

</div>

Hi!

I have a quite minimalist journalbeat config pushing my journal to elasticsearch but I'm missing the user.name field (I have user.id). I see that it is disabled by default in the reference, but in my index settings it seems to be enabled.

How should I proceed to get that field ?  
Here's my journalbeat config:

```
journalbeat.inputs:
- paths: []
  seek: cursor

setup.template.settings:
  index.number_of_shards: 1

setup.kibana:

output.elasticsearch:
  hosts: ["x:9443"]
  protocol: "https"
  username: "journalbeat"
  password: "x"

processors:
  - add_host_metadata: ~

logging.level: warning
```

---

<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 18, 2021, 9:40am UTC](https://discuss.elastic.co/t/include-user-name-field-in-journalbeat/270668/2 "2021-05-18T09:40:26Z")

</div>

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