<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Elasticsearch_Cheat_Sheet_%28pfELK%29</id>
	<title>Elasticsearch Cheat Sheet (pfELK) - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Elasticsearch_Cheat_Sheet_%28pfELK%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Elasticsearch_Cheat_Sheet_(pfELK)&amp;action=history"/>
	<updated>2026-06-29T06:07:23Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Xinux Wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Elasticsearch_Cheat_Sheet_(pfELK)&amp;diff=64624&amp;oldid=prev</id>
		<title>Thomas.will: /* Letzte Dokumente (egal welcher Namespace) */</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Elasticsearch_Cheat_Sheet_(pfELK)&amp;diff=64624&amp;oldid=prev"/>
		<updated>2025-09-13T17:52:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Letzte Dokumente (egal welcher Namespace)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 13. September 2025, 17:52 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l15&quot; &gt;Zeile 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Letzte Dokumente (egal welcher Namespace) ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Letzte Dokumente (egal welcher Namespace) ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* curl -u elastic:123Start$ -&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;k \&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* curl -u elastic:123Start$ -&amp;quot;https://localhost:9200/.ds-logs-pfelk-*/_search?pretty&amp;quot; -H 'Content-Type: application/json' -d '{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;quot;https://localhost:9200/.ds-logs-pfelk-*/_search?pretty&amp;quot; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;\&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;   &lt;/ins&gt;&amp;quot;size&amp;quot;: 5,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;-H 'Content-Type: application/json' -d '{&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;   &lt;/ins&gt;&amp;quot;sort&amp;quot;: [ { &amp;quot;@timestamp&amp;quot;: &amp;quot;desc&amp;quot; } ],&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;  &lt;/del&gt;&amp;quot;size&amp;quot;: 5,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;   &lt;/ins&gt;&amp;quot;_source&amp;quot;: [&amp;quot;@timestamp&amp;quot;,&amp;quot;log.syslog.appname&amp;quot;,&amp;quot;data_stream.namespace&amp;quot;,&amp;quot;message&amp;quot;]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;  &lt;/del&gt;&amp;quot;sort&amp;quot;: [ { &amp;quot;@timestamp&amp;quot;: &amp;quot;desc&amp;quot; } ],&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;}'&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;  &lt;/del&gt;&amp;quot;_source&amp;quot;: [&amp;quot;@timestamp&amp;quot;,&amp;quot;log.syslog.appname&amp;quot;,&amp;quot;data_stream.namespace&amp;quot;,&amp;quot;message&amp;quot;]&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}'&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Suche nach Keyword (z. B. suricata) ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Suche nach Keyword (z. B. suricata) ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Elasticsearch_Cheat_Sheet_(pfELK)&amp;diff=64623&amp;oldid=prev</id>
		<title>Thomas.will: Die Seite wurde neu angelegt: „== Indices anzeigen == * curl -u elastic:123Start$ -k &quot;https://localhost:9200/_cat/indices?v&quot;  == Alle Data Streams anzeigen == * curl -u elastic:123Start$ -k…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Elasticsearch_Cheat_Sheet_(pfELK)&amp;diff=64623&amp;oldid=prev"/>
		<updated>2025-09-13T17:52:10Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „== Indices anzeigen == * curl -u elastic:123Start$ -k &amp;quot;https://localhost:9200/_cat/indices?v&amp;quot;  == Alle Data Streams anzeigen == * curl -u elastic:123Start$ -k…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Indices anzeigen ==&lt;br /&gt;
* curl -u elastic:123Start$ -k &amp;quot;https://localhost:9200/_cat/indices?v&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Alle Data Streams anzeigen ==&lt;br /&gt;
* curl -u elastic:123Start$ -k &amp;quot;https://localhost:9200/_cat/data_stream?v&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Letzte Dokumente aus Suricata ==&lt;br /&gt;
* curl -u elastic:123Start$ -k \&lt;br /&gt;
&amp;quot;https://localhost:9200/.ds-logs-pfelk-suricata-*/_search?pretty&amp;quot; \&lt;br /&gt;
-H 'Content-Type: application/json' -d '{&lt;br /&gt;
  &amp;quot;size&amp;quot;: 5,&lt;br /&gt;
  &amp;quot;sort&amp;quot;: [ { &amp;quot;@timestamp&amp;quot;: &amp;quot;desc&amp;quot; } ],&lt;br /&gt;
  &amp;quot;_source&amp;quot;: [&amp;quot;@timestamp&amp;quot;,&amp;quot;suricata.eve.alert.signature&amp;quot;,&amp;quot;source.ip&amp;quot;,&amp;quot;destination.ip&amp;quot;,&amp;quot;event.type&amp;quot;]&lt;br /&gt;
}'&lt;br /&gt;
&lt;br /&gt;
== Letzte Dokumente (egal welcher Namespace) ==&lt;br /&gt;
* curl -u elastic:123Start$ -k \&lt;br /&gt;
&amp;quot;https://localhost:9200/.ds-logs-pfelk-*/_search?pretty&amp;quot; \&lt;br /&gt;
-H 'Content-Type: application/json' -d '{&lt;br /&gt;
  &amp;quot;size&amp;quot;: 5,&lt;br /&gt;
  &amp;quot;sort&amp;quot;: [ { &amp;quot;@timestamp&amp;quot;: &amp;quot;desc&amp;quot; } ],&lt;br /&gt;
  &amp;quot;_source&amp;quot;: [&amp;quot;@timestamp&amp;quot;,&amp;quot;log.syslog.appname&amp;quot;,&amp;quot;data_stream.namespace&amp;quot;,&amp;quot;message&amp;quot;]&lt;br /&gt;
}'&lt;br /&gt;
&lt;br /&gt;
== Suche nach Keyword (z. B. suricata) ==&lt;br /&gt;
* curl -u elastic:123Start$ -k &amp;quot;https://localhost:9200/_search?q=suricata&amp;amp;pretty&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Index löschen (Beispiel suricata von heute) ==&lt;br /&gt;
* curl -u elastic:123Start$ -k -XDELETE &amp;quot;https://localhost:9200/.ds-logs-pfelk-suricata-2025.09.13-000001&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Index-Template (Übersicht) ==&lt;br /&gt;
* curl -u elastic:123Start$ -k &amp;quot;https://localhost:9200/_cat/templates?v&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Cluster-Health ==&lt;br /&gt;
* curl -u elastic:123Start$ -k &amp;quot;https://localhost:9200/_cluster/health?pretty&amp;quot;&lt;/div&gt;</summary>
		<author><name>Thomas.will</name></author>
	</entry>
</feed>