Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
FMS_Project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bashar.hussein
FMS_Project
Commits
03ea8ffa
Commit
03ea8ffa
authored
Jul 07, 2023
by
Bashar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configured Rethink
parent
de734443
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
29 additions
and
4 deletions
+29
-4
application.properties
...figs/elasticJavaApi/target/classes/application.properties
+8
-1
ElasticJavaApiApplication.class
...om/example/elasticJavaApi/ElasticJavaApiApplication.class
+0
-0
elasticConfig.class
.../example/elasticJavaApi/configuration/elasticConfig.class
+0
-0
EnrichedTrap.class
...es/com/example/elasticJavaApi/entities/EnrichedTrap.class
+0
-0
ProcessedTrap.class
...s/com/example/elasticJavaApi/entities/ProcessedTrap.class
+0
-0
SeverityLevel.class
...s/com/example/elasticJavaApi/entities/SeverityLevel.class
+0
-0
TrapData.class
...lasses/com/example/elasticJavaApi/entities/TrapData.class
+0
-0
VarBind.class
...classes/com/example/elasticJavaApi/entities/VarBind.class
+0
-0
index_template.json
...s/elasticJavaApi/target/classes/utils/index_template.json
+2
-2
mappings.json
...Configs/elasticJavaApi/target/classes/utils/mappings.json
+19
-1
No files found.
Elastic_Configs/elasticJavaApi/target/classes/application.properties
View file @
03ea8ffa
lifeCyclePolicy.name
=
Bashar
settingComponent.name
=
bashar_setting
mappingComponent.name
=
bashar_mapping
indexTemplate.name
=
bashar_template
dataStream.name
=
bashar-data-stream-1
elasticHost.ip
=
192.168.25.254
elasticHost.port
=
9200
workingPath
=
./elasticJavaApi/src/main/resources/utils
\ No newline at end of file
Elastic_Configs/elasticJavaApi/target/classes/com/example/elasticJavaApi/ElasticJavaApiApplication.class
View file @
03ea8ffa
No preview for this file type
Elastic_Configs/elasticJavaApi/target/classes/com/example/elasticJavaApi/configuration/elasticConfig.class
View file @
03ea8ffa
No preview for this file type
Elastic_Configs/elasticJavaApi/target/classes/com/example/elasticJavaApi/entities/EnrichedTrap.class
0 → 100644
View file @
03ea8ffa
File added
Elastic_Configs/elasticJavaApi/target/classes/com/example/elasticJavaApi/entities/ProcessedTrap.class
0 → 100644
View file @
03ea8ffa
File added
Elastic_Configs/elasticJavaApi/target/classes/com/example/elasticJavaApi/entities/SeverityLevel.class
0 → 100644
View file @
03ea8ffa
File added
Elastic_Configs/elasticJavaApi/target/classes/com/example/elasticJavaApi/entities/TrapData.class
0 → 100644
View file @
03ea8ffa
File added
Elastic_Configs/elasticJavaApi/target/classes/com/example/elasticJavaApi/entities/VarBind.class
0 → 100644
View file @
03ea8ffa
File added
Elastic_Configs/elasticJavaApi/target/classes/utils/index_template.json
View file @
03ea8ffa
{
"index_patterns"
:
[
"bashar-data-stream*"
],
"index_patterns"
:
[
"bashar-data-stream
-2
*"
],
"data_stream"
:
{
},
"composed_of"
:
[
"bashar_setting"
,
"bashar_mapping"
],
"composed_of"
:
[
"bashar_setting"
,
"bashar_mapping"
],
"priority"
:
670
,
"_meta"
:
{
"description"
:
"Template for my time series data"
,
...
...
Elastic_Configs/elasticJavaApi/target/classes/utils/mappings.json
View file @
03ea8ffa
...
...
@@ -5,8 +5,26 @@
"type"
:
"date"
,
"format"
:
"date_optional_time||epoch_millis"
},
"message"
:
{
"enterprise"
:
{
"type"
:
"text"
},
"agentAddress"
:
{
"type"
:
"text"
},
"genericTrap"
:
{
"type"
:
"long"
},
"specificTrap"
:
{
"type"
:
"long"
},
"severity"
:
{
"type"
:
"text"
},
"variableBindings"
:
{
"type"
:
"wildcard"
},
"location"
:
{
"type"
:
"geo_point"
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment