Is there a document that list the various fields of the elasticsearch log?

Given a snippet of a log file like this I'm wondering if there is documentation for all the various possible values for the second and third columns (eg. INFO and plugins)

[2015-12-30 18:33:14,176][INFO ][plugins] [] loaded [analysis-icu, marvel, action-updatebyquery], sites [marvel]
[2015-12-30 18:33:15,861][INFO ][node] [] initialized
[2015-12-30 18:33:15,861][INFO ][node] [] starting ...
[2015-12-30 18:33:16,024][INFO ][transport] [] bound_address {inet[/]}, publish_address {inet[/]}
[2015-12-30 18:33:16,031][INFO ][discovery] [] p2-contact-data-new/bw7qpYdCTLidt4J5dHRMbg
[2015-12-30 18:33:19,072][INFO ][cluster.service] [] new_master [][bw7qpYdCTLidt4J5dHRMbg][][inet[/]]{max_local_storage_nodes=1}, reason: zen-disco-join (elected_as_master)
[2015-12-30 18:33:19,105][INFO ][http] [] bound_address {inet[/]}, publish_address {inet[/]}
[2015-12-30 18:33:19,107][INFO ][gateway] [] recovered [0] indices into cluster_state
[2015-12-30 18:33:26,270][INFO ][cluster.metadata] [] [.marvel-2015.12.30] creating index, cause [auto(bulk api)], templates [marvel], shards [1]/[1], mappings [default, shard_event, index_event, index_stats, node_event, routing_event, cluster_event, cluster_state, cluster_stats, node_stats, indices_stats]
[2015-12-30 18:33:26,538][INFO ][cluster.metadata] [] [.marvel-2015.12.30] update_mapping [node_stats] (dynamic)

[INFO ] and its ilk are log4j2 levels.

[plugins], [node], etc are all package names of Elasticsearch's internals. You could get a list from the source but it wouldn't be stable.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.