# Syslog and Docker + adding tags

**URL:** <https://discuss.hashicorp.com/t/syslog-and-docker-adding-tags/49992>\
**Category:** Nomad\
**Created:** [February 10, 2023, 7:55am UTC](https://discuss.hashicorp.com/t/syslog-and-docker-adding-tags/49992 "2023-02-10T07:55:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![linuxmail](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/linuxmail/32/3205_2.png) [@linuxmail](https://discuss.hashicorp.com/u/linuxmail)\
**Post date:** [February 10, 2023, 7:55am UTC](https://discuss.hashicorp.com/t/syslog-and-docker-adding-tags/49992/1 "2023-02-10T07:55:42Z")

</div>

Hi,

I have on my Nomad docker config something like this:

```auto
          "logging": {
            "type": "syslog",
            "config": {
              "syslog-address": "unixgram:///dev/log",
              "tag": "docker/{{.Name}}",
            }
          },
          "extra_labels": [
            "job_name",
            "task_group_name",
            "task_name",
            "namespace",
            "node_name"
          ]
        }

```

is it possible, to add some of the extra\_labels to the “tag”, like namespace and job\_name? ?

cu denny
