[Infra UI] Update format of System and Redis log lines to match new format (#28415) (#28686)

* Updates to format

* Uppercasing Syslog

* Change prefixes for syslog to system

Co-Authored-By: simianhacker <chris@chriscowan.us>

* Change prefixes for syslog to system

Co-Authored-By: simianhacker <chris@chriscowan.us>

* Change prefixes for syslog to system

Co-Authored-By: simianhacker <chris@chriscowan.us>

* Change prefixes for syslog to system

Co-Authored-By: simianhacker <chris@chriscowan.us>
This commit is contained in:
Chris Cowan 2019-01-22 11:06:43 -07:00 committed by GitHub
parent bfe91b382f
commit cf5681ab91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 4 deletions

View file

@ -11,10 +11,16 @@ export const filebeatRedisRules = [
},
format: [
{
constant: 'redis',
constant: '[Redis]',
},
{
constant: ' ',
constant: '[',
},
{
field: 'redis.log.level',
},
{
constant: '] ',
},
{
field: 'redis.log.message',

View file

@ -10,6 +10,15 @@ export const filebeatSystemRules = [
exists: ['system.syslog.message'],
},
format: [
{
constant: '[System][syslog] ',
},
{
field: 'system.syslog.program',
},
{
constant: ' - ',
},
{
field: 'system.syslog.message',
},
@ -20,6 +29,15 @@ export const filebeatSystemRules = [
exists: ['system.auth.message'],
},
format: [
{
constant: '[System][auth] ',
},
{
field: 'system.syslog.program',
},
{
constant: ' - ',
},
{
field: 'system.auth.message',
},
@ -31,7 +49,7 @@ export const filebeatSystemRules = [
},
format: [
{
constant: 'ssh',
constant: '[System][auth][ssh]',
},
{
constant: ' ',
@ -59,7 +77,7 @@ export const filebeatSystemRules = [
},
format: [
{
constant: 'ssh',
constant: '[System][auth][ssh]',
},
{
constant: ' Dropped connection from ',