Free Trial

Cloud Quests

Elevate your workflow skills by solving real-world challenges using the Alteryx Analytics Cloud Platform.

Cloud Quest #29: Server Log Analysis - Consecutive Error Tracking

AYXAcademy
Alteryx
Alteryx

Hi Community,

 

We posted the solution JSON file to Cloud Quest #28. Check it out and let us know what you think! Send suggestions to academy@alteryx.com or leave a comment below!

 

 

Let’s dive into this week's quest!

 

  1. Download the provided JSON file containing your starting data and workflow files.
  2. Upload the provided Cloud Quest 28 Start.json file into your Analytics Cloud library.
  3. All necessary datasets are contained within Text Input tools in the workflow.

 

For more detailed instructions on how to import and export Designer Cloud workflow files, check out the pinned article Cloud Quest Submission Process Update.

 

Scenario:

 

You are given a sample server log dataset containing timestamps and messages.

 

Your task is to:

  • Identify error messages and extract their 3-digit error codes.
  • Calculate the number of consecutive errors for each error entry. Consecutive errors are those occurring without any non-error messages in between.

 

Solve this problem with as few tools as possible. 

 

Hint: Practice using RegEx functions in the Formula tool.

 

Spoiler
A combination of the Filter, Select, Multi-Row Formula, and Formula tool should solve your problem, but not necessarily in this sequence.

 

If you find yourself struggling with any of the tasks, feel free to explore these interactive lessons in Alteryx Academy for guidance:

 

Once you have completed your quest, go back to your Analytics Cloud library.

  • Download your workflow solution file.
  • Include your JSON file and a screenshot of your workflow as attachments to your comment.

 

Here’s to a successful quest!

 

Academy Wordmark.png

 

 

 

 

Download Start File | Download Solution File

 

9 REPLIES 9
ggruccio
ACE Emeritus
ACE Emeritus

Used 4 tools

 

Spoiler
Thought about how to do in Formula Tool but not sure I know how to Parse.

Screenshot 2025-03-05 153436.png
Carolyn
12 - Quasar
12 - Quasar

Solved! I have 3 tools plus a Select. The Select is just to remove the initial, unparsed column, to match with the answer's columns. I'll need a ruling from everyone else if this counts as 3 or 4 tools :)

 

Spoiler
2025-03-05 14_23_11-Cloud_Quest_29 - Carolyn _ Workflows.png
JeffF
Alteryx
Alteryx

Three tools plus a Select to remove the original column, so four tools.

 

Spoiler
CloudQuest29_JeffF.png

 

Qiu
21 - Polaris
21 - Polaris

It is fun one

Spoiler
Cloud_Quest_29.png
JeffF
Alteryx
Alteryx

Since the hint said to use Regex, I redid it without using Regex. It might be a three tool solution.

 

Spoiler
The Select tool renames the original field and changes it to a DataTime, but if we're allowed to rename the field in the Text Input tool, which I didn't do, and are fine with the timestamp as a string, it's three tools.

CloudQuest29_JeffF_2.png
alexnajm
18 - Pollux
18 - Pollux

Fun one! Always love a RegEx problem

Spoiler
Cloud 29.png
AkimasaKajitani
17 - Castor
17 - Castor

My solution!

 

Spoiler
image.png
RWvanLeeuwen
11 - Bolide

Two tools are essential to answer the questions

 

Spoiler
Formula / Regex combined with MultiRow - edit to add that I would recommend against combining these two steps into one convoluted MultiRow

But if the outputs must match, then you will need another two tools

 

 

Spoiler
Filter to keep rows with errors, and Select to drop the original field

Here's my minimal take based off of the functionality that is requested

Spoiler
Cloud Quest 29 RWvL.png

 

 

patrick_digan
17 - Castor
17 - Castor
Spoiler
image.png