Skip to content

Latest commit

 

History

History
 
 

Netflow

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Sumo Logic for Netflow

Netflow

This is an app for Netflow. It contains a dashboard calculating key netflow statistics.

Netflow logs are collected using a fluentd netflow plugin and then forwarded to an HTTP collector on Sumo Logic's side.

Fluentd Setup for Netflow Collection

  1. Install fluentd
  2. Install one of the following fluentd input sources to handle collection of netflow data. Each are recommended from Fluentd's docs, but the latter seems to be receiving more frequent updates. fluent-plugin-netflow or fluent-plugin-netflowipfix
  3. Install the SumoLogic fluentd output plugin
  4. Create a hosted collector in SumoLogic and add an HTTP source
  5. Modify the fluentd config file to reference the new input/output plugins (sample config shown below for netflowipfix)
  6. Restart the fluentd agent after updating the config file
  ##Netflow input
  <source>
    type netflowipfix
    tag netflow.event
    bind {IP address for plugin to accept Netflow}
    port {UDP port for plugin to accept Netflow; 5140 is default}
  </source>
  
  ##Sumo Logic output
  <match **>
    @type sumologic
    endpoint {Sumo HTTP endpoint}
  </match>

Troubleshooting Tips

  • Monitor stdout for errors after starting the fluentd agent and check the fluentd log for specifics
  • Verify that your input/output plugins are installed in the correct plugin directory so that the fluentd agent can find them
  • Comment out any unused input/output plugins in the config file
  • Use this netflow generator to test a config on your own in a lab env

Update Source Categories

Update $$Netflow to _sourceCategory=yourSourceCategory

Import App

Once imported, the app should automatically be setup to query against Netflow logs.