mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
parent
e06d2195d0
commit
ba89b217e5
4 changed files with 79 additions and 0 deletions
11
bin/benchmark.bat
Normal file
11
bin/benchmark.bat
Normal file
|
@ -0,0 +1,11 @@
|
|||
rem @echo off
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
cd /d "%~dp0.."
|
||||
for /f %%i in ('cd') do set RESULT=%%i
|
||||
echo !!RESULT!!
|
||||
|
||||
java -cp "!!RESULT!!\tools\benchmark-cli\build\libs\benchmark-cli.jar;*" ^
|
||||
org.logstash.benchmark.cli.Main %*
|
||||
|
||||
endlocal
|
10
bin/ingest-convert.bat
Normal file
10
bin/ingest-convert.bat
Normal file
|
@ -0,0 +1,10 @@
|
|||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
cd /d "%~dp0\.."
|
||||
for /f %%i in ('cd') do set RESULT=%%i
|
||||
|
||||
java -cp "!!RESULT!!\tools\ingest-converter\build\libs\ingest-converter.jar;*" ^
|
||||
org.logstash.ingest.Pipeline %*
|
||||
|
||||
endlocal
|
29
bin/pqcheck.bat
Normal file
29
bin/pqcheck.bat
Normal file
|
@ -0,0 +1,29 @@
|
|||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
call "%~dp0setup.bat" || exit /b 1
|
||||
if errorlevel 1 (
|
||||
if not defined nopauseonerror (
|
||||
pause
|
||||
)
|
||||
exit /B %ERRORLEVEL%
|
||||
)
|
||||
|
||||
|
||||
set JAVA_OPTS=%LS_JAVA_OPTS%
|
||||
|
||||
for %%i in ("%LS_HOME%\logstash-core\lib\jars\*.jar") do (
|
||||
call :concat "%%i"
|
||||
)
|
||||
|
||||
%JAVA% %JAVA_OPTS% -cp "%CLASSPATH%" org.logstash.ackedqueue.PqCheck %*
|
||||
|
||||
:concat
|
||||
IF not defined CLASSPATH (
|
||||
set CLASSPATH="%~1"
|
||||
) ELSE (
|
||||
set CLASSPATH=%CLASSPATH%;"%~1"
|
||||
)
|
||||
goto :eof
|
||||
|
||||
endlocal
|
29
bin/pqrepair.bat
Normal file
29
bin/pqrepair.bat
Normal file
|
@ -0,0 +1,29 @@
|
|||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
call "%~dp0setup.bat" || exit /b 1
|
||||
if errorlevel 1 (
|
||||
if not defined nopauseonerror (
|
||||
pause
|
||||
)
|
||||
exit /B %ERRORLEVEL%
|
||||
)
|
||||
|
||||
|
||||
set JAVA_OPTS=%LS_JAVA_OPTS%
|
||||
|
||||
for %%i in ("%LS_HOME%\logstash-core\lib\jars\*.jar") do (
|
||||
call :concat "%%i"
|
||||
)
|
||||
|
||||
%JAVA% %JAVA_OPTS% -cp "%CLASSPATH%" org.logstash.ackedqueue.PqRepair %*
|
||||
|
||||
:concat
|
||||
IF not defined CLASSPATH (
|
||||
set CLASSPATH="%~1"
|
||||
) ELSE (
|
||||
set CLASSPATH=%CLASSPATH%;"%~1"
|
||||
)
|
||||
goto :eof
|
||||
|
||||
endlocal
|
Loading…
Add table
Add a link
Reference in a new issue