Skip to content

Commit eb57039

Browse files
committed
updates
1 parent 3020d04 commit eb57039

File tree

22 files changed

+557
-80
lines changed

22 files changed

+557
-80
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
=============
2+
enrich policy
3+
=============
4+
5+
6+
enrichment policies can only have 1 match
7+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8+
9+
I guess we need to make sure there is only 1 field you want to match against.
10+
I could not find information about this in the documentation, but that is not a surprise.
11+
12+
race conditions
13+
^^^^^^^^^^^^^^^
14+
15+
If a new enrichment policy is put in place and executed, wait until it is finished before installing an ingest pipeline that uses it.
16+

_sources/elk/elastic/index.rst.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Contents:
1010

1111
indexes/index
1212
dev
13+
enrich_policy
1314
status
1415
templates
1516
shards

_sources/misc/mynet/dur.rst.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
===
2+
dur
3+
===
4+
5+
`dur` is a raspberry pi zero 2W.
6+
7+
8+
auto login
9+
^^^^^^^^^^
10+
11+
For some reason rapberry pi OS is setup to auto login, but this is undesirable (of course).
12+
There is a menu option to change it or it can be changed in `/etc/lightdm/lightdm.conf`.
13+
14+
wifi
15+
^^^^
16+
17+
It has it, but my connections are super slow so far.
18+

_sources/operating_systems/linux/rpm.rst.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
.. _linux_rpm:
2-
1+
===
32
RPM
43
===
54

@@ -16,5 +15,11 @@ error: "zlib-devel" specifies multiple packages
1615

1716
.. code-block:: console
1817
19-
rpm -q --queryformat "%{name}.%{arch}\n" PACKAGE NAME
18+
rpm -q --queryformat "%{name}.%{arch}\n" PACKAGE_NAME
19+
20+
see the files in an rpm
21+
^^^^^^^^^^^^^^^^^^^^^^^
22+
23+
.. code-block:: console
2024
25+
rpm -ql PACKAGE_NAME

_sources/tools/git/index.rst.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
===
32
git
43
===
@@ -9,7 +8,7 @@ Contents:
98
:maxdepth: 2
109

1110
archive
12-
git
1311
gpg
14-
remote
12+
remote
13+
signatures
1514

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
==========
2+
signatures
3+
==========
4+
5+
.. note::
6+
7+
Can probably use ``local`` instead of ``global`` for per-project settings.
8+
Not sure if local settings override global, but I would hope so.
9+
10+
Sign commits
11+
^^^^^^^^^^^^
12+
13+
.. code-block:: console
14+
15+
git config --global user.signkey public 80E6A369 ## Replace 80E6A369 will private key ID
16+
17+
sign commits with ssh
18+
^^^^^^^^^^^^^^^^^^^^^
19+
20+
.. code-block:: console
21+
22+
git config --global gpg.format ssh
23+
git config --global user.signingkey ~/.ssh/gitlab_lab.pub
24+
git config --global commit.gpgsign true
25+
26+
Set email/username
27+
^^^^^^^^^^^^^^^^^^
28+
29+
.. code-block:: console
30+
31+
git config --global [email protected]
32+
git config --global user.name=ddp
33+
34+
show signatures
35+
^^^^^^^^^^^^^^^
36+
37+
For git signed commits:
38+
39+
.. code-block:: console
40+
41+
git log --show-signature
42+
43+
For ssh signed commits an `allowedSignersFile` needs to be defined and present.
44+
The format of this file is `email_address public_key` (although `email_address namespaces="git" public_key` also works?).
45+
46+
Next, add the following to your `~/.gitconfig` file (this might work as a local config option as well), changing the path to the `allowed_signers` file as necessary:
47+
48+
.. code-block:: ini
49+
50+
[gpg "ssh"]
51+
allowedSignersFile = ~/.ssh/allowed_signers
52+
53+
After this change, the `--show-signature` flag can be used to check the signatures.
54+

elk/elastic/dev.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
1515
<link rel="index" title="Index" href="../../genindex.html" />
1616
<link rel="search" title="Search" href="../../search.html" />
17-
<link rel="next" title="Get the status of ES" href="status.html" />
17+
<link rel="next" title="enrich policy" href="enrich_policy.html" />
1818
<link rel="prev" title="data streams" href="indexes/datastream.html" />
1919

2020
<link rel="stylesheet" href="../../_static/custom.css" type="text/css" />
@@ -125,7 +125,7 @@ <h3>Related Topics</h3>
125125
<li><a href="../index.html">elastic stuff</a><ul>
126126
<li><a href="index.html">elasticsearch</a><ul>
127127
<li>Previous: <a href="indexes/datastream.html" title="previous chapter">data streams</a></li>
128-
<li>Next: <a href="status.html" title="next chapter">Get the status of ES</a></li>
128+
<li>Next: <a href="enrich_policy.html" title="next chapter">enrich policy</a></li>
129129
</ul></li>
130130
</ul></li>
131131
</ul></li>

