""" This app captures packets and extract five tupels. Store these data to elastic search. Elastic search and kibana creates real time packet monitering bashbord. """ import json import sys import datetime import time import pyshark import requests from elasticsearch import Elasticsearch from elasticsearch import helpers URL = "http://localhost:9200" INDEX_URL = URL + "/packets" TYPE_URL = INDEX_U