This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Can I extend wireshark to capture log data?

0

I'm new to Wireshark, so forgive me if the question is dumb.

If I have a log data (say from Apache). Can I feed it to Wireshark so I can analyze it? If it requires writing a plugin, I can do that.

asked 05 Feb '15, 03:41

Ittay's gravatar image

Ittay
1111
accept rate: 0%


2 Answers:

0

If you write the plugin to do so, then sure.

If you want to write the plugin in C-code, you might want to look at the code in logcat_text.c to get an idea of how to do it. If you want to write it in Lua, you might want to look at the acme_file.lua script.

answered 05 Feb '15, 11:24

Hadriel's gravatar image

Hadriel
2.7k2939
accept rate: 18%

0

While wireshark is awsome and super powerful, it's probably not right tool for the job with logs.

I'd recommend using ELK stack [elasticsearch, logstash and kibana ] for processing logs

http://www.elasticsearch.org/

answered 06 Feb '15, 01:35

izopizo's gravatar image

izopizo
2024714
accept rate: 0%