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

More details in clickhouse output plugin #150

Closed
sliontc opened this issue Dec 16, 2018 · 2 comments
Closed

More details in clickhouse output plugin #150

sliontc opened this issue Dec 16, 2018 · 2 comments

Comments

@sliontc
Copy link

sliontc commented Dec 16, 2018

Could you provide more details in clickhouse output plugin? i.e, the authentiation config.

@megastef
Copy link
Contributor

@sliontc Thank you for reporting.

We added the options to https://sematext.com/docs/logagent/output-plugin-clickhouse/

output:  
  clickhouse: 
    module: output-clickhouse
    url: http://127.0.0.1 
    port: 8123
    # Authentication Options
    user: "default"
    password: ""
    useGzip: true
    # Set Database Name
    # database: default
    debug: true
    table: default.logs
    # Fields must be in the same order as specified in CREATE TABLE
    fields: 
      - 'severity'
      - 'message'
      - '@timestamp'

Please make sure that you update Logagent, we just released a new version with the connection options above.
sudo npm i -g @sematext/logagent@latest.

@otisg
Copy link
Member

otisg commented Dec 17, 2018

Out of curiosity, @sliontc are you shipping logs to ClickHouse? Or metrics? Or something else?

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