My App

How to Search for Logs

Master the logs search and filtering capabilities

Learn how to effectively search, filter, and analyze your logs using the Fivemanage dashboard's powerful search features.

The main search bar provides instant filtering across all log properties.

Basic Search Steps

  1. Click "+ Add filter" in the search bar
  2. Select the property you want to search:
    • message - Log message content
    • resource - Resource/dataset name
    • metadata fields - Any custom fields you've added
  3. Enter your search value
  4. Press Enter to apply the filter

Advanced Filtering

Filter by Log Level

Filter logs by severity to focus on what matters:

  • debug - Detailed debugging information
  • info - General informational messages
  • warn - Warning messages that need attention
  • error - Error messages requiring immediate action

Filter by Date Range

Narrow down logs to specific time periods:

  1. Click the date picker in the filter bar
  2. Select a preset range (Last hour, Last 24 hours, Last 7 days)
  3. Or choose custom start and end dates
  4. Click Apply to filter

Filter by Custom Metadata

Any metadata fields sent with your logs become searchable filters:

  1. Click "+ Add filter"
  2. Start typing your metadata field name
  3. Select from the autocomplete suggestions
  4. Enter the value to search for
  5. Press Enter

Metadata fields are automatically indexed, making them instantly searchable without any configuration.

Custom Columns

Customize your logs view by adding metadata fields as table columns:

Adding Columns

  1. Click the settings icon on the right side of the logs table
  2. Search for the metadata field you want to add
  3. Click or press Enter to add it as a column

Managing Columns

  • Resize: Click and drag column borders to adjust width
  • Remove: Click the column header menu and select "Remove"
  • Reorder: Drag column headers left or right to reposition

Saved Searches

Save frequently used search queries for quick access:

Creating Saved Searches

  1. Set up your desired filters and search criteria
  2. Click the star icon inside the search bar
  3. Give your search a descriptive name
  4. Click Save

Using Saved Searches

  1. Click the star icon on the far right of the search bar
  2. Browse or search your saved queries
  3. Click any saved search to instantly apply its filters

Search Operators

Use these operators for more precise searches:

OperatorDescriptionExample
==Exact matchlevel == "error"
!=Not equalstatus != "success"
containsContains textmessage contains "timeout"
starts-withStarts with textresource starts-with "auth"
ends-withEnds with textfile ends-with ".lua"
existsField existsuserId exists
not-existsField doesn't existerror not-exists
>, >=Greater thancount > 100
<, <=Less thanduration <= 1000

Log Details View

Click any log entry to view complete details:

  • Full metadata object - All custom fields and values
  • Timestamp information - Exact time with timezone
  • Related logs - Logs from the same session or user
  • Raw data - Complete JSON representation

Best Practices

For Development

  • Use debug and info levels liberally
  • Add descriptive metadata fields
  • Create saved searches for common debugging scenarios

For Production

  • Focus on warn and error levels
  • Set up date ranges for incident investigation
  • Save searches for critical error patterns

Performance Tips

  • Use specific filters to reduce result sets
  • Add frequently viewed fields as columns
  • Leverage saved searches to avoid recreating complex queries