@Component @UserDocumentation(title="Access to Log Resouces", description="This section provides commands for fetching logs under LENS_LOG_DIR.") public class LensLogResourceCommands extends BaseLensCommand
DATE_FMT, DATE_PARSER| Constructor and Description |
|---|
LensLogResourceCommands() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLogs(String logFile,
String location) |
afterReturningInvocation, afterThrowingInvocation, beforeInvocation, formatDate, formatJson, getClient, getClientWrapper, getValidPath, removePrefixBeforeURI, setClient@CliCommand(value="show logs",
help="show logs for a given query handle or log file")
public String getLogs(@CliOption(key={"","log_handle"},mandatory=true,help="log handle can be be query_handle for queries")
String logFile,
@CliOption(key="save_location",mandatory=false,help="")
String location)
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.