Send network traffic data to logstash and elasticsearch

I have been browsing for different sites on how to send network traffic data to logstash and elasticsearch; nevertheless, could not find an effective way to do so.

Wonder could anyone give me some steps and guidelines

Great thanks

"Network traffic data" can mean a lot of different things. If you can be more specific it'll be easier to help.

For example like attack.alert or ip address hitting the server and local network map error