Advertisement
BiG_NoBoDy

rsyslogd -dn # with elsticsearch module

Jan 27th, 2018
434
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.15 KB | None | 0 0
  1. 0478.489873883:action 0 queue:Reg/w0: action 'action 0': is transactional - executing in commit phase
  2. 0478.489884969:action 0 queue:Reg/w0: Action 0 transitioned to state: itx
  3. 0478.489894212:action 0 queue:Reg/w0: doTransaction: action 0, currIParam 1
  4. 0478.489903270:action 0 queue:Reg/w0: entering actionCalldoAction(), state: itx, actionNbr 0
  5. 0478.489917444:action 0 queue:Reg/w0: omelasticsearch: submitBatch, batch: '{"index":{"_index": "test-index","_type":"test-type"}}{"timestamp":"2018-01-28T02:47:58.486956+02:00","message":"TEST Message to be written","host":"x201","severity":"info","facility":"mail","syslogtag":"TESTAS"}'
  6. 0478.492019839:action 0 queue:Reg/w0: omelasticsearch: checkConn(http://10.8.4.21:29200/) completed with success on attempt 0
  7. 0478.492036288:action 0 queue:Reg/w0: omelasticsearch: using REST URL: 'http://10.8.4.21:29200/_bulk'
  8. 0478.493495087:action 0 queue:Reg/w0: omelasticsearch: pWrkrData replyLen = '88'
  9. 0478.493507244:action 0 queue:Reg/w0: omelasticsearch: pWrkrData reply: '{"error":"Content-Type header [text/json; charset=utf-8] is not supported","status":406}'
  10. 0478.493523732:action 0 queue:Reg/w0: omelasticsearch: error in elasticsearch reply: bulkmode insert does not return array, reply is: {"error":"Content-Type header [text/json; charset=utf-8] is not supported","status":406}
  11. 0478.493535212:action 0 queue:Reg/w0: omelasticsearch: error found in elasticsearch reply
  12. 0478.493561668:action 0 queue:Reg/w0: omelasticsearch: no local error logger defined - ignoring ES error information
  13. 0478.493573398:action 0 queue:Reg/w0: Action 0 transitioned to state: rdy
  14. 0478.493582443:action 0 queue:Reg/w0: actionCommit, action 0, in retry loop, iRet 0
  15. 0478.493592459:action 0 queue:Reg/w0: regular consumer finished, iret=0, szlog 0 sz phys 1
  16. 0478.493603991:action 0 queue:Reg/w0: DeleteProcessedBatch: we deleted 1 objects and enqueued 0 objects
  17. 0478.493614039:action 0 queue:Reg/w0: doDeleteBatch: delete batch from store, new sizes: log 0, phys 0
  18. 0478.493624371:action 0 queue:Reg/w0: regular consumer finished, iret=4, szlog 0 sz phys 0
  19. 0478.493633257:action 0 queue:Reg/w0: action 0 queue:Reg/w0: worker IDLE, waiting for work.
  20. 0481.493360199:imudp.c : imudp: epoll_wait() returned with 1 fds
  21. 0481.493397104:imudp.c : imudp: recvmmsg returned 1
  22. 0481.493411231:imudp.c : recv(4,142),acl:1,msg:<22>1 2018-01-28T02:48:01.492298+02:00 x201 TESTAS - - [timeQualitytzKnown="1" isSynced="1" syncAccuracy="911500"] TEST Message to be written
  23. 0481.493429469:imudp.c : msg parser: flags 70, from '~NOTRESOLVED~', msg '<22>1 2018-01-28T02:48:01.492298+02:00 x201 TESTAS - - [time'
  24. 0481.493441171:imudp.c : parse using parser list 0x56190f24b6b0 (the default list).
  25. 0481.493452584:imudp.c : Message has RFC5424/syslog-protocol format.
  26. 0481.493467102:imudp.c : Parser 'rsyslog.rfc5424' returned 0
  27. 0481.493478101:imudp.c : imudp: recvmmsg returned -1
  28. 0481.493489700:imudp.c : main Q: qqueueAdd: entry added, size now log 1, phys 1 entries
  29. 0481.493505238:imudp.c : main Q: MultiEnqObj advised worker start
  30. 0481.493521537:main Q:Reg/w0 : wti 0x56190f27b9d0: worker awoke from idle processing
  31. 0481.493533011:main Q:Reg/w0 : DeleteProcessedBatch: we deleted 0 objects and enqueued 0 objects
  32. 0481.493543132:main Q:Reg/w0 : doDeleteBatch: delete batch from store, new sizes: log 1, phys 1
  33. 0481.493555007:main Q:Reg/w0 : processBATCH: batch of 1 elements must be processed
  34. 0481.493564601:main Q:Reg/w0 : processBATCH: next msg 0: <22>1 2018-01-28T02:48:01.492298+02:00 x201 TESTAS - - [timeQuality tzKnown="1" isSynced="1" syncAccuracy="911500"] TEST Message
  35. 0481.493576423:main Q:Reg/w0 : ACTION 0 [omelasticsearch:action(type="omelasticsearch" ...)]
  36. 0481.493595861:main Q:Reg/w0 : executing action 0
  37. 0481.493606163:main Q:Reg/w0 : action 'action 0': called, logging to omelasticsearch (susp 0/0, direct q 0)
  38. 0481.493617183:main Q:Reg/w0 : action 0 queue: qqueueAdd: entry added, size now log 1, phys 1 entries
  39. 0481.493631250:main Q:Reg/w0 : action 0 queue: EnqueueMsg advised worker start
  40. 0481.493641127:main Q:Reg/w0 : action 'action 0': set suspended state to 0
  41. 0481.493649712:main Q:Reg/w0 : IF
  42. 0481.493666212:main Q:Reg/w0 : var 'fromhost-ip'
  43. 0481.493690925:main Q:Reg/w0 : !=
  44. 0481.493710866:main Q:Reg/w0 : string '127.0.0.1'
  45. 0481.493742996:main Q:Reg/w0 : eval expr 0x56190f261fb0, type 'CMP_NE'
  46. 0481.493752575:main Q:Reg/w0 : eval expr 0x56190f273680, type 'V'
  47. 0481.493764215:main Q:Reg/w0 : dnscache: entry (nil) found
  48. 0481.494010495:action 0 queue:Reg/w0: wti 0x56190f27a450: worker awoke from idle processing
  49. 0481.494022957:action 0 queue:Reg/w0: DeleteProcessedBatch: we deleted 0 objects and enqueued 0 objects
  50. 0481.494032769:action 0 queue:Reg/w0: doDeleteBatch: delete batch from store, new sizes: log 1, phys 1
  51. 0481.494743891:main Q:Reg/w0 : rainerscript: (string) var 8: '78.60.211.16'
  52. 0481.494756304:main Q:Reg/w0 : eval expr 0x56190f273680, return datatype 'S':0
  53. 0481.494766056:main Q:Reg/w0 : eval expr 0x56190f274650, type 'S'
  54. 0481.494775544:main Q:Reg/w0 : eval expr 0x56190f274650, return datatype 'S':0
  55. 0481.494785850:main Q:Reg/w0 : eval expr 0x56190f261fb0, return datatype 'N':6
  56. 0481.494795099:main Q:Reg/w0 : if condition result is 6
  57. 0481.494803329:main Q:Reg/w0 : ACTION 1 [builtin:omfile:?RemoteHost;tplremote]
  58. 0481.494821761:main Q:Reg/w0 : executing action 1
  59. 0481.494831653:main Q:Reg/w0 : action 'action 1': called, logging to builtin:omfile (susp 0/0, direct q 1)
  60. 0481.494870912:main Q:Reg/w0 : action 'action 1': is transactional - executing in commit phase
  61. 0481.494881223:main Q:Reg/w0 : Action 1 transitioned to state: itx
  62. 0481.494890312:main Q:Reg/w0 : action 'action 1': set suspended state to 0
  63. 0481.494898862:main Q:Reg/w0 : PROPFILT
  64. 0481.494914777:main Q:Reg/w0 : Property.: 'syslogtag'
  65. 0481.494932657:main Q:Reg/w0 : Operation: 'isequal'
  66. 0481.494953980:main Q:Reg/w0 : Value....: '[CLOUDINIT]'
  67. 0481.494972907:main Q:Reg/w0 : Filter: check for property 'syslogtag' (value 'TESTAS') isequal '[CLOUDINIT]': FALSE
  68. 0481.494987434:main Q:Reg/w0 : PROPFILT condition result is 0
  69. 0481.494996493:main Q:Reg/w0 : END batch execution phase, entering to commit phase [processed 1 of 1 messages]
  70. 0481.495007339:main Q:Reg/w0 : actionCommitAllDirect: action 1, state 1, nbr to commit 0 isTransactional 1
  71. 0481.495017348:main Q:Reg/w0 : doTransaction: have commitTransaction IF, using that, pWrkrInfo 0x56190f27bb10
  72. 0481.495027601:main Q:Reg/w0 : entering actionCallCommitTransaction(), state: itx, actionNbr 1, nMsgs 1
  73. 0481.495037323:main Q:Reg/w0 : omfile: file to log to: /var/log/remote/78.60.211.16/2018/01/28/all.log
  74. 0481.495048277:main Q:Reg/w0 : omfile: write to stream, pData->pStrm 0x7f53fc003180, lenBuf 87, strt data Jan 28 00:48:01 x201[78.60.211.16] TESTAS TESTAS mail.info TEST Message to be written
  75. 0481.495062229:main Q:Reg/w0 : strm 0x7f53fc003180: strmFlushinternal: file 12(/var/log/remote/78.60.211.16/2018/01/28/all.log) flush, buflen 87
  76. 0481.495073911:main Q:Reg/w0 : strm 0x7f53fc003180: file 12(/var/log/remote/78.60.211.16/2018/01/28/all.log) doWriteInternal: bFlush 1
  77. 0481.495085148:main Q:Reg/w0 : strmPhysWrite, stream 0x7f53fc003180, len 87
  78. 0481.495117997:main Q:Reg/w0 : strm 0x7f53fc003180: file 12 write wrote 87 bytes
  79. 0481.495128462:main Q:Reg/w0 : Action 1 transitioned to state: rdy
  80. 0481.495137596:main Q:Reg/w0 : actionCommit, action 1, in retry loop, iRet 0
  81. 0481.495146594:main Q:Reg/w0 : processBATCH: batch of 1 elements has been processed
  82. 0481.495156838:main Q:Reg/w0 : regular consumer finished, iret=0, szlog 0 sz phys 1
  83. 0481.495166943:main Q:Reg/w0 : DeleteProcessedBatch: we deleted 1 objects and enqueued 0 objects
  84. 0481.495176896:main Q:Reg/w0 : doDeleteBatch: delete batch from store, new sizes: log 0, phys 0
  85. 0481.495187148:main Q:Reg/w0 : regular consumer finished, iret=4, szlog 0 sz phys 0
  86. 0481.495210325:main Q:Reg/w0 : main Q:Reg/w0: worker IDLE, waiting for work.
  87. 0481.495238877:action 0 queue:Reg/w0: action 'action 0': is transactional - executing in commit phase
  88. 0481.495249740:action 0 queue:Reg/w0: Action 0 transitioned to state: itx
  89. 0481.495259089:action 0 queue:Reg/w0: doTransaction: action 0, currIParam 1
  90. 0481.495268073:action 0 queue:Reg/w0: entering actionCalldoAction(), state: itx, actionNbr 0
  91. 0481.495281598:action 0 queue:Reg/w0: omelasticsearch: submitBatch, batch: '{"index":{"_index": "test-index","_type":"test-type"}}
  92. {"timestamp":"2018-01-28T02:48:01.492298+02:00","message":"TEST Message to be written","host":"x201","severity":"info","facility":"mail","syslogtag":"TESTAS"}
  93. '
  94. 0481.497351892:action 0 queue:Reg/w0: omelasticsearch: checkConn(http://10.8.4.21:29200/) completed with success on attempt 0
  95. 0481.497368208:action 0 queue:Reg/w0: omelasticsearch: using REST URL: 'http://10.8.4.21:29200/_bulk'
  96. 0481.499075454:action 0 queue:Reg/w0: omelasticsearch: pWrkrData replyLen = '88'
  97. 0481.499090082:action 0 queue:Reg/w0: omelasticsearch: pWrkrData reply: '{"error":"Content-Type header [text/json; charset=utf-8] is not supported","status":406}'
  98. 0481.499106700:action 0 queue:Reg/w0: omelasticsearch: error in elasticsearch reply: bulkmode insert does not return array, reply is: {"error":"Content-Type header [text/json; charset=utf-8] is not supported","status":406}
  99. 0481.499134988:action 0 queue:Reg/w0: omelasticsearch: error found in elasticsearch reply
  100. 0481.499144430:action 0 queue:Reg/w0: omelasticsearch: no local error logger defined - ignoring ES error information
  101. 0481.499155907:action 0 queue:Reg/w0: Action 0 transitioned to state: rdy
  102. 0481.499165166:action 0 queue:Reg/w0: actionCommit, action 0, in retry loop, iRet 0
  103. 0481.499175289:action 0 queue:Reg/w0: regular consumer finished, iret=0, szlog 0 sz phys 1
  104. 0481.499187334:action 0 queue:Reg/w0: DeleteProcessedBatch: we deleted 1 objects and enqueued 0 objects
  105. 0481.499208728:action 0 queue:Reg/w0: doDeleteBatch: delete batch from store, new sizes: log 0, phys 0
  106. 0481.499219324:action 0 queue:Reg/w0: regular consumer finished, iret=4, szlog 0 sz phys 0
  107. 0481.499228261:action 0 queue:Reg/w0: action 0 queue:Reg/w0: worker IDLE, waiting for work.
  108. ^C0483.590419409:main thread : DoDie called.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement