Skip to content

Azure/fluent-plugin-process-ucs-syslog

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Filter plugin for appending various field in the record from UCS syslog for Fluentd

Requirements

fluent-plugin-process-ucs-syslog fluentd ruby
>= 1.0.0 >= v0.14.0 >= 2.1
< 1.0.0 >= v0.12.0 >= 1.9

Configuration

<filter **>
    @type add_machine_id
    ucsHostNameKey SyslogSource
    coloregion SJC2
    domain mydomain
    username myusername
    passwordFile /etc/password/ucsPassword
</filter>

Will add new hash to record call "machineId" using the detected chassis and blade.

Will check syslog message for the following regex pattern:

sys\/chassis-\d\/blade-\d

If not found, the message will get passed on unchanged. If found, will log in to UCS using the 'SyslogSource' record from the source and using mydomain\myusername and password in password file in /etc/password/ucsPassword. The login token will be cached in /tmp/token. It will then query UCS for the service profile associated with the chassis and blade id. Along with the provided COLO Region, the machine ID will be generated.

Machine ID format:

Cisco_UCS:<coloregion>:<serviceProfile>

Will also add record called "stage" using the detected FSM tag.

[FSM:BEGIN] => begin
[FSM:END] => end
[FSM:STAGE:REMOTE-ERROR] => nil

Will also add record called "event: using detected known events.

Power-on => Boot
Soft shutdown => Soft Shutdown
Hard shutdown => Hard Shutdown
Power-cycle => Restart

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

About

Filter plugin for appending various field in the record from UCS syslog

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages