Hey andrewkroh.
I tried npcap v0.10-r18 on Windows 7 but the Packetbeat does not capture traffic from the loopback interface.
However, Wrieshar can capture mysql data from Npcap Loopback Adapter such as the icon below.
The following snippet shows my configuration.
############################# Sniffer #########################################
interfaces:
device: 1
buffer_size_mb: 100
############################# Protocols #######################################
protocols:
dns:
ports: [53]
include_authorities: true
include_additionals: true
# send_request: true
# send_response: true
http:
ports: [80, 8080, 8000, 5000, 8002]
memcache:
ports: [11211]
mysql:
ports: [3306]
pgsql:
ports: [5432]
redis:
ports: [6379]
thrift:
ports: [9090]
mongodb:
ports: [27017]
############################# Processes #######################################
procs:
enabled: true
monitored:
- process: mysqld
cmdline_grep: mysqld
- process: app
cmdline_grep: gunicorn
###############################################################################
############################# Libbeat Config ##################################
Base config file used by all other beats for using libbeat features
############################# Output ##########################################
Configure what outputs to use when sending the data collected by the beat.
Multiple outputs may be used.
output:
logstash:
hosts: ["localhost:5044"]
############################# Shipper #########################################
shipper:
name: "172.16.7.163"
############################# Logging #########################################
logging:
files:
rotateeverybytes: 10485760 # = 10MB # Number of rotated log files to keep. Oldest files will be deleted first.
The following icon shows the MySQL.
packetbeat -e -d "publish" -N
select * from XXX;
Packetbeat does not capture traffic.