[OPNFLWPLUG-644] Audit data collection for various events of OpenFlow plugin. Created: 17/Mar/16 Updated: 27/Sep/21 Resolved: 12/Jul/19 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | Neon, Sodium |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Kamal Rameshan | Assignee: | Somashekhar Javalagi |
| Resolution: | Done | Votes: | 0 |
| Labels: | neon-release | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| Description |
|
In a real prod environment its imperative to extract an audit trail of connection and disconnection events. Other events might also be important. Some options to consider are 1. Have a keyword in the logs to identify its a connection event. For now option 1 seems to be a low hanging fruit, for now. |
| Comments |
| Comment by Jozef Bacigal [ 20/Jun/17 ] |
|
Connection and disconnections statistics is possible to get through SessionStatistics (karaf console command show-session-stats). In all logs on the DEBUG level is used alwas the same pattern to identify device as "Device:'device name'". Session statistics or MessageSpy, can be enhanced. But need to know what information are needed. MessageSpy is also available in karaf console and in LOG by using DEBUG. |
| Comment by Anil Vishnoi [ 12/Dec/17 ] |
|
This story is a good enhancement for the plugin, but it requires more grooming on what can be improved here and how to expose these statistics data. |
| Comment by Anil Vishnoi [ 10/Sep/18 ] |
|
Arunprakash Can you please update the ticket with the details? |
| Comment by Somashekhar Javalagi [ 11/Sep/18 ] |
|
| Comment by Somashekhar Javalagi [ 23/Oct/18 ] |
|
Main events of openflowplugin can be logged using a separate common logger, which will be using log4j logging framework. This can be configured as a log appender in etc/org.ops4j.pax.logging file, through which we can redirect main openflowplugin event logs to a separate file. This can be helpful in debugging the problems with different phases of device connection to the SDN controller. The log appender can be configured as below in log_configuration.txt
|