Skip to content
This repository was archived by the owner on Nov 24, 2020. It is now read-only.
This repository was archived by the owner on Nov 24, 2020. It is now read-only.

Add TermsHistogram to Relative search #13

@scadox

Description

@scadox

Hi, i like your SDK php for use API Graylog, i use everyDay Great Job.

If possible on Relative.php add new function termsHistogram() with path '/terms-histogram' ?

Method : GET
Full path : /search/universal/relative/terms-histogram

I have copy properties from doc :

Property required Description method type
field x Message field of to return terms of query String
query x Query (Lucene syntax) query String
stacked_fields Fields to stack query String
size x Maximum number of terms to return query Integer
range x Relative timeframe to search in. See search method description. query Integer
interval   Histogram interval / bucket size. (year, quarter, month, week, day, hour or minute) query String
filter   Filter query String
order   Sorting (field:asc / field:desc) query String

Cordialement,
Matthew Lafrance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions