Check if a cribl instance is configured as a worker or a leader from the command-line?
Franky Laarits
Posts: 59 ✭✭
hi all, is there a way to tell if a cribl instance is configured as a worker or a leader, from the command-line?
0
Answers
-
```brandon@master:~/cribl/bin$ ./cribl status Address: https://192.168.1.247:9000 Mode: master Status: Up Software Version: 4.0.2-5226fe62 Config Version: baf7bc9 Master: 0.0.0.0:4200 PID: 1050282 GUID: e42e4714-f08c-4537-99c4-66b9d0051f80```
0 -
you can also cat the `$CRIBL_HOME/local/_system/instance.yml` file to see the mode line.
0 -
thanks!
0 -
a "mode=single" is a stand-alone instance?
0 -
-
technically all those are standalone since standalone is intended to mean any instance that isn't the Cribl App for Splunk
0