Comments (4)
you are getting an array of values for timezone. Just comment out the whole "day of week, hour of day" section on syslog-fortinet-common_ecs-output.conf and check what value are you are getting for timezone. Let's troubleshoot from there
from fortinet-2-elasticsearch.
Can you see this log, i see this log not success sent log to ES, can you give advice?
[2023-10-19T15:01:59,508][INFO ][logstash.filters.geoip ][syslog-fortinet-common_ecs-output] Using geoip database {:path=>"/var/lib/logstash/plugins/filters/geoip/1697699465/GeoLite2-City.mmdb"}
[2023-10-19T15:01:59,537][INFO ][logstash.filters.geoip.databasemanager][syslog-fortinet-common_ecs-output] By not manually configuring a database path with `database =>`, you accepted and agreed MaxMind EULA. For more details please visit https://www.maxmind.com/en/geolite2/eula
[2023-10-19T15:01:59,538][INFO ][logstash.filters.geoip ][syslog-fortinet-common_ecs-output] Using geoip database {:path=>"/var/lib/logstash/plugins/filters/geoip/1697699465/GeoLite2-City.mmdb"}
[2023-10-19T15:01:59,663][INFO ][logstash.javapipeline ][syslog-fortinet-common_ecs-output] Starting pipeline {:pipeline_id=>"syslog-fortinet-common_ecs-output", "pipeline.workers"=>2, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>50, "pipeline.max_inflight"=>250, "pipeline.sources"=>["/etc/logstash/conf.d/syslog-fortinet-common_ecs-output.conf"], :thread=>"#<Thread:0x72340c64@/usr/share/logstash/logstash-core/lib/logstash/pipeline_action/create.rb:53 run>"}
[2023-10-19T15:01:59,885][WARN ][org.logstash.plugins.pipeline.PipelineBus][syslog-fortinet-fortigate_2_ecsv2][29a6aa27ca7002ac905931a3f66296c9a559f80ec562f0a6bc6cce6e7d356a3a] Attempted to send event to 'syslog-fortinet-common_ecs-output' but that address was unavailable. Maybe the destination pipeline is down or stopping? Will Retry.
[2023-10-19T15:02:00,530][INFO ][logstash.javapipeline ][syslog-fortinet-common_ecs-output] Pipeline Java execution initialization time {"seconds"=>0.86}
[2023-10-19T15:02:00,546][INFO ][logstash.javapipeline ][syslog-fortinet-common_ecs-output] Pipeline started {"pipeline.id"=>"syslog-fortinet-common_ecs-output"}
[2023-10-19T15:02:00,612][INFO ][logstash.agent ] Pipelines running {:count=>3, :running_pipelines=>[:"syslog-fortinet-fortigate-input5424-kv", :"syslog-fortinet-fortigate_2_ecsv2", :"syslog-fortinet-common_ecs-output"], :non_running_pipelines=>[]}
[2023-10-19T15:02:00,885][WARN ][org.logstash.plugins.pipeline.PipelineBus][syslog-fortinet-fortigate_2_ecsv2][29a6aa27ca7002ac905931a3f66296c9a559f80ec562f0a6bc6cce6e7d356a3a] Attempted to send event to 'syslog-fortinet-common_ecs-output' but that address was unavailable. Maybe the destination pipeline is down or stopping? Will Retry.
i'm already makesure pipiline.yml and config file same like in you github.
in output file only change Elasticsearch endpoint and user pass.
When i try running
/usr/share/logstash/bin/logstash -f /etc/logstash/conf.d/syslog-fortinet-common_ecs-output.conf -r
and change input config for make sure config normal
input {
udp {
port => 5141
buffer_size => 131072
#
add_field => {"[data_stream][type]" => "logs"}
add_field => {"[data_stream][dataset]" => "fortinet.fortigate"}
add_field => {"[data_stream][namespace]" => "default"}
#
source_ip_fieldname => "[observer][ip]"
add_field => { "[logstash][hostname]" => "${HOSTNAME:no_logstash_hostname}" }
#tags => [ "fortianalyzer" ]
}
}
It's running normal
from fortinet-2-elasticsearch.
i try combine all conf from input (syslog-fortinet-fortigate-input5424-kv.conf), (syslog-fortinet-fortigate_2_ecsv2.conf) until Output (syslog-fortinet-fortigate_2_ecsv2.conf)
and comment "day of week, hour of day"
Logstash running and give this log
This is correct?
from fortinet-2-elasticsearch.
you are not generating event.original. that is very weird.
Try changing event.original for message to see if we can make it pass the first grok at least
from fortinet-2-elasticsearch.
Related Issues (20)
- Can't import dashboards HOT 7
- Integración HOT 1
- Any plans to add a Docker composer file? HOT 8
- checking installation HOT 8
- documentation HOT 2
- deployment to my ELK stack HOT 3
- Rsyslog Support HOT 13
- Getting Fortidragon to fly with rsyslog HOT 12
- Pipeline from is down HOT 3
- [feature request] - add dashboards for OpenSearch HOT 2
- Help with Issues HOT 1
- Logstash Shard error HOT 8
- I can't discover Fortigate log HOT 1
- Installation problem: Getting "illegal_argument_exception" error in logstash HOT 1
- Missing config file HOT 1
- invalid composite mappings for [logs-fortinet.fortigate.event] HOT 6
- Issue with Creating Transforms HOT 4
- Attempted to send event to 'syslog-fortinet-common_ecs-output' but that address was unavailable HOT 6
- Field and Document level security Integration HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fortinet-2-elasticsearch.