forked from logrhythm/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request elastic#182 from Robert-Weber/syslogFromGenericSou…
…rce4 Syslog from generic source4
- Loading branch information
Showing
2 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
package protoMsg; | ||
|
||
option java_package = "com.logrhythm.nm.message"; | ||
option java_outer_classname = "LogMessageMsg"; | ||
|
||
message LogMessage { | ||
enum LogType { | ||
NORMALIZED = 0; | ||
FULL = 1; | ||
INTERMEDIATE = 2; | ||
DEBUG = 3; | ||
SYSTEM = 4; | ||
EVENT = 5; | ||
} | ||
enum SourceType { | ||
DPIMSG = 0; | ||
JSON = 1; | ||
RAW = 2; | ||
} | ||
enum SystemSubtype { | ||
RESTART = 0; | ||
FATAL_ERROR = 1; | ||
UPGRADE = 2; | ||
INDEX_DELETE = 3; | ||
CONFIG_CHANGE = 4; | ||
ADMIN_PASSWD_CHANGE = 5; | ||
USER_ADD = 6; | ||
USER_DEL = 7; | ||
PCAP_DOWNLOAD = 8; | ||
UNKNOWN = 9; | ||
} | ||
|
||
optional LogType outputType = 1; | ||
repeated SourceType inputType = 2; | ||
repeated string inputData = 3; | ||
repeated SystemSubtype systemSubType = 4; | ||
repeated string eventName = 5; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters