Difference between revisions of "Metricbeat logs"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
  /usr/local/var/log/metricbeat/metricbeat
+
  [[tail -f]] /usr/local/var/log/metricbeat/metricbeat
 +
[[tail -f]] ~/brew/var/log/metricbeat/*
 +
 
 +
[[/var/log/metricbeat/]]metricbeat-20220528-1.[[ndjson]]
 +
grep -i error /var/log/metricbeat/*
  
  
Line 9: Line 13:
  
  
 +
 +
2020-07-12T12:49:43.405+0400 INFO instance/beat.go:647 Home path: [/usr/local/Cellar/metricbeat/7.8.0] Config path: [/usr/local/etc/metricbeat] Data path: [/usr/local/var/lib/metricbeat] Logs path: [/usr/local/var/log/metricbeat]
 +
2020-07-12T12:49:43.405+0400 INFO instance/beat.go:655 Beat ID: 987e36c3-e534-49e4-baf5-edc185897027
 +
2020-07-12T12:49:43.406+0400 INFO instance/beat.go:390 metricbeat stopped.
 +
2020-07-12T12:49:43.420+0400 ERROR instance/beat.go:958 Exiting: setup.template.name and setup.template.pattern have to be set if index name is modified
 +
 +
== Related ==
 +
* <code>[[metricbeat.yml]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 13:42, 18 January 2024

tail -f /usr/local/var/log/metricbeat/metricbeat
tail -f ~/brew/var/log/metricbeat/*
/var/log/metricbeat/metricbeat-20220528-1.ndjson
grep -i error /var/log/metricbeat/*


2020-07-12T12:42:25.310+0400	INFO	[monitoring]	log/log.go:145	Non-zero metrics in the last 30s	{"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":11488,"time":{"ms":228}},"total":{"ticks":46916,"time":{"ms":759},"value":46916},"user":{"ticks":35428,"time":{"ms":531}}},"info":{"ephemeral_id":"2f511b49-af7f-4378-8792-ee393b2aa24c","uptime":{"ms":1410192}},"memstats":{"gc_next":16620864,"memory_alloc":9590296,"memory_total":24511148808,"rss":24576},"runtime":{"goroutines":71}},"libbeat":{"config":{"module":{"running":0}},"output":{"events":{"acked":111,"batches":6,"total":111}},"pipeline":{"clients":10,"events":{"active":0,"filtered":1,"published":111,"total":111},"queue":{"acked":111}}},"metricbeat":{"system":{"cpu":{"events":2,"success":2},"filesystem":{"events":6,"success":6},"load":{"events":2,"success":2},"memory":{"events":3,"success":3},"network":{"events":66,"success":66},"process":{"events":24,"success":24},"process_summary":{"events":3,"success":3},"socket_summary":{"events":3,"success":3}}},"system":{"load":{"1":1.8062,"15":2.21,"5":2.1631,"norm":{"1":0.1505,"15":0.1842,"5":0.1803}}}}}}


With errors[edit]

2020-07-12T12:19:00.680+0400	ERROR	[publisher_pipeline_output]	pipeline/output.go:155	Failed to connect to backoff(elasticsearch(http://localhost:9200)): Get "http://localhost:9200": dial tcp 127.0.0.1:9200: connect: connection refused


2020-07-12T12:49:43.405+0400	INFO	instance/beat.go:647	Home path: [/usr/local/Cellar/metricbeat/7.8.0] Config path: [/usr/local/etc/metricbeat] Data path: [/usr/local/var/lib/metricbeat] Logs path: [/usr/local/var/log/metricbeat]
2020-07-12T12:49:43.405+0400	INFO	instance/beat.go:655	Beat ID: 987e36c3-e534-49e4-baf5-edc185897027
2020-07-12T12:49:43.406+0400	INFO	instance/beat.go:390	metricbeat stopped.
2020-07-12T12:49:43.420+0400	ERROR	instance/beat.go:958	Exiting: setup.template.name and setup.template.pattern have to be set if index name is modified

Related[edit]

See also[edit]

Advertising: