Skip to content

Commit cb40724

Browse files
committed
Revert "Add Query tab (#113)"
This reverts commit 2c12471.
1 parent 2c12471 commit cb40724

39 files changed

+342
-297
lines changed

apl/guides/migrating-from-sql-to-apl.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ tags: ['axiom documentation', 'documentation', 'axiom', 'apl', 'sql', 'guide', '
77

88
## Introduction
99

10-
As data grows exponentially, organizations are continuously seeking more efficient and powerful tools to manage and analyze their data. The Query tab, which utilizes the Axiom Processing Language (APL), is one such service that offers fast, scalable, and interactive data exploration capabilities. If you are an SQL user looking to migrate to APL, this guide will provide a gentle introduction to help you make the transition smoothly.
10+
As data grows exponentially, organizations are continuously seeking more efficient and powerful tools to manage and analyze their data. The Explore tab, which utilizes the Axiom Processing Language (APL), is one such service that offers fast, scalable, and interactive data exploration capabilities. If you are an SQL user looking to migrate to APL, this guide will provide a gentle introduction to help you make the transition smoothly.
1111

1212
**This tutorial will guide you through migrating SQL to APL, helping you understand key differences and providing you with query examples.**
1313

1414
## Introduction to Axiom Processing Language (APL)
1515

16-
Axiom Processing Language (APL) is the language used by the Query tab, a fast and highly scalable data exploration service. APL is optimized for real-time and historical data analytics, making it a suitable choice for various data analysis tasks.
16+
Axiom Processing Language (APL) is the language used by the Explore tab, a fast and highly scalable data exploration service. APL is optimized for real-time and historical data analytics, making it a suitable choice for various data analysis tasks.
1717

1818
**Tabular operators**: In APL, there are several tabular operators that help you manipulate and filter data, similar to SQL’s SELECT, FROM, WHERE, GROUP BY, and ORDER BY clauses. Some of the commonly used tabular operators are:
1919

apl/guides/splunk-cheat-sheet.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebarTitle: Splunk SPL
55
tags: ['axiom documentation', 'documentation', 'axiom', 'splunk', 'apl', 'searching', 'aggregation', 'time frames', 'sorting', 'functions']
66
---
77

8-
Splunk and Axiom are powerful tools for log analysis and data exploration. The data explorer interface uses Axiom Processing Language (APL). There are some differences between the query languages for Splunk and Axiom. When transitioning from Splunk to APL, you will need to understand how to convert your Splunk SPL queries into APL.
8+
Splunk and Axiom data Explorer are powerful tools for log analysis and data exploration. The data explorer interface uses Axiom Processing Language (APL). There are some differeces between the query languages for Splunk and Axiom. When transitioning from Splunk to APL, you will need to understand how to convert your Splunk SPL queries into APL.
99

1010
**This guide provides a high-level mapping from Splunk to APL.**
1111

@@ -289,4 +289,4 @@ In Splunk, to sort in ascending order, you must use the `reverse` operator. APL
289289

290290
Whether you’re just starting your transition or you’re in the thick of it, this guide can serve as a helpful roadmap to assist you in your journey from Splunk to Axiom Processing Language.
291291

292-
Dive into the Axiom Processing Language, start converting your Splunk queries to APL, and explore the rich capabilities of the Query tab. Embrace the learning curve, and remember, every complex query you master is another step forward in your data analytics journey.
292+
Dive into the Axiom Processing Language, start converting your Splunk queries to APL, and explore the rich capabilities of the Explore tab. Embrace the learning curve, and remember, every complex query you master is another step forward in your data analytics journey.

apl/introduction.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The Axiom Processing Language (APL) is a query language that is perfect for gett
1212

1313
## Getting Started
1414

15-
Go to the Query tab and click one of your datasets to get started. The APL editor has full auto-completion so you can poke around or you can get a better understanding of all the features by using the reference menu to the left of this page.
15+
Go to the Explore tab and click one of your datasets to get started. The APL editor has full auto-completion so you can poke around or you can get a better understanding of all the features by using the reference menu to the left of this page.
1616

1717
## APL Query Structure
1818

apl/tutorial.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: 'Sample queries'
3-
description: "Explore how to use APL in Axiom’s Query tab to run queries using Tabular Operators, Scalar Functions, and Aggregation Functions."
3+
description: "Explore how to use APL in Axiom’s Explore tab to run queries using Tabular Operators, Scalar Functions, and Aggregation Functions."
44
sidebarTitle: Sample Queries
55
icon: vial
66
tags: ['axiom documentation', 'documentation', 'axiom', 'APL', 'tutorial', 'apl overview', 'tabular operators', 'scalar functions', 'aggregation functions']
77
---
88

9-
In this tutorial, you’ll explore how to use APL in Axiom’s Query tab to run queries using Tabular Operators, Scalar Functions, and Aggregation Functions.
9+
In this tutorial, you’ll explore how to use APL in Axiom’s Explore tab to run queries using Tabular Operators, Scalar Functions, and Aggregation Functions.
1010

1111
## Prerequisites
1212

dashboard-elements/create.mdx

+11-154
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,16 @@ To create new dashboard elements:
1010

1111
1. [Create a dashboard](/dashboards/create) or open an existing dashboard.
1212
1. Click <img src="/doc-assets/icons/plus.svg" className="inline-icon" alt="Add chart" /> **Add chart** in the top right corner.
13-
1. Choose the dashboard element from the list.
14-
1. For charts, select one of the following:
15-
- Click **Simple Query Builder** to create your chart using a [visual query builder](#create-chart-using-visual-query-builder).
16-
- Click **Advanced Query Language** to create your chart using the Axiom Processing Language (APL). Create a chart in the same way you create a chart in the APL query builder of the [Query tab](/query-data/explore#create-a-query-using-apl).
13+
1. Choose the dashboard element from the list. For more information on each dashboard element, choose one of the following:
14+
- [Filter bar](/query-data/filters)
15+
- [Log stream](/dashboard-elements/log-stream)
16+
- [Scatter plot](/dashboard-elements/scatter-plot)
17+
- [Statistic](/dashboard-elements/statistic)
18+
- [Table](/dashboard-elements/table)
19+
- [Time series](/dashboard-elements/time-series)
20+
1. Choose one of the following:
21+
- Click **Simple Query Builder** to create your chart using a visual query builder. Create a chart in the same way you create a chart in the [Datasets tab](/query-data/datasets).
22+
- Click **Advanced Query Language** to create your chart using the Axiom Processing Language (APL). Create a chart in the same way you create a chart in the APL query builder of the [Explore tab](/query-data/explore#create-a-query-using-apl).
1723
1. Optional: [Configure chart options](/dashboard-elements/configure).
1824
1. Click **Save**.
1925

@@ -33,153 +39,4 @@ To change the size of the element, drag the bottom-right corner.
3339

3440
<Frame>
3541
<video autoPlay muted loop playsInline className="w-full aspect-video" src="/doc-assets/videos/resize-dashboard-element.mp4"></video>
36-
</Frame>
37-
38-
## Create chart using visual query builder
39-
40-
Use the query builder to create or edit queries for the selected dataset:
41-
42-
<Frame caption="Query builder">
43-
<img src="/doc-assets/shots/query-builder-time-range.png" alt="Query builder" />
44-
</Frame>
45-
46-
This component is a visual query builder that eases the process of building visualizations and segments of your data.
47-
48-
This guide walks you through the individual sections of the query builder.
49-
50-
### Time range
51-
52-
Every query has a start and end time and the time range component allows quick selection of common time ranges as well as the ability to input specific start and end timestamps:
53-
54-
<Frame caption="Time range">
55-
<img src="/doc-assets/shots/time-range-22.png" alt="Time range" />
56-
</Frame>
57-
58-
- Use the **Quick Range** items to quickly select popular ranges
59-
- Use the **Custom Start/End Date** inputs to select specific times
60-
- Use the **Resolution** items to choose between various time bucket resolutions
61-
62-
### Against
63-
64-
When a time series visualization is selected, such as `count`, the **Against** menu is enabled and it’s possible to select a historical time to compare the results of your time range too.
65-
66-
For example, to compare the last hour’s average response time to the same time yesterday, select `1 hr` in the time range menu, and then select `-1D` from the **Against** menu:
67-
68-
<Frame caption="Time range against menu">
69-
<img src="/doc-assets/shots/compare-against.png" alt="Time range against menu" />
70-
</Frame>
71-
72-
The results look like this:
73-
74-
<Frame caption="Time range against chart">
75-
<img src="/doc-assets/shots/time-range-chart-1.png" alt="Time range against chart" />
76-
</Frame>
77-
78-
The dotted line represents results from the base date, and the totals table includes the comparative totals.
79-
80-
When you add `field` to the `group by` clause, the **time range against** values are attached to each `events`.
81-
82-
<Frame caption="Time range against chart">
83-
<img src="/doc-assets/shots/time-range-chart-2.png" alt="Time range against chart" />
84-
</Frame>
85-
86-
### Visualizations
87-
88-
Axiom provides powerful visualizations that display the output of running aggregate functions across your dataset. The Visualization menu allows you to add these visualizations and, where required, input their arguments:
89-
90-
<Frame caption="Visualizations menu">
91-
<img src="/doc-assets/shots/visualizations.png" alt="Visualizations menu" />
92-
</Frame>
93-
94-
You can select a visualization to add it to the query. If a visualization requires an argument (such as the field and/or other parameters), the menu allows you to select eligible fields and input those arguments. Press `Enter` to complete the addition:
95-
96-
<Frame caption="Visualizations demo">
97-
<img src="/doc-assets/shots/analyze-visualizations-75.gif" alt="Visualizations demo" />
98-
</Frame>
99-
100-
Click Visualization in the query builder to edit it at any time.
101-
102-
[Learn about supported visualizations](/query-data/visualizations)
103-
104-
### Filters
105-
106-
Use the filter menu to attach filter clauses to your search.
107-
108-
Axiom supports AND/OR operators at the top-level as well as one level deep. This means you can create filters that would read as `status == 200 AND (method == get OR method == head) AND (user-agent contains Mozilla or user-agent contains Webkit)`.
109-
110-
Filters are divided up by the field type they operate on, but some may apply to more than one field type.
111-
112-
<Frame caption="Filters demo">
113-
<img src="/doc-assets/shots/analyze-filters-900.gif" alt="Filters demo" />
114-
</Frame>
115-
116-
#### List of filters
117-
118-
_String Fields_
119-
120-
- `==`
121-
- `!=`
122-
- `exists`
123-
- `not-exists`
124-
- `starts-with`
125-
- `not-starts-with`
126-
- `ends-with`
127-
- `not-ends-with`
128-
- `contains`
129-
- `not-contains`
130-
- `regexp`
131-
- `not-regexp`
132-
133-
_Number Fields_
134-
135-
- `==`
136-
- `!=`
137-
- `exists`
138-
- `not-exists`
139-
- `>`
140-
- `>=`
141-
- `<`
142-
- `<=`
143-
144-
_Boolean Fields_
145-
146-
- `==`
147-
- `!=`
148-
- `exists`
149-
- `not-exists`
150-
151-
_Array Fields_
152-
153-
- `contains`
154-
- `not-contains`
155-
- `exists`
156-
- `not-exists`
157-
158-
#### Special fields
159-
160-
Axiom creates the following two fields automatically for a new dataset:
161-
162-
- `_time` is the timestamp of the event. If the data you ingest doesn’t have a `_time` field, Axiom assigns the time of the data ingest to the events.
163-
- `_sysTime` is the time when you ingested the data.
164-
165-
In most cases, you can use `_time` and `_sysTime` interchangeably. The difference between them can be useful if you experience clock skews on your event-producing systems.
166-
167-
### Group by (segmentation)
168-
169-
When visualizing data, it can be useful to segment data into specific groups to more clearly understand how the data behaves.
170-
171-
The Group By component enables you to add one or more fields to group events by:
172-
173-
<Frame caption="Group by">
174-
<img src="/doc-assets/shots/group-by.png" alt="Group by" />
175-
</Frame>
176-
177-
### Other options
178-
179-
#### Order
180-
181-
By default, Axiom automatically chooses the best ordering for results. However, you can manually set the desired order through this menu.
182-
183-
#### Limit
184-
185-
By default, Axiom chooses a reasonable limit for the query that has been passed in. However, you can control that limit manually through this component.
42+
</Frame>

dashboard-elements/overview.mdx

+1-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Dashboard elements are the different visual elements that you can include in you
1010

1111
Choose one of the following to learn more about a dashboard element:
1212

13-
<CardGroup cols={2}>
1413
<Card
1514
title="Filter bar"
1615
icon="filter"
@@ -64,5 +63,4 @@ Choose one of the following to learn more about a dashboard element:
6463
icon="chart-line"
6564
href="/dashboard-elements/time-series"
6665
>
67-
</Card>
68-
</CardGroup>
66+
</Card>

doc-assets/icons/chart-line.svg

-1
This file was deleted.

doc-assets/icons/chart-scatter.svg

-1
This file was deleted.

doc-assets/icons/many-users.svg

-1
This file was deleted.

doc-assets/icons/percent.svg

-1
This file was deleted.

0 commit comments

Comments
 (0)