Raw data log files can be viewed, searched (using strings and Regex) and even downloaded. This topic discusses how.
To view and logs
1. Click a log file from the table. The selection is highlighted by a blue background bar. The View button and Download buttons are enabled.
Note: Click the file again to deselect it. The View and Download buttons are disabled. The last column Size indicates the Raw log size. The long path after the log file content denotes the data type. In case you want to share OTUS data with some other systems, it is done outside of system by configuring linux.
2. Click the View button. The contents of the log file are displayed in a new window as shown below.
Note: Click to follow the most recent inputs for this log. Once click the button changes to
and you are immediately repositioned on the last page where you get to see latest entries being posted in real time on screen instead of you having to close and open the window all the time when new content arrives.
Functions of the window displaying the log file
To use text search functionality
1. Type text in the Search box located on the top of this window to search the displayed text for matching text entered into the Search box.
Note: Instead of typing you can even click one or more words from the displayed text and they are input into the Search box and marked in the pages as well. Notice in the image below how the word "google" has been searched and marked.
2. Now to also search for Mozilla while still displaying google search results click the word "Mozilla" anywhere on this page. The result is as follows.
3. Click Prev and Next
buttons to browse all pages of the log file with lines marked with the texts "google" and "Mozilla/5.0". Alternatively you can click the page numbers located at the bottom of the screen or select a page number from the number drop-down list.
To use Regex functionality on the page
1. Enter Regex in the Search box. The results are highlighted and displayed as explained for the Text search.
Note: Regex search is explained in more detail in the topic Filtering data using filters.
To download a log file
When a log file is selected, simultaneously the Download button also displays the size of this log file.
1. Click the Download button to download the file. Follow your Internet browser's message to download the file onto your computer.
Note: 1. If the file is large, for example over 250 MB then it may take up to 30 minutes to download as it takes time to prepare the download file. In that case when you click the Download button the system sends you an e-mail link. Clicking this link will enable downloading of the file that can be done in a separate window of your browser while you can continue your work on OTUS uninterrupted. The file size limit of the file that can be downloaded before it is sent for download via the e-mail link is determined by the web export async size limit (mb) variable. You can check this variable under Configuration -> Settings. In any case you will have to wait for a large download to complete, be that directly from the webapp or from email download link.
2. Regex merits an entire topic for discussion. For more details on regex please go through this link on Wikipedia. Another thing to be borne in mind is that "Regex matching" matches case sensitive regular expressions if it is set under user’s setting (Login Username -> Settings) for the variable web search regex case sensitive.