[root@sandbox ~]# flume-ng -n sandbox --conf /etc/flume/conf -f /etc/flume/conf/flume.conf
Error: Unknown or unspecified command '-n'
Why am I getting this error, when I followed all steps given in the tutorial.
which tutorial are you running? You can start flume via Ambari, you don't need to manually start Flume agent through command line. @Utkarsh Gupta
you have missed an "agent" word.
flume-ng agent -n ... -f ....