You have been asked to examine a sample of network traffic to investigate suspicious activity on some of the company workstations. The company directors need to be able to understand this data.
### Load in the libraries and the data
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
def load_csv_data():
data = pd.read_csv('./example_data/example_pcap.csv')
return data
data = load_csv_data()
data['Time'] = pd.to_datetime(data['Time'])
data
# Can you create a line chart that shows the amount of activity (number of packets) per minute?
# Can you create a bar chart that shows the amount of activity for each protocol in our dataset?
# Can you create a scatter plot that compares source IPs with destination IP?