You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
8. For this example, select `HTTP API - JavaScript`. Code is generated for you that uses the Streaming Writer API (HTTP interface).
24
-
25
-
9. Click the `Copy code` button to copy the code to your clipboard.
26
-
27
-
You can now paste the code into your JavaScript code, for example, your web browser client code. The code writes data into the Quix topic that you configured.
28
-
29
-
As you can see there are other options such as generating Curl code that can be run in your shell to also write data into Quix.
30
-
31
-
The code samples generated are meant to provide you with a starting point from which you can build your own solutions. They provide a convenient way to see how the API works.
32
-
33
-
## Next steps
34
-
35
-
Further information can be found in the [Streaming Writer API](../../apis/streaming-writer-api/overview.md) documentation.
14
+
The external source now appears in the pipeline view as a reminder (visual cue) as to the nature of the source generating the data for this topic.
Copy file name to clipboardExpand all lines: docs/quix-cloud/quixtour/external-source.md
+6-31Lines changed: 6 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,43 +4,18 @@ At this point, you have completed the [Quickstart](../quickstart.md), and you ha
4
4
5
5
However, you can't currently see this in the Pipeline view. To help you visualize what you've created, you add an external source component, to provide a visual entity in the pipeline view.
0:01 Welcome back to another video. In this video I'll show you how to improve your pipeline view by creating an external source.
14
-
15
-
0:11 So let's go straight into it. The easiest way to do this, there's various ways that you can do this, but as you see there is a nice big box here, add external source, you can just click on that.
16
-
17
-
0:28 The reason that I'm adding an external source is because my command line program that's capturing CPU load and publishing that into Quix is external to the Quix and environment.
18
-
19
-
0:42 You'll see other examples where we use Quix's built-in code samples and connectors to build your pipeline, but they're internal to Quix, so you just use an ordinary source.
20
-
21
-
0:57 So for our purposes here, we're going to create an example. External source. I'm going to call it server load, CPU load.
22
-
23
-
1:10 You can call it anything you like really, as long as it makes sense to you. We also need to select the output topic.
24
-
25
-
1:21 Well, we know the topic is CPU load because it's the only one we've got So let's go ahead and add that source now we can see The external source appears in the pipeline view And then later in the quick stall we're going to extend this pipeline So in the second part of the tour you'll add a transformation
26
-
27
-
1:44 here and then when that's done on the other side of the transformation you'll create a destination to complete the pipeline.
28
-
29
-
1:56 Okay that's it for this video thanks for watching and see you in the next video.
30
-
31
7
## How to add an external source
32
8
33
9
To add an external source:
34
10
35
-
1.Click on `Code Samples`.
36
-
2.Select the `Source`, and `Basic templates` filters.
37
-
3.On the `External Source` sample, click `Add external source`.
38
-
4.Give the component a name, such as "Laptop CPU Load".
39
-
5.For output topic select `cpu-load`.
11
+
1.Go to the pipeline view.
12
+
2.Click `+ New` in the top right corner of the view.
13
+
3.Select `External source`.
14
+
4.In `Output` select the topic you are going to publish to, or add a new topic with `+ Add new`. In this case select the `cpu-load` topic.
15
+
5.In `Name` type any suitable name, such as "Laptop CPU Load".
40
16
6. Click `Add external source`.
41
17
42
-
This now appears in the pipeline view as a reminder (visual cue) as to the nature of the source generating the data for this topic.
43
-
18
+
The external source now appears in the pipeline view as a reminder (visual cue) as to the nature of the source generating the data for this topic.
Copy file name to clipboardExpand all lines: docs/tutorials/influxdb-alerting/external-source.md
+5-31Lines changed: 5 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,41 +2,15 @@
2
2
3
3
At this point you have an external program sending data into Quix, and it is writing into a Quix topic. However, you can't see this external program in the Pipeline view. To help you visualize what you've created, you can add an external source component, to provide a visual entity in the pipeline view. To do this, log into Quix Cloud:
4
4
5
-
1.Click on `Code Samples`.
6
-
2.Select the `Python`, `Source`, and `Basic templates` filters.
7
-
3.On the `External Source` sample, click `Add external source`.
8
-
4.Give the component a name, such as "Laptop CPU Load".
9
-
5.For output topic select `cpu-load`.
5
+
1.Go to the pipeline view.
6
+
2.Click `+ New` in the top right corner of the view.
7
+
3.Select `External source`.
8
+
4.In `Output` select the topic you are going to publish to, or add a new topic with `+ Add new`. In this case select the `cpu-load` topic.
9
+
5.In `Name` type any suitable name, such as "Laptop CPU Load".
10
10
6. Click `Add external source`.
11
11
12
12
This now appears in the pipeline view as a reminder (visual cue) as to the nature of the source generating the data for this topic, and you can easily add further pipeline services on the output of this source.
0:01 Welcome back to another video. In this video I'll show you how to improve your pipeline view by creating an external source.
21
-
22
-
0:11 So let's go straight into it. The easiest way to do this, there's various ways that you can do this, but as you see there is a nice big box here, add external source, you can just click on that.
23
-
24
-
0:28 The reason that I'm adding an external source is because my command line program that's capturing CPU load and publishing that into Quix is external to the Quix and environment.
25
-
26
-
0:42 You'll see other examples where we use Quix's built-in code samples and connectors to build your pipeline, but they're internal to Quix, so you just use an ordinary source.
27
-
28
-
0:57 So for our purposes here, we're going to create an example. External source. I'm going to call it server load, CPU load.
29
-
30
-
1:10 You can call it anything you like really, as long as it makes sense to you. We also need to select the output topic.
31
-
32
-
1:21 Well, we know the topic is CPU load because it's the only one we've got So let's go ahead and add that source now we can see The external source appears in the pipeline view And then later in the quick stall we're going to extend this pipeline So in the second part of the tour you'll add a transformation
33
-
34
-
1:44 here and then when that's done on the other side of the transformation you'll create a destination to complete the pipeline.
35
-
36
-
1:56 Okay that's it for this video thanks for watching and see you in the next video.
37
-
38
-
Note, this video is for a different project, but the principle is the same.
0 commit comments