Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 2arunpmohan/17475020e43af86a85cb9aabf9d0200f to your computer and use it in GitHub Desktop.
Save 2arunpmohan/17475020e43af86a85cb9aabf9d0200f to your computer and use it in GitHub Desktop.
logs_indexing common guide lines

For that first get the process id (pid) from the below command

        ps aux | grep logstash

After the collection of pid (suppose the pid = 6666) from above, use that like below to get the start time

        ps -eo pid,cmd,lstart | grep 6666
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment