# How to do sniff data from all connected network in windows packetbeat

**URL:** https://discuss.elastic.co/t/how-to-do-sniff-data-from-all-connected-network-in-windows-packetbeat/146734
**Category:** Beats
**Tags:** packetbeat
**Created:** [August 30, 2018, 3:29pm UTC](https://discuss.elastic.co/t/how-to-do-sniff-data-from-all-connected-network-in-windows-packetbeat/146734 "2018-08-30T15:29:36Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![varun1992](https://avatars.discourse-cdn.com/v4/letter/v/3da27b/32.png) [@varun1992](https://discuss.elastic.co/u/varun1992)
#### Post date: [August 30, 2018, 3:29pm UTC](https://discuss.elastic.co/t/how-to-do-sniff-data-from-all-connected-network-in-windows-packetbeat/146734/1 "2018-08-30T15:29:37Z")

</div>

How to sniff data from all connected network in packetbeat

how to do **packetbeat.interfaces.device: all** in windows ?

is there a way for that ?

---

<div class="post-metadata">

### Author: ![cwurm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cwurm/32/34882_2.png) [@cwurm](https://discuss.elastic.co/u/cwurm)
#### Post date: [August 31, 2018, 12:09pm UTC](https://discuss.elastic.co/t/how-to-do-sniff-data-from-all-connected-network-in-windows-packetbeat/146734/2 "2018-08-31T12:09:52Z")

</div>

Currently, it's only possible to capture from one device at a time. Linux supports capturing from `any` which allows Packetbeat to capture from all devices.

On other operating systems, you have to start multiple instances of Packetbeat. There's an [open feature request](https://github.com/elastic/beats/issues/263) for capturing from multiple devices.

---

<div class="post-metadata">

### Author: ![varun1992](https://avatars.discourse-cdn.com/v4/letter/v/3da27b/32.png) [@varun1992](https://discuss.elastic.co/u/varun1992)
#### Post date: [August 31, 2018, 1:24pm UTC](https://discuss.elastic.co/t/how-to-do-sniff-data-from-all-connected-network-in-windows-packetbeat/146734/3 "2018-08-31T13:24:11Z")

</div>

how do i start multiple instances ?  
if i try to install beat from powershell code it just say already installed

---

<div class="post-metadata">

### Author: ![varun1992](https://avatars.discourse-cdn.com/v4/letter/v/3da27b/32.png) [@varun1992](https://discuss.elastic.co/u/varun1992)
#### Post date: [September 5, 2018, 11:13am UTC](https://discuss.elastic.co/t/how-to-do-sniff-data-from-all-connected-network-in-windows-packetbeat/146734/4 "2018-09-05T11:13:48Z")

</div>

please give replay

---

<div class="post-metadata">

### Author: ![adrisr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adrisr/32/25423_2.png) [@adrisr](https://discuss.elastic.co/u/adrisr)
#### Post date: [September 5, 2018, 11:34am UTC](https://discuss.elastic.co/t/how-to-do-sniff-data-from-all-connected-network-in-windows-packetbeat/146734/5 "2018-09-05T11:34:28Z")

</div>

You don't need to install packetbeat more than once. Just run two or more instances of it, each one with a different interface and pointing to a different data dir.

```
packetbeat run --path.data=data0 -E packetbeat.interfaces.device=0
packetbeat run --path.data=data1 -E packetbeat.interfaces.device=1
packetbeat run --path.data=data2 -E packetbeat.interfaces.device=2
```

---

<div class="post-metadata">

### Author: ![varun1992](https://avatars.discourse-cdn.com/v4/letter/v/3da27b/32.png) [@varun1992](https://discuss.elastic.co/u/varun1992)
#### Post date: [September 6, 2018, 1:28pm UTC](https://discuss.elastic.co/t/how-to-do-sniff-data-from-all-connected-network-in-windows-packetbeat/146734/6 "2018-09-06T13:28:13Z")

</div>

is th **path.data** value is fully qualified path to data folder ? or can i set path in yml file ?

---

<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: [October 4, 2018, 1:28pm UTC](https://discuss.elastic.co/t/how-to-do-sniff-data-from-all-connected-network-in-windows-packetbeat/146734/7 "2018-10-04T13:28:14Z")

</div>

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