2016-02-09 11:51 AM
Hello,
I have logged in as 'admin' on NwConsole who belongs to the group 'Administrators' and I am requesting packets, but am getting an error:
[localhost:50001] /sdk> packets time1="09-02-2016 16:00:00" time2=time1="09-02-2016 17:00:00" pathname=/tmp/foobar
packets time1="09-02-2016 16:00:00" time2=time1="09-02-2016 17:00:00" pathname=/tmp/foobar
User 'admin' does not have the required permission to send message 'packets'. This message requires one or more of the following role(s): sdk.content & sdk.packets.
2016-02-09 12:53 PM
Hey Konrads,
I can see you are connecting to your Log Collector which listens on port 50001. Connect to your Log Decoder instead which listens on port 50002. Also, change the command a little like so:
[localhost:50002] /sdk> packets time1="2016-Feb-09 16:00:00" time2="2016-Feb-09 17:00:00" pathname=/tmp/foobar
Writing packets to /tmp/foobar (100%)
53,369 packets successfully written to /tmp/foobar in 0 seconds (24 B 0 B/sec)
Cheers,
Lee
2016-02-09 12:53 PM
Hey Konrads,
I can see you are connecting to your Log Collector which listens on port 50001. Connect to your Log Decoder instead which listens on port 50002. Also, change the command a little like so:
[localhost:50002] /sdk> packets time1="2016-Feb-09 16:00:00" time2="2016-Feb-09 17:00:00" pathname=/tmp/foobar
Writing packets to /tmp/foobar (100%)
53,369 packets successfully written to /tmp/foobar in 0 seconds (24 B 0 B/sec)
Cheers,
Lee