Fluentd - Server name not found in configuration files - TinyIds

Open
#108 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
ruby
Domain
databases

Research direction

Start with the fluent-plugin-sql configuration shown in the issue and reproduce the failure using HOSTNAME/SQLSERVERINSTANCE with the sqlserver adapter. Trace how the host is passed through activerecord-sqlserver-adapter to TinyTDS, then verify that the configuration works without the slash and with the reported dataserver workaround if applicable.

Written by the indexing model from the issue text.

Description

enhancement

I'm using fluentd and the plugin that I'm using is fluent-plugin-sql & activerecord-sqlserver-adapter when I have the host as "HOSTNAME/SQLSERVERINSTANCE" it gives an error "TinyTDS: Server name not found in configuration files", however when I just keep the HOSTNAME without "/" it works, this actually an issue in ruby on rails, there is the workaround I have seen like to use dataserver instead of the host but it is not working in fluentd using the plugin fluent-plugin-sql

<source>
  @type sql
  host HOSTNAME/SQLSERVERINSTANCE
  database db_name
  adapter sqlserver
  username user
  password pwd
  <table>
    table tbl_name
    update_column insert_timestamp
  </table>
</source>

<match **>
  @type stdout
</match>

@repeatedly @kenhys @frsyuki @cosmo0920 @ashie @ganmacs

Dominant language
Ruby
Stars
112
Forks
58
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fluent/fluent-plugin-sql

All issues in fluent/fluent-plugin-sql

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.