Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added a search command #17

Merged
merged 1 commit into from
Mar 16, 2020
Merged

added a search command #17

merged 1 commit into from
Mar 16, 2020

Conversation

danielamkaer
Copy link
Collaborator

Created a search command that can run a query job on humio.

Search

Usage:
  humioctl search <repo> <query> [flags]

Flags:
      --complete       Wait for query to complete before printing result. Mostly useful for aggregates.
      --end string     Query end time
  -f, --fmt string     Format string if the result is an event list
                       Insert fields by wrapping field names in brackets, e.g. {@timestamp}']
                       Limited format modifiers are supported such as {@timestamp:40} which will right align and left pad @timestamp to 40 characters.
                       {@timestamp:-40} left aligns and right pads to 40 characters. (default "{@timestamp} {@rawstring}")
  -h, --help           help for search
      --live           Run a live search and keep outputting until interrupted.
      --start string   Query start time (default "10m")

@danielamkaer danielamkaer requested a review from anagrius March 12, 2020 13:48
@anagrius anagrius merged commit 45e686e into master Mar 16, 2020
@danielamkaer danielamkaer deleted the danielamkaer/search-command branch March 18, 2020 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants