@RestController @RequestMapping(value="/v1/puncher") @ConditionalOnBean(value=PuncherService.class) public class PuncherRoute extends Object
Constructor and Description |
---|
PuncherRoute(EnvironmentConfiguration environmentConfiguration) |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<String> |
executeDissect(javax.servlet.http.HttpServletRequest req,
org.springframework.web.multipart.MultipartFile input,
org.springframework.web.multipart.MultipartFile pattern)
Execute Dissect parser
|
org.springframework.http.ResponseEntity<String> |
executeGrok(javax.servlet.http.HttpServletRequest req,
org.springframework.web.multipart.MultipartFile input,
org.springframework.web.multipart.MultipartFile pattern)
Execute Grok parser
|
org.springframework.http.ResponseEntity<String> |
executePunchlet(javax.servlet.http.HttpServletRequest req,
org.springframework.web.multipart.MultipartFile input,
org.springframework.web.multipart.MultipartFile logFile)
Execute Punchlet parser
|
public PuncherRoute(EnvironmentConfiguration environmentConfiguration)
@PostMapping(value="/grok", consumes={"multipart/mixed","multipart/form-data"}, produces="application/json") public org.springframework.http.ResponseEntity<String> executeGrok(javax.servlet.http.HttpServletRequest req, @RequestPart org.springframework.web.multipart.MultipartFile input, @RequestPart org.springframework.web.multipart.MultipartFile pattern) throws IOException
input
- inputpattern
- grok patternIOException
- IO Exception when executing puncher@PostMapping(value="/dissect", consumes={"multipart/mixed","multipart/form-data"}, produces="application/json") public org.springframework.http.ResponseEntity<String> executeDissect(javax.servlet.http.HttpServletRequest req, @RequestPart org.springframework.web.multipart.MultipartFile input, @RequestPart org.springframework.web.multipart.MultipartFile pattern) throws IOException
input
- inputpattern
- dissect patternIOException
- IO Error when executing puncher@PostMapping(value="/punchlet", consumes="multipart/*", produces="application/json") public org.springframework.http.ResponseEntity<String> executePunchlet(javax.servlet.http.HttpServletRequest req, @RequestPart org.springframework.web.multipart.MultipartFile input, @RequestPart org.springframework.web.multipart.MultipartFile logFile) throws IOException
input
- punchletlogFile
- logs fileIOException
- IO Error when executing puncherCopyright © 2023. All rights reserved.