GraphQL
GraphQL is a query language and server-side runtime for application programming interfaces (APIs) that provides exactly the data that the clients request, fetching data from multiple data sources with a single API call.
Retrieve Kloudfuse FuseQL log data
GraphQL is an in-browser tool for writing, validating, and testing queries. We use it to access log-related data using our proprietary FuseQL query language. For a list of FuseQL API queries supported through the GraphQL client interface, see FuseQL API for Logs.
When you type queries onto the screen, it returns intelligent typeaheads, aware of the current GraphQL type schema, live syntax, and validation errors — all highlighted within the text.
For example, use graphql-http
to send an HTTP POST request to the endpoint where you mounted the GraphQL server, and pass the FuseQL query as the query field in a JSON payload.
Because FuseQL queries model complex behavior and request objects, you must construct the query to pass complex datatypes as arguments, and return a defined complex data type. See GraphQL instructions on Passing Arguments and Object Types.