Can someone please change tag from kibana
to logstash
.
@leandrojmp
I have added pipeline.workers: 1
in /etc/logstash/pipelines.yml
on both the logstash
servers and restarted logstash
.
- pipeline.id: main
path.config: "/etc/logstash/conf.d/*.conf"
pipeline.workers: 1
Restarted application service but while checking today's logs in kibana
discover, i still see them not appearing in order.
App1
(total 5 log entires in application.log
on server)
Oct 20 10:38:26 <hostname> portal-api: {"level":"info","time":1634715506825,"pid":7107,"hostname":"<hostname>","config":{"appName":"portal-api","appHost":"https://devapi.com","port":"88","tenantName":"ob","psd2ApiSpec":"next","bankingApi":"https://api.com","consentsAuth":"https://login.","apidocsWebsite":"https://dev.com","tenantFintechName":"onefintech","datafeedServerCallback":"https://orufin/callback","pispWebsiteCallback":"https://pisp.orufin/buy","enableSwaggerPreview":true,"pdUri":"ldap://pd.:13","pdBindDn":"cn=directory","pdBindPassword":"***","pdBaseDn":"dc=bank,dc=com","pdBankTppDn":"TP","pdBankOauthClientsDn":"Clients","passwordChangeFailureAttempts":"***","passwordChangeFailureLockTime":"***","validation":{"usernameMinLength":"6","usernameMaxLength":"48","passwordMinLength":"***","passwordMaxLength":"***"},"apic":{"baseUri":"https://apiman","gatewayHost":"gw.","catalog":"next","organization":"quat","client":{"clientId":"portal-consumer-toolkit","clientSecret":"***"},"apiPlan":"default-plan","apim":{"baseUri":false,"realm":false,"admin":{"login":false,"password":"***"}}},"ping":{"restApiUri":"https://login./pf-ws/rest","revokeToken":"https://login./as/revoke_token.oauth2","refreshToken":"https://login./as/token.oauth2","exchangeToken":"https://login./as/token.oauth2","createDisabled":false,"credentials":{"oauth":{"login":"devportal","password":"***"},"devPortal":{"login":"dev-portal","password":"***"}}},"mail":{"options":{"host":"smtp.","port":"25"},"contact":{"to":"banking@.com","from":"Devportal@.com","subject":Developer Portal Contact","template":"<p><strong>[[name]]</strong> <[[email]]></p><p>[[message]]</p>"},"events":{"tracking":"account:registration, account:activation","to":"banking@.com","from":"Devportal-Test@.com","subject":"Developer Portal [[eventName]]","templates":{"default":"<p><strong>[[eventName]]</strong></p><p>[[username]]</p>","account:registration":"<p><strong>[[eventName]]</strong></p><p>New Account registered with [[username]] / [[organization]]</p>","account:activation":"<p><strong>[[eventName]]</strong></p><p>Account registered with [[username]] / [[organization]] has been activated</p>"}}},"recaptcha":{"enabled":false,"verifyUri":"https://www.google.com/recaptcha/api/siteverify","secret":"***"},"statics":"../data/public","PRODUCTION":true},"msg":"server config","v":1}
Oct 20 10:38:26 <hostname> developer-portal-api: {"level":"info","time":1634715506836,"pid":7107,"hostname":"<hostname>","msg":"server started on port 88","v":1}
Oct 20 10:38:27 <hostname> developer-portal-api: {"level":"info","time":1634715507338,"pid":7107,"hostname":"<hostname>","msg":"ldap connecting ldap://p:13","v":1}
Oct 20 10:38:27 <hostname> developer-portal-api: {"level":"info","time":1634715507347,"pid":7107,"hostname":"<hostname>","msg":"ldap client connected","v":1}
Oct 20 10:38:27 <hostname> developer-portal-api: {"level":"info","time":1634715507707,"pid":7107,"hostname":"<hostname>","msg":"ldap credentials bound","v":1}
In the below screenshot, for today, there are only 4 log events which are not in order (above first big log event is not even seeing here)
log line Oct 20 10:38:26 ...... server started on port 8877
is correct on both side but remaining three log lines of Oct 20 10:38:27...
are not in sequence as server log.
Thanks,