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

src_url for Kibana #76

Open
kbiedermann opened this issue Oct 28, 2016 · 2 comments
Open

src_url for Kibana #76

kbiedermann opened this issue Oct 28, 2016 · 2 comments
Assignees

Comments

@kbiedermann
Copy link

I'm confused by the src_url format and am looking for examples for kibana.

From the docs:
src_url requires the following format specifiers: 's', 'd', 'd'.
Ex: 'https://localhost/?query=%s&from=%d&to=%d'

@kiwiz kiwiz self-assigned this Nov 3, 2016
@ekoyle
Copy link
Contributor

ekoyle commented Feb 13, 2017

Those are printf-style format specifiers. The %s is for a string, %d is for an integer.

Whatever string you give it will have the three items substituted, and will need to have all three in the same order. I'm assuming from the example that the first argument is a string containing the query, the second argument is an integer indicating the starting time, and the third argument is an integer indicating the ending time.

Generally, when using an integer to indicate a time, they use Epoch Time (ie. seconds since 00:00:00 UTC on Jan 1 1970).

@kiwiz
Copy link
Contributor

kiwiz commented Apr 27, 2017

WIP. Alerts in 411 should contain the source _id field whenever possible. This makes it easy to find alerts derived from an individual document.

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

No branches or pull requests

3 participants