Skip to content

danielguerra69/tshark-elasticsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tshark output to elasticsearch

Wireshark

Wireshark is a network packet decoder.

This image contains the wireshark commandline tool, tshark and a python script that posts the data in elasticsearch

Usage

docker-compose

I strongly advise to use docker-compose

mkdir tshark-elasticsearch
cd tshark-elasticsearch
wget https://raw.githubusercontent.com/danielguerra69/tshark-elasticsearch/master/docker-compose.yml
docker-compose up -d

The compose starts an elasticsearch cluster, kibana and tshark

Copy pcap data to analyze

docker cp /mydir/mypcap.pcap tshark:/data/pcap

Analyze the data

docker-compose exec tshark bash
tshark -r /data/pcap/mypcap.pcap -T ek | tshark2es.py <mytag>

The tag is use to seperate the data, you can use any word.

View the data

Go with your browser to http://:5601

In kibana use the index tshark-* and isotime

About

tshark packet decoder output to elasticsearch.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published