elk/elastic/enrich_policy.html

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
<!DOCTYPE html>
2+
3+
<html lang="en" data-content_root="../../">
4+
<head>
5+
<meta charset="utf-8" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
7+
8+
<title>enrich policy &#8212; notes 0.1 documentation</title>
9+
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
10+
<link rel="stylesheet" type="text/css" href="../../_static/basic.css?v=b08954a9" />
11+
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css?v=27fed22d" />
12+
<script src="../../_static/documentation_options.js?v=2709fde1"></script>
13+
<script src="../../_static/doctools.js?v=9bcbadda"></script>
14+
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
15+
<link rel="index" title="Index" href="../../genindex.html" />
16+
<link rel="search" title="Search" href="../../search.html" />
17+
<link rel="next" title="Get the status of ES" href="status.html" />
18+
<link rel="prev" title="Change the breaker limit" href="dev.html" />
19+
20+
<link rel="stylesheet" href="../../_static/custom.css" type="text/css" />
21+
22+
23+
24+
25+
26+
</head><body>
27+
28+
29+
<div class="document">
30+
<div class="documentwrapper">
31+
<div class="bodywrapper">
32+
33+
34+
<div class="body" role="main">
35+
36+
<section id="enrich-policy">
37+
<h1>enrich policy<a class="headerlink" href="#enrich-policy" title="Link to this heading"></a></h1>
38+
<section id="enrichment-policies-can-only-have-1-match">
39+
<h2>enrichment policies can only have 1 match<a class="headerlink" href="#enrichment-policies-can-only-have-1-match" title="Link to this heading"></a></h2>
40+
<p>I guess we need to make sure there is only 1 field you want to match against.
41+
I could not find information about this in the documentation, but that is not a surprise.</p>
42+
</section>
43+
<section id="race-conditions">
44+
<h2>race conditions<a class="headerlink" href="#race-conditions" title="Link to this heading"></a></h2>
45+
<p>If a new enrichment policy is put in place and executed, wait until it is finished before installing an ingest pipeline that uses it.</p>
46+
</section>
47+
</section>
48+
49+
50+
</div>
51+
52+
</div>
53+
</div>
54+
<div class="sphinxsidebar" role="navigation" aria-label="Main">
55+
<div class="sphinxsidebarwrapper">
56+
<h1 class="logo"><a href="../../index.html">notes</a></h1>
57+
58+
59+
60+
61+
62+
63+
64+
65+
<h3>Navigation</h3>
66+
<ul class="current">
67+
<li class="toctree-l1"><a class="reference internal" href="../../db/index.html">databases</a></li>
68+
<li class="toctree-l1 current"><a class="reference internal" href="../index.html">elastic stuff</a><ul class="current">
69+
<li class="toctree-l2"><a class="reference internal" href="../beats/index.html">Beats</a></li>
70+
<li class="toctree-l2 current"><a class="reference internal" href="index.html">elasticsearch</a></li>
71+
<li class="toctree-l2"><a class="reference internal" href="../logstash/index.html">logstash</a></li>
72+
<li class="toctree-l2"><a class="reference internal" href="../monitoring/index.html">monitoring</a></li>
73+
<li class="toctree-l2"><a class="reference internal" href="../agent/index.html">agent</a></li>
74+
<li class="toctree-l2"><a class="reference internal" href="../api.html">api</a></li>
75+
<li class="toctree-l2"><a class="reference internal" href="../parsing.html">parsing</a></li>
76+
<li class="toctree-l2"><a class="reference internal" href="../setup.html">Setting up the whole thing</a></li>
77+
<li class="toctree-l2"><a class="reference internal" href="../endpoint.html">endpoint</a></li>
78+
<li class="toctree-l2"><a class="reference internal" href="../read.html">read from elastic</a></li>
79+
<li class="toctree-l2"><a class="reference internal" href="../docker/commands.html">docker commands</a></li>
80+
<li class="toctree-l2"><a class="reference internal" href="../testing_logstash.html">testing logstash</a></li>
81+
<li class="toctree-l2"><a class="reference internal" href="../elastic-cloud.html">elastic-cloud</a></li>
82+
<li class="toctree-l2"><a class="reference internal" href="../query/index.html">querying elasticsearch and kibana</a></li>
83+
</ul>
84+
</li>
85+
<li class="toctree-l1"><a class="reference internal" href="../../openssh/index.html">OpenSSH</a></li>
86+
<li class="toctree-l1"><a class="reference internal" href="../../operating_systems/index.html">Operating Systems</a></li>
87+
<li class="toctree-l1"><a class="reference internal" href="../../ossec/index.html">OSSEC</a></li>
88+
<li class="toctree-l1"><a class="reference internal" href="../../ssl/index.html">ssl</a></li>
89+
<li class="toctree-l1"><a class="reference internal" href="../../stupid_unix_tricks/index.html">Stupid Unix Tricks</a></li>
90+
<li class="toctree-l1"><a class="reference internal" href="../../tools/index.html">Tools</a></li>
91+
<li class="toctree-l1"><a class="reference internal" href="../../vendor_stuff/index.html">Vendor Stuff</a></li>
92+
<li class="toctree-l1"><a class="reference internal" href="../../misc/index.html">misc</a></li>
93+
</ul>
94+
95+
<div class="relations">
96+
<h3>Related Topics</h3>
97+
<ul>
98+
<li><a href="../../index.html">Documentation overview</a><ul>
99+
<li><a href="../index.html">elastic stuff</a><ul>
100+
<li><a href="index.html">elasticsearch</a><ul>
101+
<li>Previous: <a href="dev.html" title="previous chapter">Change the breaker limit</a></li>
102+
<li>Next: <a href="status.html" title="next chapter">Get the status of ES</a></li>
103+
</ul></li>
104+
</ul></li>
105+
</ul></li>
106+
</ul>
107+
</div>
108+
<search id="searchbox" style="display: none" role="search">
109+
<h3 id="searchlabel">Quick search</h3>
110+
<div class="searchformwrapper">
111+
<form class="search" action="../../search.html" method="get">
112+
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
113+
<input type="submit" value="Go" />
114+
</form>
115+
</div>
116+
</search>
117+
<script>document.getElementById('searchbox').style.display = "block"</script>
118+
</div>
119+
</div>
120+
<div class="clearer"></div>
121+
</div>
122+
<!-- your html code here -->
123+
<div class="footer">
124+
<em>This information has a good chance of being wrong, inconsistent, out of date, or just bad. Use at your own risk.
125+
Feel free to notify me of any issues though.</em>
126+
</div>
127+
128+
129+
</body>
130+
</html>

