Highlighted

Pattern Detector Reactive Interface JSON Generation

ramgarapati

14-02-2019

Hello,

I am unable to generate the JSON using below command in unix box, I got this link from "Assessing the Upgrade Complexity with the Pattern Detector "

curl -Nsu 'admin:admin' http://localhost:4502/system/console/status-pattern-detector.json | tee patterns-report.json | jq --unbuffered -C 'select(.suspicion == true)'.

Is there any possible way to run the command without JQ tool.

Regards

Ram Garapati

Replies

Highlighted

Gaurav-Behl

MVP

14-02-2019

Did you install the required Pattern Detector package to AEM? When installed, you could test if this url generates a json file-

http://localhost:4502/system/console/status-pattern-detector.json.

JQ will work fine if you have appropriate permissions assigned to it.

Assessing the Upgrade Complexity with the Pattern Detector

The Pattern detector is released as part of the new pre-upgrade-package for source AEM versions 6.1 to 6.3 and can be installed using the Package Manager. See these links to packages for each AEM 6 version (starting from AEM 6.1):

Is there any possible way to run the command without JQ tool.  - Yes, you just need to save the json file generated via 'http://localhost:4502/system/console/status-pattern-detector.json' and run any tool/cmd on top of it.