Comments (2)
If you mean this port value (from the README), "port" => 43920,
{
"ansible_type" => "start",
"level" => "INFO",
"session" => "111f73e0-eb57-11e6-bc8d-e4115b24f077",
"message" => "START playbooks/deploy-aws-bastion.yml",
"type" => "ansible",
"ansible_playbook" => "playbooks/deploy-aws-bastion.yml",
"tags" => [],
"path" => "/opt/work/ansible-playbook-bastion/ansible/plugins/callbacks/logstash-latest.py",
"@timestamp" => 2017-02-05T03:56:26.335Z,
"port" => 43920,
"@version" => "1",
"host" => "laptappy",
"logger_name" => "python-logstash-logger",
"ansible_pre_command_output" => "ansible 2.2.1.0",
That's just an ephemeral port and is being shown because this is verbose output. The input default TCP/5000 port is the important thing to worry about during configuration.
from ansible-logstash-callback.
Hello,
I don't have issue with the configuration. It's just that the port value change for the same task as you can see on my logstash output. I don't know if this value is generated by ansible or python-logstash.
{
"ansible_tags" => [
[0] "hdfs-clean"
],
"ansible_type" => "task",
"level" => "INFO",
"ansible_result" => "{\"changed\": false, \"skip_reason\": \"Conditional result was False\"}",
"session" => "ea0bf812-3193-11e8-9ea6-0019d2e0d6d4",
"ansible_play_id" => "0019d2e0-d6d4-2d01-f387-000000000022",
"message" => "Same message",
"inventory" => [
[0] "inventory"
],
"type" => "ansible",
"ansible_task" => "UT-00-HDFS-01 : Unit Test - HDFS - NNBench Read.",
"tags" => [],
"ansible_skip_tags" => [],
"path" => "callback_plugins/logstash.py",
"ansible_task_id" => "0019d2e0-d6d4-2d01-f387-000000000037",
"ansible_checkmode" => false,
"ansible_host" => "ansible_host",
"ansible_play_name" => "hdfs",
"@timestamp" => 2018-03-27T07:53:33.319Z,
"ansible_pre_command_output" => "ansible 2.4.2.0\n",
"port" => 59026,
"host" => "host",
"@version" => "1",
"logger_name" => "python-logstash-logger",
"status" => "SKIPPED"
}
{
"ansible_tags" => [
[0] "hdfs-clean"
],
"ansible_type" => "task",
"level" => "INFO",
"ansible_result" => "{\"changed\": false, \"skip_reason\": \"Conditional result was False\"}",
"session" => "ea0bf812-3193-11e8-9ea6-0019d2e0d6d4",
"ansible_play_id" => "0019d2e0-d6d4-2d01-f387-000000000022",
"message" => "Same message",
"inventory" => [
[0] "inventory"
],
"type" => "ansible",
"ansible_task" => "UT-00-HDFS-01 : Unit Test - HDFS - NNBench Read.",
"tags" => [],
"ansible_skip_tags" => [],
"path" => "callback_plugins/logstash.py",
"ansible_task_id" => "0019d2e0-d6d4-2d01-f387-000000000037",
"ansible_checkmode" => false,
"ansible_host" => "ansible_host",
"ansible_play_name" => "hdfs",
"@timestamp" => 2018-03-27T07:53:33.319Z,
"ansible_pre_command_output" => "ansible 2.4.2.0\n",
"port" => 59030,
"host" => "host",
"@version" => "1",
"logger_name" => "python-logstash-logger",
"status" => "SKIPPED"
}
from ansible-logstash-callback.
Related Issues (13)
- ansible_result as sting HOT 5
- Not picking up ansible.cfg settings HOT 1
- help adding another field
- logstash callback, does not support setting 'options' HOT 2
- cannot import ansible.template in elasticseach 7.4.1 HOT 1
- disable facts lines
- Does not work with ansible 2.9.2 HOT 1
- Only send facts of one host in a play HOT 1
- Name of play and play ID are not logged HOT 3
- Ansible version that runs the playbook is not logged HOT 2
- Task IDs should be logged HOT 5
- Update your README for ElasticSearch 6.x
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 ansible-logstash-callback.