Commit Graph

441 Commits

Author SHA1 Message Date
Jesús Ángel González
ffd9d06bcd Check if indeed the user has no privileges to use a specific pattern 2018-04-26 17:07:22 +02:00
Jesús Ángel González
e614d74965 Check template for wazuh-agent before create monitoring indices 2018-04-26 17:06:41 +02:00
Jesús Ángel González
499893f6d2 Fetch the template by name 2018-04-26 17:06:41 +02:00
Jesús Ángel González
e41553f84c Fix some log messages 2018-04-26 17:06:41 +02:00
Jesús Ángel González
dc9394b245 Added missing this 2018-04-26 09:18:19 +02:00
Jesús Ángel González
ac09f03a93 Replaced needle request to Elastic by callWithInteralUser 2018-04-24 17:21:31 +02:00
Jesús Ángel González
d75f5058ca Fix x-pack bug when there is no security enabled 2018-04-24 11:58:30 +02:00
Jesús Ángel González
fe2fa0be9e Removed deprecated method, also adapted to non-visTimestamp new logic 2018-04-23 13:07:02 +02:00
Jesús Ángel González
26b952c833 Import/Export raw visualizations 2018-04-23 12:31:42 +02:00
Jesús Ángel González
ea870d9089 Optimized createVis and buildVisualizations 2018-04-23 12:31:28 +02:00
Jesús Ángel González
fbd82cf17c Added missing visualizations after copyright branch merging conflicts 2018-04-23 11:18:02 +02:00
Jesús Ángel González
7b76cb7067 Removed unused route 2018-04-23 11:17:07 +02:00
Jesús Ángel González
03747f9bf9 Merge remote-tracking branch 'origin/3.2-add-copyright' into 3.2-raw-vis 2018-04-23 10:53:53 +02:00
Jesús Ángel González
1b694aa122 Merge branch '3.2' into 3.2-raw-vis 2018-04-23 10:23:02 +02:00
Juanjo Jiménez
a9c247347b Added copyright for visualizations folder 2018-04-22 21:15:41 +02:00
Juanjo Jiménez
d3e2c2fc01 Added copyright for server and util folders 2018-04-22 21:10:29 +02:00
Jesús Ángel González
5a1e212ab6 Continue refactore on the whole app 2018-04-22 15:41:10 +02:00
Jesús Ángel González
2f8277b000 Ending migration to import/export paradigm 2018-04-22 11:31:57 +02:00
Jesús Ángel González
c9fdd38baa Migrating to import/export paradigm (in progress 2) 2018-04-21 13:31:47 +02:00
Jesús Ángel González
9bcfd8f445 Migrating to import/export paradigm (in progress) 2018-04-21 12:09:55 +02:00
Jesús Ángel González
9f90aae5ba Fix error handling whenever Wazuh API is unreachable 2018-04-21 11:30:30 +02:00
Jesús Ángel González
cbdcc53bb4 Fix error handling whenever Wazuh API is unreachable 2018-04-20 14:10:46 +02:00
Jesús Ángel González
9b909a2ad2 Fully removed stdout 2018-04-18 18:45:10 +02:00
Jesús Ángel González
1cd9423caa Removed breaking server.log statements 2018-04-18 18:45:10 +02:00
Jesús Ángel González
ce17d2c1c9 Removed breaking server.log statements 2018-04-18 18:09:25 +02:00
Jesús Ángel González
608d98b253 Moving to import/export paradigm 2018-04-18 18:07:44 +02:00
Jesús Ángel González
273e44c137 Removed vis-deletion-cron since it's no longer needed 2018-04-18 17:26:35 +02:00
Jesús Ángel González
8f3b007e80 New way to generate alerts visualizations 2018-04-18 13:38:08 +02:00
Jesús Ángel González
2ed1dcace4 Removed two console.log statements 2018-04-18 13:37:51 +02:00
Jesús Ángel González
3cc877c95d Fix visualizations fields for the agent.name 2018-04-17 15:44:27 +02:00
Jesús Ángel González
cfab7d019d Removed redundant if statement 2018-04-17 13:08:00 +02:00
Jesús Ángel González
65ed3fb562 Adapted create-vis function to fit cluster.name field on Agents Status visualization 2018-04-17 13:08:00 +02:00
Jesús Ángel González
2814daf4cf Fix condition to insert cluster.name on monitoring 2018-04-17 13:08:00 +02:00
Jesús Ángel González
5763e3abab Adding cluster object to documents from monitoring index. closes #375 2018-04-17 13:08:00 +02:00
Jesús Ángel González
89fbdb6163 Added cluster object to monitoring template 2018-04-17 13:08:00 +02:00
Jesús Ángel González
ac0183786d Only log if not empty results 2018-04-16 18:24:37 +02:00
Jesús Ángel González
02fcce3eeb Giving less aggressive message when checking .wazuh-version index 2018-04-16 17:39:43 +02:00
Jesús Ángel González
86287dc8ad Skipping old wazuh-monitoring pattern for refreshing fields and declaring missing id for reach api function 2018-04-16 17:39:43 +02:00
Jesús Ángel González
1ccbd69c41 Implemented auto-refresh fields whenever the selected pattern changes 2018-04-13 18:00:13 +02:00
Jesús Ángel González
d4ba9fb2c2 Respect Kibana custom index from kibana.yml file 2018-04-13 17:26:41 +02:00
Jesús Ángel González
ba621bec3b Removed unused parameter 2018-04-12 16:42:44 +02:00
Jesús Ángel González
eda1ee1a5b Change log level from error to info creating wazuh-monitoring pattern 2018-04-12 16:33:00 +02:00
Jesús Ángel González
8b7efb966b The reachAPI function has been redefined 2018-04-12 16:22:34 +02:00
Jesús Ángel González
9956de43ea Redefined checkKibanaStatus function. Added better internal logs 2018-04-12 15:50:04 +02:00
Jesús Ángel González
4d883e6903 Better cron task, redefined 2018-04-12 15:49:29 +02:00
Jesús Ángel González
db8a2436c1 Fix typo 2018-04-12 11:17:04 +02:00
Jesús Ángel González
7417cfdde8 Fix monitoring error message 2018-04-11 16:41:14 +02:00
Jesús Ángel González
1661ba6b8c Fix cron frequency 2018-04-11 15:55:09 +02:00
Jesús Ángel González
4581664ee1 Added new bool parameter and new Elastic query to deletion method 2018-04-11 15:51:33 +02:00
Jesús Ángel González
0bd8699dab New cron job to delete any visualization which was not removed properly 2018-04-11 15:51:12 +02:00