# Use term "id“ in input plugin, but "id" is not output and not shown in Kibana

**URL:** <https://discuss.elastic.co/t/use-term-id-in-input-plugin-but-id-is-not-output-and-not-shown-in-kibana/115038>\
**Category:** Logstash\
**Created:** [January 11, 2018, 8:41am UTC](https://discuss.elastic.co/t/use-term-id-in-input-plugin-but-id-is-not-output-and-not-shown-in-kibana/115038 "2018-01-11T08:41:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fan-chao](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fan-chao/32/26463_2.png) [@fan-chao](https://discuss.elastic.co/u/fan-chao)\
**Post date:** [January 11, 2018, 8:41am UTC](https://discuss.elastic.co/t/use-term-id-in-input-plugin-but-id-is-not-output-and-not-shown-in-kibana/115038/1 "2018-01-11T08:41:19Z")

</div>

Hi,

We added common option "id" in input plugin. But this option is not output and it is not shown up in Kibana. The config is as below.

```
input {
  udp {
	id => "my_plugin_id"
	port => 5040
	codec => "line"
	type => "MAF"
	}
}
output {
  elasticsearch { hosts => ["localhost:9200"] }
  stdout { codec => rubydebug }
}

```

Logstash output the flowing info not find "id".  
{  
"@timestamp" =\> 2018-01-11T06:47:04.630Z,  
"message" =\> "(8020)2018-01-11 14:46:51.228564 [LM\_INFO] Client(53290463)(IP(10.16.4.187:63383)) I/O count = 0, destory...\n\u0000",  
"@version" =\> "1",  
"type" =\> "MAF",  
"host" =\> "10.16.4.187"  
}

The field is not shown on Kibana either.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/c/aca347cc6b8b437f4a8bc58c00a1bd5c335a33f2.png)

We want to use this option to do some filtering. Is there error for the config? If not, how can we write the config to use "id" common option?

Thanks.

---

<div class="post-metadata">

**Author:** ![paz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paz/32/28003_2.png) [@paz](https://discuss.elastic.co/u/paz)\
**Post date:** [January 11, 2018, 11:28am UTC](https://discuss.elastic.co/t/use-term-id-in-input-plugin-but-id-is-not-output-and-not-shown-in-kibana/115038/2 "2018-01-11T11:28:55Z")

</div>

That _id_ option is just used as a friendly name for that specific plugin instance in the Stats API, instead of a random generated name. It is not passed inside the event.

---

<div class="post-metadata">

**Author:** ![fan-chao](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fan-chao/32/26463_2.png) [@fan-chao](https://discuss.elastic.co/u/fan-chao)\
**Post date:** [January 11, 2018, 11:57am UTC](https://discuss.elastic.co/t/use-term-id-in-input-plugin-but-id-is-not-output-and-not-shown-in-kibana/115038/3 "2018-01-11T11:57:20Z")

</div>

OK, got it, thanks.

---

<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:** [February 8, 2018, 11:57am UTC](https://discuss.elastic.co/t/use-term-id-in-input-plugin-but-id-is-not-output-and-not-shown-in-kibana/115038/4 "2018-02-08T11:57:27Z")

</div>

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