elk/elastic/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ <h1>elasticsearch<a class="headerlink" href="#elasticsearch" title="Link to this
5050
<li class="toctree-l1"><a class="reference internal" href="dev.html#get-pipeline-statistics-for-troubleshooting-ingest-processing-times">get pipeline statistics for troubleshooting ingest processing times</a></li>
5151
<li class="toctree-l1"><a class="reference internal" href="dev.html#get-number-of-indexing-failures-for-all-indices">get number of indexing failures for all indices</a></li>
5252
<li class="toctree-l1"><a class="reference internal" href="dev.html#show-the-current-write-thread-pool-statistics">show the current write thread pool statistics</a></li>
53+
<li class="toctree-l1"><a class="reference internal" href="enrich_policy.html">enrich policy</a><ul>
54+
<li class="toctree-l2"><a class="reference internal" href="enrich_policy.html#enrichment-policies-can-only-have-1-match">enrichment policies can only have 1 match</a></li>
55+
<li class="toctree-l2"><a class="reference internal" href="enrich_policy.html#race-conditions">race conditions</a></li>
56+
</ul>
57+
</li>
5358
<li class="toctree-l1"><a class="reference internal" href="status.html">Get the status of ES</a></li>
5459
<li class="toctree-l1"><a class="reference internal" href="status.html#filesystem-stats">Filesystem stats</a></li>
5560
<li class="toctree-l1"><a class="reference internal" href="status.html#get-version-and-other-info">Get version and other info</a></li>

elk/elastic/status.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<link rel="index" title="Index" href="../../genindex.html" />
1616
<link rel="search" title="Search" href="../../search.html" />
1717
<link rel="next" title="Templates" href="templates.html" />
18-
<link rel="prev" title="Change the breaker limit" href="dev.html" />
18+
<link rel="prev" title="enrich policy" href="enrich_policy.html" />
1919

2020
<link rel="stylesheet" href="../../_static/custom.css" type="text/css" />
2121

@@ -111,7 +111,7 @@ <h3>Related Topics</h3>
111111
<li><a href="../../index.html">Documentation overview</a><ul>
112112
<li><a href="../index.html">elastic stuff</a><ul>
113113
<li><a href="index.html">elasticsearch</a><ul>
114-
<li>Previous: <a href="dev.html" title="previous chapter">Change the breaker limit</a></li>
114+
<li>Previous: <a href="enrich_policy.html" title="previous chapter">enrich policy</a></li>
115115
<li>Next: <a href="templates.html" title="next chapter">Templates</a></li>
116116
</ul></li>
117117
</ul></li>

0 commit comments

Comments
 (0)