Skip to content

Instantly share code, notes, and snippets.

@mattrobertsky
Created October 22, 2018 10:04
Show Gist options
  • Save mattrobertsky/4ba1aa2685ce40f3c83ff1efa9029630 to your computer and use it in GitHub Desktop.
Save mattrobertsky/4ba1aa2685ce40f3c83ff1efa9029630 to your computer and use it in GitHub Desktop.
decrypt datastream
dave@dave-XPS-15-9550:~$ sm --stop DATASTREAM
killing service name: DATASTREAM
name: DATASTREAM ppid: 5191 pid: 7483 uptime: 01:20
dave@dave-XPS-15-9550:~$ sm --start DATASTREAM --appendArgs '{"DATASTREAM":["-DeventEncrypter.enabled=false"]}' -fo
Starting 'DATASTREAM' from SNAPSHOT...
[u'./datastream/bin/datastream', u'-Dconfig.resource=application.conf', u'-J-Xmx256m', u'-J-Xms64m', u'-J-XX:MaxPermSize=128m', '-Dhttp.port=8100', '-Dservice.manager.serviceName=DATASTREAM', '-Dservice.manager.runFrom=SNAPSHOT', u'-DeventEncrypter.enabled=false']
'DATASTREAM' version 'None' started with PID = 7859
All services passed healthcheck
dave@dave-XPS-15-9550:~$
You can view see the event JSON appears within log entries by DATASTREAM:
DATASTREAM logs
dave@dave-XPS-15-9550:~$ sm --logs DATASTREAM | grep gform| tail -2 |cut -c1-400
2017-11-29 17:02:55,764 level=[WARN] logger=[application] thread=[application-akka.actor.default-dispatcher-56] rid=[] user=[] message=[Message not delivered to MQ because message was dropped after handling eventId=5704d1ca-081f-46dc-8294-c814000c0690, auditSource=gform-frontend, auditType=RequestReceived body: {"auditSource":"gform-frontend","auditType":"RequestReceived","eventId":"5704d1ca-081f-
2017-11-29 17:02:55,865 level=[WARN] logger=[application] thread=[application-akka.actor.default-dispatcher-56] rid=[] user=[] message=[Message not delivered to MQ because message was dropped after handling eventId=83221475-6b34-42bf-9b50-be512694533c, auditSource=gform-frontend, auditType=RequestReceived body: {"auditSource":"gform-frontend","auditType":"RequestReceived","eventId":"83221475-6b34-
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment