Tool

Logs list attributes

The Logs List Attributes tool by PostHog allows users to efficiently discover and filter available log and resource attributes within their project. It helps to identify which attributes can be used when querying logs, enhancing log analysis and debugging processes.

posthog

Features

  • Supports filtering attributes by type: 'log' or 'resource'.
  • Provides search functionality to find specific attribute names quickly.
  • Allows setting limits on the number of results returned (1-100).
  • Includes pagination support via offset parameter for flexible data retrieval.
  • Offers a clear schema and parameters for precise and controlled attribute listing.

Benefits

  • Improves log query efficiency by identifying available filterable attributes.
  • Enhances troubleshooting by quickly locating relevant log or resource data.
  • Saves time with search and pagination capabilities to handle large datasets.
  • Supports better project logging management through clear attribute categorization.
  • Enables more informed analytics and monitoring by understanding log data structure.

Description

List available log attributes in the project. Use this to discover what attributes you can filter on when querying logs. Supports filtering by attribute type (log or resource) and searching by attribute name.

Parameters

4 parameters

NameTypeDescription
searchstring

Search filter for attribute names

attributeTypeenum

Type of attributes to list: "log" for log attributes, "resource" for resource attributes (default: log)

limitinteger

Maximum number of results (1-100, default: 100)

offsetinteger

Offset for pagination (default: 0)

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .