Index not created


(Sumit Gupta) #1

Hi,

My Config file is following:

input {
jdbc {
jdbc_driver_library => "/app/sqljdbc4-2.0.jar"
jdbc_driver_class => "com.microsoft.sqlserver.jdbc.SQLServerDriver"
jdbc_connection_string => "jdbc:sqlserver://10.124.21.132:1433;databaseName=servicedesk_rovtest"
jdbc_user => "**"
jdbc_password => "****"
statement => "SELECT * from dbo.Datacenter"
}
}
output {
stdout { codec => rubydebug }
elasticsearch {
hosts => ["localhost:9200"]
index => "database-record"
document_type => "sqlServerData"
}
}

This config file has been run successfully.

My issue is that when i checked index, No index create.

Can you please help me over this?


(David Pilato) #2

Please format your code using </> icon as explained in this guide. It will make your post more readable.

Or use markdown style like:

```
CODE
```

I moved your question to #logstash


(system) closed #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.