add FSM feature to logsurfer