It just wasn’t showing up when I did ls -a
but I did a sudo cat /var/log/elasticsearch/graylog.log
sure enough it spit out text.
Sooo…I restarted Elasticsearch and this is what it says in the log (tail of the log, anyway):
.e.p.PluginsService ] [graylog] loaded module [parent-join]
[2021-08-02T15:16:58,298][INFO ][o.e.p.PluginsService ] [graylog] loaded module [percolator]
[2021-08-02T15:16:58,299][INFO ][o.e.p.PluginsService ] [graylog] loaded module [rank-eval]
[2021-08-02T15:16:58,299][INFO ][o.e.p.PluginsService ] [graylog] loaded module [reindex]
[2021-08-02T15:16:58,299][INFO ][o.e.p.PluginsService ] [graylog] loaded module [repository-url]
[2021-08-02T15:16:58,299][INFO ][o.e.p.PluginsService ] [graylog] loaded module [systemd]
[2021-08-02T15:16:58,299][INFO ][o.e.p.PluginsService ] [graylog] loaded module [transport-netty4]
[2021-08-02T15:16:58,299][INFO ][o.e.p.PluginsService ] [graylog] no plugins loaded
[2021-08-02T15:16:58,324][INFO ][o.e.e.NodeEnvironment ] [graylog] using [1] data paths, mounts [[/ (/dev/mapper/ubuntu--vg-ubuntu--lv)]], net usable_space [170.4gb], net total_space [194.8gb], types [ext4]
[2021-08-02T15:16:58,324][INFO ][o.e.e.NodeEnvironment ] [graylog] heap size [1gb], compressed ordinary object pointers [true]
[2021-08-02T15:16:58,402][INFO ][o.e.n.Node ] [graylog] node name [graylog], node ID [v7mjcc1SQ4q4YCv1NCBxBQ], cluster name [graylog], roles [master, remote_cluster_client, data, ingest]
[2021-08-02T15:17:00,715][INFO ][o.e.t.NettyAllocator ] [graylog] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=256kb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=1mb, heap_size=1gb}]
[2021-08-02T15:17:00,761][INFO ][o.e.d.DiscoveryModule ] [graylog] using discovery type [zen] and seed hosts providers [settings]
[2021-08-02T15:17:00,962][WARN ][o.e.g.DanglingIndicesState] [graylog] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
[2021-08-02T15:17:01,096][INFO ][o.e.n.Node ] [graylog] initialized
[2021-08-02T15:17:01,097][INFO ][o.e.n.Node ] [graylog] starting ...
[2021-08-02T15:17:01,186][INFO ][o.e.t.TransportService ] [graylog] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
[2021-08-02T15:17:01,413][WARN ][o.e.b.BootstrapChecks ] [graylog] the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
[2021-08-02T15:17:01,415][INFO ][o.e.c.c.Coordinator ] [graylog] cluster UUID [kiupN748Qg-WIaaUGCeZ8g]
[2021-08-02T15:17:01,423][INFO ][o.e.c.c.ClusterBootstrapService] [graylog] no discovery configuration found, will perform best-effort cluster bootstrapping after [3s] unless existing master is discovered
[2021-08-02T15:17:01,493][INFO ][o.e.c.s.MasterService ] [graylog] elected-as-master ([1] nodes joined)[{graylog}{v7mjcc1SQ4q4YCv1NCBxBQ}{5ljDAR1uQA2UQLE2CPLMRw}{127.0.0.1}{127.0.0.1:9300}{dimr} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 23, version: 772, delta: master node changed {previous [], current [{graylog}{v7mjcc1SQ4q4YCv1NCBxBQ}{5ljDAR1uQA2UQLE2CPLMRw}{127.0.0.1}{127.0.0.1:9300}{dimr}]}
[2021-08-02T15:17:01,549][INFO ][o.e.c.s.ClusterApplierService] [graylog] master node changed {previous [], current [{graylog}{v7mjcc1SQ4q4YCv1NCBxBQ}{5ljDAR1uQA2UQLE2CPLMRw}{127.0.0.1}{127.0.0.1:9300}{dimr}]}, term: 23, version: 772, reason: Publication{term=23, version=772}
[2021-08-02T15:17:01,563][INFO ][o.e.h.AbstractHttpServerTransport] [graylog] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
[2021-08-02T15:17:01,563][INFO ][o.e.n.Node ] [graylog] started
[2021-08-02T15:17:01,751][INFO ][o.e.g.GatewayService ] [graylog] recovered [13] indices into cluster_state
[2021-08-02T15:17:03,866][INFO ][o.e.c.r.a.AllocationService] [graylog] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[graylog_0][0]]]).
psdadmin@graylog:~$ sudo tail /var/log/elasticsearch/graylog.log -c 40000
[2021-08-02T15:16:54,843][INFO ][o.e.n.Node ] [graylog] stopping ...
[2021-08-02T15:16:54,896][INFO ][o.e.n.Node ] [graylog] stopped
[2021-08-02T15:16:54,897][INFO ][o.e.n.Node ] [graylog] closing ...
[2021-08-02T15:16:54,903][INFO ][o.e.n.Node ] [graylog] closed
[2021-08-02T15:16:57,636][INFO ][o.e.n.Node ] [graylog] version[7.10.2], pid[141153], build[oss/deb/747e1cc71def077253878a59143c1f785afa92b9/2021-01-13T00:42:12.435326Z], OS[Linux/5.4.0-80-generic/amd64], JVM[AdoptOpenJDK/OpenJDK 64-Bit Server VM/15.0.1/15.0.1+9]
[2021-08-02T15:16:57,638][INFO ][o.e.n.Node ] [graylog] JVM home [/usr/share/elasticsearch/jdk], using bundled JDK [true]
[2021-08-02T15:16:57,638][INFO ][o.e.n.Node ] [graylog] JVM arguments [-Xshare:auto, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -XX:+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.locale.providers=SPI,COMPAT, -Xms1g, -Xmx1g, -XX:+UseG1GC, -XX:G1ReservePercent=25, -XX:InitiatingHeapOccupancyPercent=30, -Djava.io.tmpdir=/tmp/elasticsearch-15773097345297971763, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=/var/lib/elasticsearch, -XX:ErrorFile=/var/log/elasticsearch/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=/var/log/elasticsearch/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -XX:MaxDirectMemorySize=536870912, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/etc/elasticsearch, -Des.distribution.flavor=oss, -Des.distribution.type=deb, -Des.bundled_jdk=true]
[2021-08-02T15:16:58,297][INFO ][o.e.p.PluginsService ] [graylog] loaded module [aggs-matrix-stats]
[2021-08-02T15:16:58,297][INFO ][o.e.p.PluginsService ] [graylog] loaded module [analysis-common]
[2021-08-02T15:16:58,297][INFO ][o.e.p.PluginsService ] [graylog] loaded module [geo]
[2021-08-02T15:16:58,297][INFO ][o.e.p.PluginsService ] [graylog] loaded module [ingest-common]
[2021-08-02T15:16:58,297][INFO ][o.e.p.PluginsService ] [graylog] loaded module [ingest-geoip]
[2021-08-02T15:16:58,298][INFO ][o.e.p.PluginsService ] [graylog] loaded module [ingest-user-agent]
[2021-08-02T15:16:58,298][INFO ][o.e.p.PluginsService ] [graylog] loaded module [kibana]
[2021-08-02T15:16:58,298][INFO ][o.e.p.PluginsService ] [graylog] loaded module [lang-expression]
[2021-08-02T15:16:58,298][INFO ][o.e.p.PluginsService ] [graylog] loaded module [lang-mustache]
[2021-08-02T15:16:58,298][INFO ][o.e.p.PluginsService ] [graylog] loaded module [lang-painless]
[2021-08-02T15:16:58,298][INFO ][o.e.p.PluginsService ] [graylog] loaded module [mapper-extras]
[2021-08-02T15:16:58,298][INFO ][o.e.p.PluginsService ] [graylog] loaded module [parent-join]
[2021-08-02T15:16:58,298][INFO ][o.e.p.PluginsService ] [graylog] loaded module [percolator]
[2021-08-02T15:16:58,299][INFO ][o.e.p.PluginsService ] [graylog] loaded module [rank-eval]
[2021-08-02T15:16:58,299][INFO ][o.e.p.PluginsService ] [graylog] loaded module [reindex]
[2021-08-02T15:16:58,299][INFO ][o.e.p.PluginsService ] [graylog] loaded module [repository-url]
[2021-08-02T15:16:58,299][INFO ][o.e.p.PluginsService ] [graylog] loaded module [systemd]
[2021-08-02T15:16:58,299][INFO ][o.e.p.PluginsService ] [graylog] loaded module [transport-netty4]
[2021-08-02T15:16:58,299][INFO ][o.e.p.PluginsService ] [graylog] no plugins loaded
[2021-08-02T15:16:58,324][INFO ][o.e.e.NodeEnvironment ] [graylog] using [1] data paths, mounts [[/ (/dev/mapper/ubuntu--vg-ubuntu--lv)]], net usable_space [170.4gb], net total_space [194.8gb], types [ext4]
[2021-08-02T15:16:58,324][INFO ][o.e.e.NodeEnvironment ] [graylog] heap size [1gb], compressed ordinary object pointers [true]
[2021-08-02T15:16:58,402][INFO ][o.e.n.Node ] [graylog] node name [graylog], node ID [v7mjcc1SQ4q4YCv1NCBxBQ], cluster name [graylog], roles [master, remote_cluster_client, data, ingest]
[2021-08-02T15:17:00,715][INFO ][o.e.t.NettyAllocator ] [graylog] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=256kb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=1mb, heap_size=1gb}]
[2021-08-02T15:17:00,761][INFO ][o.e.d.DiscoveryModule ] [graylog] using discovery type [zen] and seed hosts providers [settings]
[2021-08-02T15:17:00,962][WARN ][o.e.g.DanglingIndicesState] [graylog] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
[2021-08-02T15:17:01,096][INFO ][o.e.n.Node ] [graylog] initialized
[2021-08-02T15:17:01,097][INFO ][o.e.n.Node ] [graylog] starting ...
[2021-08-02T15:17:01,186][INFO ][o.e.t.TransportService ] [graylog] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
[2021-08-02T15:17:01,413][WARN ][o.e.b.BootstrapChecks ] [graylog] the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
[2021-08-02T15:17:01,415][INFO ][o.e.c.c.Coordinator ] [graylog] cluster UUID [kiupN748Qg-WIaaUGCeZ8g]
[2021-08-02T15:17:01,423][INFO ][o.e.c.c.ClusterBootstrapService] [graylog] no discovery configuration found, will perform best-effort cluster bootstrapping after [3s] unless existing master is discovered
[2021-08-02T15:17:01,493][INFO ][o.e.c.s.MasterService ] [graylog] elected-as-master ([1] nodes joined)[{graylog}{v7mjcc1SQ4q4YCv1NCBxBQ}{5ljDAR1uQA2UQLE2CPLMRw}{127.0.0.1}{127.0.0.1:9300}{dimr} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 23, version: 772, delta: master node changed {previous [], current [{graylog}{v7mjcc1SQ4q4YCv1NCBxBQ}{5ljDAR1uQA2UQLE2CPLMRw}{127.0.0.1}{127.0.0.1:9300}{dimr}]}
[2021-08-02T15:17:01,549][INFO ][o.e.c.s.ClusterApplierService] [graylog] master node changed {previous [], current [{graylog}{v7mjcc1SQ4q4YCv1NCBxBQ}{5ljDAR1uQA2UQLE2CPLMRw}{127.0.0.1}{127.0.0.1:9300}{dimr}]}, term: 23, version: 772, reason: Publication{term=23, version=772}
[2021-08-02T15:17:01,563][INFO ][o.e.h.AbstractHttpServerTransport] [graylog] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
[2021-08-02T15:17:01,563][INFO ][o.e.n.Node ] [graylog] started
[2021-08-02T15:17:01,751][INFO ][o.e.g.GatewayService ] [graylog] recovered [13] indices into cluster_state
[2021-08-02T15:17:03,866][INFO ][o.e.c.r.a.AllocationService] [graylog] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[graylog_0][0]]]).```