The global search box in OpenResty Edge sits in the upper center of the Admin console and searches five kinds of objects from one place: a 24-character Request ID (which opens the Request ID Decoder), text on the interface, upstreams by IP address or name, applications by name, and blog posts. Type a keyword and Edge routes you straight to the matching page.

This tutorial walks through each search type with a live console.

Search by Request ID

OpenResty Edge Admin’s search box is located in the upper center of the screen. You can enter keywords to search. There are various types of keywords.

OpenResty Edge global search box in the upper center of the Admin console

First, let’s look at the Request ID. The Request ID is a unique identifier that OpenResty Edge makes for each request so that requests can be tracked easily. It is a 24-character identifier consisting of lowercase letters and numbers. Now let’s see what we can find with this identifier.

A 24-character OpenResty Edge Request ID used to track each request

We go to the OpenResty Edge’s Admin web console. It is our sample deployment of the console. Every user has her local deployment. We will find a Request ID to search for in one of these applications.

OpenResty Edge Admin console showing the list of sample applications

Type in openresty.org in the search box.

Typing openresty.org into the OpenResty Edge global search box

Enter this application.

Opening the openresty.org application in OpenResty Edge

Enter the Error Logs page。

Opening the Error Logs page of the application in OpenResty Edge

You can find the error logs of this application. Each log has a Request ID.

Copy the first Request ID.

Application error logs in OpenResty Edge, each entry showing a Request ID

Click to open the search box.

Opening the OpenResty Edge global search box

If you have searched before, the search history will be shown below. Now it is empty.

Empty OpenResty Edge search history before any query

Paste the Request ID we just copied into the search box.

Pasting a Request ID into the OpenResty Edge global search box

You can see a search result.

OpenResty Edge global search returning a result for the Request ID

Click this result.

Clicking the Request ID search result in OpenResty Edge

You will enter the Request ID Decoder page. Here you can find some detailed information about this request. Now you know how to search for requests using Request ID. For a deeper walkthrough of using request IDs to troubleshoot problematic requests across OpenResty Edge gateways, see the dedicated tutorial.

The OpenResty Edge Request ID Decoder page showing details decoded from the Request ID

Search for Text on the OpenResty Edge Interface

The second searchable type is the text on the interface. Assume that you’re not familiar with the OpenResty Edge interface and forget where you can work with static files.

Click to open the search box.

Opening the OpenResty Edge global search box to search interface text

In this case, you can search for “file” in the search box.

Searching for the interface text “file” in OpenResty Edge

There are three search results.

Three interface-text results for “file” in OpenResty Edge global search

Click the third result to enter the static file page.

Opening the static file page from an OpenResty Edge interface-text search result

You can find this page because it has buttons that contain the text “file”.

OpenResty Edge static file page with buttons containing the text “file”

Search for Upstreams by IP Address or Name

You can also search for upstreams by IP addresses or names. First, let’s see how to search upstreams by their IP addresses.

Click to open the search box again.

Opening the OpenResty Edge global search box to search upstreams

Enter an IP address ending with .188.

Searching upstreams by an IP address ending in .188 in OpenResty Edge

You find 6 results.

Six upstream results matching the IP address in OpenResty Edge global search

You see upstream names in the search results.

Upstream names shown in OpenResty Edge search results

The application name.

Application name shown alongside an upstream in the search results

There is no application name here, and the Global in parentheses means that it is a global upstream.

A global upstream marked “(Global)” in OpenResty Edge search results

Click the third result. You will go to the application and open the Edit Upstream panel.

The Edit Upstream panel opened from an OpenResty Edge search result

Look at the host of this upstream, which is exactly the IP address ending with .188.

Upstream host field showing the IP address ending in .188

Click to close this panel.

Closing the Edit Upstream panel in OpenResty Edge

Upstreams can also be searched by names.

Preparing to search OpenResty Edge upstreams by name

Enter “github” into the search box

Searching upstreams by the name “github” in OpenResty Edge

You find 4 upstreams that have name that contains “github”.

Four upstreams whose names contain “github” in OpenResty Edge search results

Click to enter the first upstream.

