gokadroid - Thanks for the response, I understand that the above steps are handy when creating a macro with Arguments.
But my requirement was to be able to specify or call the macro in the following way
index="blah" | multiplyABC(field1,field2,field3)
where field1,field2 and field3 are not explicitly hardcoded values, instead they are Fields in the events found for index="blah".
Based on my observation, passing event fields get treated literally instead of interpreting their values, i.e.
the expanded macro search would look as follows
eval dd=field1*field2*field3
... View more