Search Parameters

Companies are often striving to do more with less while responding to pressure to keep services running, improve and maintain high performance expectations, and prevent errors before they happen. During routine, relatively simple investigations of performance and security issues, parts of the search query often need to be enabled, disabled, or inverted. If the queries are complex, especially when there are multiple of these common parts of the query, this process can become very tedious and often involves keeping a separate document of queries that gets copied and pasted.

Graylog’s Search Parameters make this process fast. Using a single or multiple input parameters, you can initiate common analyses and visualize the data in a large variety of charts and formats so you can quickly find and resolve issues, threats, outages, and tech support help requests. By saving parameterized searches in Graylog and turning powerful search filters on and off with a single click, you can make repetitive tasks and routine investigations efficient by easily saving and sharing them among team members for consistent reuse across ad-hoc and saved searches and dashboards, empowering less technical members of the team.

HOW IT WORKS

Start with one or more input parameters so you don’t have to copy and edit an old query just to change an ip address, mac address, user idSearch parameters live inside Graylog queries and saved searches. Think of search parameters as placeholders for the values you’re investigating and wanting to track, for tasks you need to do more than once, and/or saved searches you want to share with other members of the team or with other departments., etc.; and even chain queries together so the results of one search become the input parameter to the next.

Search parameters eliminate the need to build big queries to investigate or monitor items that vary (e.g., ip address, mac address, user id, etc.). By saving parameterized searches for those regular issues that come up, ensures that team members are running the same search every time it runs and as a result, they can support, monitor, investigate, systems with confidence and speed.

Search Parameters paired with Search Workflow make it possible to build and combine multiple searches for any type of analysis into one action and review your delivered results on a dashboard-like screen(or multiple tabs for really complex tasks). Best of all, you can easily save and share these parameterized Search Workflows to ensure consistency, save time and empower more junior team members.

EXAMPLES

  • Tasked with developing new apps fast to meet the needs of a growing user base, developers often don’t have the necessary time to thoroughly debug and test their work. By creating parameterized searches targeting known potential problem areas, newer members of the team can be active participants in the development process.
  • Security teams investigating threats often run into scenarios with multiple choices for specific values (e.g. ip address, mac address, user id, etc.). This is where search parameters can really come in handy by optimizing the search for real-time answers. The team creates a query using a parameter instead of a specific value and quickly gets to the root cause of any issues by eliminating the potential causes using the same script and changing the parameter.
  • IT Ops are always tasked with monitoring system performance, often on a 24×7 basis. 99% of the time, the team is looking at the same data. To make their job easier and free up time for other tasks, the team created a library of parameterized searches that everyone can work from. By having everyone work from the same set of scripts, the data is consistent and accurate and the team members are confident that the results they are viewing and reporting on.

FREQUENTLY ASKED QUESTIONS

  • DO I HAVE TO WRITE A QUERY BEFORE I CAN CREATE A PARAMETER?
    Yes, you have to write your query first, and then you can create your search parameter.
  • CAN I UPDATE AND ADD/DELETE PARAMETERS IN A SAVED SEARCH?
    Once you’ve saved your search it is easy to modify it. Just don’t forget to save your changes to make sure they show up the next time you run the search. If you want to maintain the original search, you can make your edits and when saving, rename the search.
  • HOW MANY PARAMETERS CAN I SET?
    Unlimited, but we recommend keeping it to between one and 3. After that you’ll be creating such complex queries that you’re unlikely to return any data, let alone meaningful data.

We've Got You Covered

Windows

Linux

Unix

JSON, CSV, TXT

Storage Mgmt

Custom Apps

Change Mgmt

Switches

Firewalls

DNS

Routers

DBMS

Commercial Apps