# Can we have interface name also stamped on each event?

**URL:** https://discuss.elastic.co/t/can-we-have-interface-name-also-stamped-on-each-event/48054
**Category:** Beats
**Tags:** packetbeat
**Created:** [April 21, 2016, 2:12pm UTC](https://discuss.elastic.co/t/can-we-have-interface-name-also-stamped-on-each-event/48054 "2016-04-21T14:12:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![harshafrnd4u](https://avatars.discourse-cdn.com/v4/letter/h/fbc32d/32.png) [@harshafrnd4u](https://discuss.elastic.co/u/harshafrnd4u)
#### Post date: [April 21, 2016, 2:12pm UTC](https://discuss.elastic.co/t/can-we-have-interface-name-also-stamped-on-each-event/48054/1 "2016-04-21T14:12:30Z")

</div>

Hi,

Is there any way to stamp interface name on each event generated by packetbeat ?

Thanks  
Harsha

---

<div class="post-metadata">

### Author: ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)
#### Post date: [April 22, 2016, 3:16am UTC](https://discuss.elastic.co/t/can-we-have-interface-name-also-stamped-on-each-event/48054/2 "2016-04-22T03:16:55Z")

</div>

No, Packetbeat does not do this. I assuming you want this information when using the `any` interface?

If you are not using the `any` interface, you could add an `interface` field to the event using the `fields` configuration setting and set it to name of the interface from which you are collecting.

---

<div class="post-metadata">

### Author: ![harshafrnd4u](https://avatars.discourse-cdn.com/v4/letter/h/fbc32d/32.png) [@harshafrnd4u](https://discuss.elastic.co/u/harshafrnd4u)
#### Post date: [April 22, 2016, 5:42am UTC](https://discuss.elastic.co/t/can-we-have-interface-name-also-stamped-on-each-event/48054/3 "2016-04-22T05:42:25Z")

</div>

If we have multiple interfaces, this option is not feasible right?.

---

<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: [July 5, 2017, 9:52pm UTC](https://discuss.elastic.co/t/can-we-have-interface-name-also-stamped-on-each-event/48054/4 "2017-07-05T21:52:53Z")

</div>


