hi Jaren,
you are seeing this behavior since on Windows platform, select(2) system
call works only on sockets, not pipes. However, sec uses select() for
reading from pipes in a non-blocking fashion (blocking reads are
infeasible, since this would prevent sec from doing anything else until
data appear in the pipe).
There is a workaround to this problem, though -- unlike other perl
distributions for windows, CygWin perl emulates many missing UNIX-like
functionality on Windows platform, and that includes the UNIX-like
implementation of the select() system call. Therefore, I would recommend to
try CygWin and see how it works.
Interestingly, there is also a project called SECwin which is hosted at
SourceForge:
http://sourceforge.net/projects/secwin/
The purpose of this project is to package sec for use with cygwin and have
a nice user interface for it, so that the installation and user interaction
would be easier on Windows platforms.
kind regards,
risto
2016-01-18 18:36 GMT+02:00 Jaren Peich <burkol...@gmail.com>:
> Hi,
>
> I´m trying to execute sec for passing logs throught cmd and it says that
> on WIN32 is not supportted STDIN. I want to generate a dump file to log
> alert execution.
>
> Launch Command
> perl c:\sec -intevents -fromstart -notail -conf=c:\Alert\parser.conf
> -conf=c:\Alert\alert.conf -input=- -dump=c:\Alert\dump.txt
>
> Result of the execution on cmd:
>
> Opening input file -
> Stdin is not supported as input on Win32
>
> Has anyone the same problem?is there any solution?
>
>
> Regards.
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Simple-evcorr-users mailing list
> Simple-evcorr-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
>
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users