pyshark icon indicating copy to clipboard operation
pyshark copied to clipboard

elastic-mapping not supported

Open johnbumgarner opened this issue 1 year ago • 1 comments

I'm trying to use the parameter use_ek in a LiveCapture session. I continually get the following error:

raise TSharkVersionException(f"Your tshark version does not support elastic-mapping. Please upgrade.") pyshark.tshark.tshark.TSharkVersionException: Your tshark version does not support elastic-mapping. Please upgrade.

Here is the code that I'm using:

import pyshark

capture = pyshark.LiveCapture(interface='en0',  use_ek=True)
for packet in capture:
   # do something with the packet
----------------------------------------
My system information
----------------------------------------
Platform:     Apple
OS Version:   macOS Catalina 10.15.7
Python Version: 3.9
PyShark Version: 0.5.3
Tshark Version:  4.0.3
----------------------------------------

johnbumgarner avatar Jan 31 '23 15:01 johnbumgarner