Telegraf outputs.sql issue - telegraf

"[[outputs.sql]]" I collected it with mysql.
"[[inputs.system]]" I tried it.
Error writing to outputs.sql: execution failed: Error 1054: Unknown column 'uptime' in 'field list'.
There's a log like this.
Except for fielddrop.
How do we solve this?

Related

how to write nginx log to the TDengine?

We want to write nginx logs to the TDengine, we tried nginx -> vector -> kafka -> tdengine without success, we can only do the basic database creation completed, but can not write data to the data table, the prompt is as follows.
[2022-05-28 19:25:09,454] ERROR [nginx-tdengine|task-0] WorkerSinkTask{id=nginx-tdengine-0} RetriableException from SinkTask: (org.apache. kafka.connect.runtime.WorkerSinkTask:600)
RetriableException: java.sql.SQLException: Exception chain:
SQLException: TDengine ERROR (80000221): Invalid JSON format
The TDengine version is 2.4.0.14
We refer to the documentation at https://docs.taosdata.com/third-party/kafka.
I wonder what the problem is and if there is a more reasonable solution?

Kibana is stuck on "Kibana server is not ready yet"

After installing Inhanced-Table plugin, my Kibana is stuck on the following message
"Kibana server is not ready yet"
However after some minutes it completely became out of reach and I am facing with "Unable to connect" error on my browser.
I removed the plugin with the following command, but the error still exists.
./bin/kibana-plugin remove enhanced-table
Would you mind helping me in order to solve this problem. Also Kibana logfile is available via following link.
https://drive.google.com/file/d/1LILdo07Q9r0-VNG7hgkbTOaE2eJzhQPs/view?usp=sharing
Thanks
Best Regards
Looking through the log of your kibana, I've seen:
{ "type":"log",
"#timestamp":"2020-11-11T05:44:01Z",
"tags":["fatal","root"],"pid":2884,
"message":"{ Error: Optimizations failure.\n 9263 modules\n \n
ERROR in ./src/legacy/core_plugins/console/public/np_ready/application/components/editor_example.js\n
Module not found: Error: Can't resolve '../constants/help_example.txt' in 'D:\\Elastic\\Kibana\\kibana-7.6.1\\src\\legacy\\core_plugins\\console\\public\\np_ready\\application\\components'\n\n
So might be Kibana is still looking for the plugin, that's why the error occurred.
You should try stop kibana and start it again.
I installed a new clear kibana and problem fixed

Importing database to 000webhost and receiving the following error: #1064

Error: - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '#', 1) LIMIT 1' at line 2
Thanks in advance.
I had the same problem.When you are importing whole DB then its quite difficult to find the error.
Check Your 'Option' Column. Problem Could Be In Dumping The Data There.
But I solved it in my way, I didn't import whole DB, I uploaded in pieces.Now what you have to do is
-Import Each Column Manually.
-Then Dump It Manually
There You Go.

oracle goldengate works fine, but i keep getting OGG-00945

Looks like goldengate is working fine, but I keep receiving error at target in mgr.prm report file as
WARNING OGG-00945 Startup of GGCMD ^E failed (Parameter file /u01/app/oracle/product/12.1.0.2/ogg/dirprm/^E.prm does not exist for ^E)
I receive this warning every 1hr in MGR.rpt, but my replication is working good.
What can be the issue? Any pointers?
Thanks
harish
You have a incorrect AUTORESTART parameter in mgr.prm. Edit the Manager parameter file and remove any incomplete or unwanted AUTORESTART parameters, like these:
AUTORESTART ^E
AUTORESTART .
AUTORESTART

Can't able to create table using ORE.create

I had executed the R program and when I try to push the result to a table using
ore.create(score, table="xyz")
I'm getting the following error:
Error in .oci.GetQuery(conn, statement, data = data, prefetch = prefetch, :
ORA-12801: error signaled in parallel query server P007, instance XY.ab.dc.cd:abc (2)
ORA-06520: PL/SQL: Error loading external library
ORA-06522: /app/oracle/product/11.2.0/dbhome_1/lib/librqe.so: cannot open shared object file: No such file or directory
ORA-06512: at "RQSYS.RQROWEVALIMPL", line 20
ORA-06512: at "RQSYS.RQROWEVALIMPL", line 16
ORA-06512: at line 4
Please help to solve this issue since I tried to solve this for the past 1 week and I cant able to as I am new to this.
Any help much appreciated
This looks like a problem with your installation of Oracle R package.
The message indicates your are running on 11gR2. ORE requires 11.2.0.3 or higher, or 11.2.0.1 with a specific patch applied. Check this OTN Forum thread for details.
You need an Oracle Support contract to get hold of these patches. If you don't have a contract you will need to migrate to database 12c in order to use R.

Resources