You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sequel is trying to provide an appropriate datatype for the substitution because it expects that substitutions are done in WHERE clauses, i.e. dynamic values.
A solution for your dynamic needs might be to use ENV variables in the statement_filepath => "/etc/logstash/conf.d/query.sql" setting.
statement_filepath => "/etc/logstash/conf.d/$DB-query.sql" and $DB -> "ABC"
Hello,
Here's my logstash config file:
The query looks like this:
select * from :database.dbo.table
Logstash is unable to retrieve any result, due to an error with the query. In the log i can see that's it's trying to execute the following:
select * from N'ABC'.dbo.table
Is there a way to get rid of N'' when parameter is used for database name?
The text was updated successfully, but these errors were encountered: