Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to use the logging and queueing system, first we’ll need a new component. Do the following:

Expand
titleSTEP 1: From the dashboard of Iguana X, click on +Component

Expand
titleSTEP 2: In Add Components create a Custom component

In the Add Components dialog that pops up, select Custom

Change the name of the component to Source

Click Add in the bottom right of the dialog.

You should see a new component appear in the dashboard.

Expand
titleSTEP 3: Change your URL to go to have #log_generator at the end of it

You will need to edit the URL of your page carefully to have the #log_generator in it.

This might look like http://localhost:7654/#log_generator depending on how your Iguana is configured.

In Chrome this looks like:

In Safari it might look different:

Expand
titleSTEP 4: Generate the logs
  • On this new page, use the dropdown to select the Source component created in the earlier part

  • Also change the number of months of logs to generate to 60

  • Click Run and wait for the log generation to finish

    • When finished, the output looks like this:

Expand
titleSTEP 5: Go to the logs section and select your component

This screen shot shows how to navigate to the logs and view the data you have generated.

Expand
titleSTEP 6: Now search for the magic string

Follow these steps:

The logs displayed will jump to the first result and highlight the match, and the search will continue to run and find more results which is what the white expanding region in the control bar is about.

The progress of the search can be seen in two places:

  • Below the search field where it shows how far back in time the search has gone

  • The scroll bar on the right will fill up with white as an indication of how far along the search is

The previous and next arrows to the right of the search field can be used to jump between results:

Expand
titleSTEP 7: Now stop and start Iguana

Go to the dashboard and then stop and start Iguana.

Iguana will start quickly even though you have a lot of log data. We’ve engineered Iguana to handle logs for as log as you need them, without performance degradation.

...