Opening the first “github” upstream from OpenResty Edge search results

Look at the host of this upstream, which contains the text “github”.

Upstream host containing the text “github” in OpenResty Edge

Click to close this panel.

Closing the upstream panel in OpenResty Edge

Search for Applications by Name

Similarly, you can search for applications by their names.

Open the search box again.

Opening the OpenResty Edge global search box to search applications

Enter openresty.org.

Searching applications by the name openresty.org in OpenResty Edge

You can see that there are seven results.

Seven application results for openresty.org in OpenResty Edge global search

Click to enter the first result.

Opening the first application result in OpenResty Edge

You can see that we are on the Application Overview page.

The OpenResty Edge Application Overview page opened from a search result

Search for Blog Posts

The last thing that we can search for in OpenResty Edge is blog articles.

Opening the OpenResty Edge global search box to search blog posts

Enter “staging servers”.

Searching for the blog post “staging servers” in OpenResty Edge

We find one result in the group “Blog”.

One blog post result under the “Blog” group in OpenResty Edge search

The title and update date of the article are shown in the results.

Blog post title and update date shown in OpenResty Edge search results

Click on the title. You can open this article.

Opening a blog post from the OpenResty Edge search results

The blog post opened from OpenResty Edge global search

Frequently asked questions

What can OpenResty Edge’s global search find?

The global search box searches five kinds of objects from one place: a Request ID (which opens the Request ID Decoder), text on the interface, upstreams by IP address or name, applications by name, and blog posts. Type a keyword and Edge takes you straight to the matching page.

How do I search by Request ID in OpenResty Edge?

Every request in OpenResty Edge carries a 24-character Request ID, shown in each application’s error log entries. Copy a Request ID, paste it into the global search box, and click the result. You land on the Request ID Decoder page, where you can read the details decoded from that request.

How do I find an upstream by IP address in OpenResty Edge?

Enter the IP address in the global search box—even a partial one, such as an address ending in .188. The results list matching upstreams with their names, the owning application, and a (Global) marker for global upstreams. Click a result to open the Edit Upstream panel at that host.

Can I search upstreams by name as well?

Yes. Enter part of an upstream name, such as github, and the results list every upstream whose name contains that text. Clicking a result opens the upstream so you can confirm its host.

Can OpenResty Edge global search find blog posts?

Yes. Enter a topic such as staging servers and matching articles appear under a Blog group in the results, showing each article’s title and update date. Click a title to open the article.

What is OpenResty Edge

OpenResty Edge is our all-in-one gateway software for microservices and distributed traffic architectures. It combines traffic management, private CDN construction, API gateway, security, and more to help you easily build, manage, and protect modern applications. OpenResty Edge delivers industry-leading performance and scalability to meet the demanding needs of high concurrency, high load scenarios. It supports scheduling containerized application traffic such as K8s and manages massive domains, making it easy to meet the needs of large websites and complex applications.

If you like this tutorial, please subscribe to this blog site and our YouTube channel. Thank you!

About The Author

Yichun Zhang (Github handle: agentzh), is the original creator of the OpenResty® open-source project and the CEO of OpenResty Inc..

Yichun is one of the earliest advocates and leaders of “open-source technology”. He worked at many internationally renowned tech companies, such as Cloudflare, Yahoo!. He is a pioneer of “edge computing”, “dynamic tracing” and “machine coding”, with over 22 years of programming and 16 years of open source experience. Yichun is well-known in the open-source space as the project leader of OpenResty®, adopted by more than 40 million global website domains.

OpenResty Inc., the enterprise software start-up founded by Yichun in 2017, has customers from some of the biggest companies in the world. Its flagship product, OpenResty XRay, is a non-invasive profiling and troubleshooting tool that significantly enhances and utilizes dynamic tracing technology. And its OpenResty Edge product is a powerful distributed traffic management and private CDN software product.

As an avid open-source contributor, Yichun has contributed more than a million lines of code to numerous open-source projects, including Linux kernel, Nginx, LuaJIT, GDB, SystemTap, LLVM, Perl, etc. He has also authored more than 60 open-source software libraries.