Learn About GraphQL API
Choose your learning path based on your role and goals.
GraphQL Fundamentals
Begin with GraphQL basics, understand the query and mutation structures, learn the fundamental concepts, and build a strong foundation before trying complex API operations.
- GraphQL Basics
- Easy to Use Interface
- Core Concepts (Queries, Mutations)
- Syntax & Caveats
Manage Infrastructure and Users
Automate LogScale infrastructure management, user provisioning, repository configuration, and operational tasks. Perfect for SRE, MSP, ITOps, and NOC teams managing LogScale deployments.
- GraphQL Basics & API Explorer
- Repository & Organization Management
- User & Group Administration
- Monitoring & Operations
Workflow 1: New to GraphQL
Learn the fundamentals of GraphQL. Understanding these concepts makes working with the GraphQL API easier and more effective.
GraphQL Basics
What is GraphQL, why it's used to administer LogScale, and how to navigate the documentation.
Easy Starting Point
Becoming familiar with the API Explorer, and try some simple queries using it.
Essential Queries & Mutations
Getting to know the essential queries and mutations.
Current User & Others
tutorialintermediateRun a few simple queries to get information about user accounts.
Repositories & Views
tutorialintermediateGet a list of repositories and views. Narrow list and specify only some fields.
Groups & Roles
tutorialintermediateGo further with users by retrieving a list of groups and roles.
Alerts & Other Actions
tutorialintermediateDrill down a repository to alerts, scheduled search, external actions (e.g., Slack notification), etc.
Command-Line & Scripts
Execute GraphQL operations from curl, scripts, and programming languages.
Next Steps
Choose a specialized workflow based on your role and use case
Workflow 2: System Administrators
Learn to automate LogScale infrastructure management, user administration, and operational tasks using the GraphQL API. This workflow covers the essential queries and mutations for platform administrators.
GraphQL Basics for Administrators
Understanding what is GraphQL and when to use it for administrative tasks.
What is GraphQL?
apibeginnerLearn how LogScale uses GraphQL for management and administration. Understand the difference between queries (read data) and mutations (write/update data).
API Explorer
tutorialintermediateAccess the interactive GraphQL playground built into LogScale. Test queries, explore the schema, and build mutations with autocomplete.
API Authentication
apiintermediateUnderstand how to authenticate API requests using API tokens. Learn about token types and permissions.
Using GraphQL with curl
tutorialintermediateExecute GraphQL queries and mutations from the command line using curl. Includes examples for authentication, query formatting, and error handling.
User Administrative
Running basic queries to retrieve LogScale user information.
GraphQL Queries Reference
referenceintermediateComplete reference of all GraphQL queries. Queries retrieve information without modifying anything.
users Query
guideintermediateGet information on one user or a list of users, including permissions and other details.
users Query
guideintermediateGet a list of user groups and user roles, which users belong to each, etc.
Organization & Repository Management
Create and configure repositories programmatically
createRepository Mutation
guideintermediateReview and modify account and organization settings with these queries and mutations.
repositories Query
guideintermediateQueries related to search domains (i.e., repositories and views) in LogScale.
cluster Query
guideintermediateConfigure and modify ingest feeds for repositories and parsers.
searchDomain Query
guideintermediateMake use of archiving and other storage, including external storage, for better performance.