hinni / seq-input-mssql Goto Github PK
View Code? Open in Web Editor NEWImport data from MSSQL database to Seq. For example for error logs stored in tables.
License: Other
Import data from MSSQL database to Seq. For example for error logs stored in tables.
License: Other
Currently all entries get e fixed level in Seq. This level gets set during configuration.
It would be nice if there was an extra option to obtain the level from the database, so that the original level gets used rather that the one configured during setup.
Add a possiblity to differentiate between several log levels. Currently all log entries are sent to seq as error.
I am not sure if this is a bug but I am experimenting with this addon and I do not want these types of logs rows to get written to SEQ:
"Query new table rows from 2024-02-12T11:09:06.7894255+01:00 to 2024-02-12T11:09:11.7915443+01:00"
I looked over the code and cannot find a way to disable this.
What can be done, maybe I am not getting something?
Looks like there is a bug where the checkpoint file created but no date being inserted if the first call to the sql server fails
It would make sense to do everything in GitHub with Actions. I already removed all Azure DevOps dependencies.
Since the execution log originates from a 3rd party application it would be nice to show that application name in seq.
Hello.
I think I have correctly configured the application but I get the following error:
I would appreciate if you could give me an idea to solve it.
Thanks.
This is my json config:
{
"Debug": "False",
"QueryEverySeconds": 15,
"ServerInstance": "localhost\SQLEXPRESS",
"ConnectTimeout": null,
"CommandTimeout": null,
"Encrypt": "False",
"TrustCertificate": "False",
"InitialCatalog": "AppGest",
"IntegratedSecurity": "False",
"DatabaseUsername": "UsrAppGest",
"DatabasePassword": "[seq-preserve]",
"TableOrViewName": "LogEvents",
"AdditionalFilterClause": "",
"ColumnNameTimeStamp": "TimeStamp",
"SecondsDelay": null,
"ColumnNameMessage": "Message",
"ColumnNamesInclude": "Properties",
"ApplicationName": "",
"ApplicationPropertyName": "",
"ColumnNameEventLevel": "Level",
"EventLevelMapping": "",
"LogEventLevel": 2,
"TimePeriod": "",
"Tags": "",
"ColumnNameTags": "",
"ColumnNamePriority": "",
"PriorityMapping": "",
"ColumnNameResponder": "",
"ResponderMapping": "",
"ColumnNameProjectKey": "",
"ProjectKeyMapping": "",
"ColumnNameInitialEstimate": "",
"InitialEstimateMapping": "",
"ColumnNameRemainingEstimate": "",
"RemainingEstimateMapping": "",
"ColumnNameDueDate": "",
"DueDateMapping": ""
}
And this is table LogEvents config:
Hi @Hinni,
When DST ends, the same hour occurs twice (eg. 2am - 3am, and then at 3am, the clock changes back to 2am).
At that point, the SQL input will not log any events for an hour, until the clock gets back to 3am.
I'm putting a pull request in that I believe will fix this.
Cheers,
Matt
It would be convenient if the service could be configured to run only for a defined period of time. This is useful for test systems that are shut down at night.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.