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
Copy file name to clipboardExpand all lines: docs/user/eventdb.rst
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,14 +116,14 @@ As IntelMQ uses data based upon time, this design is awesome & will give you a p
116
116
How to choose the time column?
117
117
------------------------------
118
118
119
-
To utilize the time-series, you need to choose a column containing the right time. This is then
120
-
used by you for manual queries and graphs, but also by the database itself for organizing the data.
119
+
To utilize the time-series, choose a column containing the right time. This is then
120
+
used by you for manual queries and graphs, and also by the database itself for organizing the data.
121
121
122
122
The :doc:`IntelMQ Data Format </dev/harmonization-fields>` has two fields that can be used for this:
123
-
``time.source`` or ``time.observation``. Depending on your needs (tracking when event occurred or when
124
-
was detected, if different) choose one of them.
123
+
``time.source`` or ``time.observation``. Depending on your needs (tracking when the event occurred or when
124
+
it was detected, if different), choose one of them.
125
125
126
-
You can use :ref:`intelmq_psql_initdb` tool to generate SQL schema valid for TimescaleDB by passing
126
+
You can use the :ref:`intelmq_psql_initdb` tool to generate SQL schema valid for TimescaleDB by passing
127
127
the partitioning key:
128
128
129
129
.. code-block:: bash
@@ -133,7 +133,7 @@ the partitioning key:
133
133
How to setup?
134
134
-------------
135
135
136
-
Thanks to TimescaleDB it's very easy to setup.
136
+
Thanks to TimescaleDB, it's very easy to setup.
137
137
138
138
1. Choose your preferred `Timescale DB <https://docs.timescale.com/timescaledb/latest/how-to-guides/install-timescaledb/self-hosted/>`_ environment & follow the installation instructions.
139
139
2. Now lets create a `hypertable <https://docs.timescale.com/api/latest/hypertable/create_hypertable/>`_, which is the timescale DB time-series structure. ``SELECT create_hypertable('', 'time.source');``.
0 commit comments