You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
I have have been tasked with adding some exec commands to our logstash config. The command uses awk, so if I try running something like:
command => "cat /proc/loadavg | awk '{print $2}'"
However, I am not sure how to add this to my role, as it takes the above and turns it into:
'command' => 'cat /proc/loadavg | awk '{print $2}''
Is there a way to turn the outside "'" to quotes?
Thank you for your help.
Geoff
The text was updated successfully, but these errors were encountered: