AnsweredAssumed Answered

How to output NwConsole /sdk/ packets query output to stdout?

Question asked by eJRaaDQfA1SH1w4LKCfjAZMflj6k3BFgMmj0frEwkrw= on Feb 9, 2016
Latest reply on Feb 11, 2016 by eJRaaDQfA1SH1w4LKCfjAZMflj6k3BFgMmj0frEwkrw=

Hello,

 

I want to use the NwConsole's /sdk/ packets command to obtain raw packets logs fast. The REST method did not work.

The problem is that I need to process the output as a stream rather than reading the file in the pathname argument later due to very large volume; essentially I want to do:

 

nwconsole -c login -c sdk/packets  | grep ....

 

I've tried to make use of fifo files in append mode but that doesn't work.

Outcomes