Originally posted by: c01362
Hello again AyappanP.
Thanks for clarifying.
The "go build..." command was successful and the perfstatbeat binary now exists.
We installed all the perfbeatstat files in a folder with enough space on our AIX 7.1 test server as shown below.
Folder name is /opt/Tanium/TomWolf2/perfstatbeat.
As shown below, we executed the perfstatbeat binary but it generated errors indicating no outputs were defined.
The perfstatbeat ReadMe doesn't have any details about where to configure these outputs.
Do you have any suggestions about this?
Thanks again for your help so far.
root (aixtrn10) [ /opt/Tanium/TomWolf2/perfstatbeat/dist ]
# ./perfstatbeat -e -d "*"
2019-04-10T09:15:49.837-0500 INFO instance/beat.go:468 Home path: [/opt/Tanium/TomWolf2/perfstatbeat/dist] Config path: [/opt/Tanium/TomWolf2/perfstatbeat/dist] Data path: [/opt/Tanium/TomWolf2/perfstatbeat/dist/data] Logs path: [/opt/Tanium/TomWolf2/perfstatbeat/dist/logs]
2019-04-10T09:15:49.838-0500 DEBUG [beat] instance/beat.go:495 Beat metadata path: /opt/Tanium/TomWolf2/perfstatbeat/dist/data/meta.json
2019-04-10T09:15:49.838-0500 INFO instance/beat.go:475 Beat UUID: e041363a-717f-4bd1-b046-7be3ec876006
2019-04-10T09:15:49.838-0500 INFO instance/beat.go:213 Setup Beat: perfstatbeat; Version: 6.2.4
2019-04-10T09:15:49.839-0500 WARN instance/metrics_other.go:12 Metrics not implemented for this OS.
2019-04-10T09:15:49.839-0500 DEBUG [beat] instance/beat.go:230 Initializing output plugins
2019-04-10T09:15:49.839-0500 DEBUG [processors] processors/processor.go:49 Processors:
2019-04-10T09:15:49.839-0500 INFO pipeline/module.go:91 No outputs are defined. Please define one under the output section.
2019-04-10T09:15:49.839-0500 ERROR instance/beat.go:667 Exiting: error initializing publisher: No outputs are defined. Please define one under the output section.
Exiting: error initializing publisher: No outputs are defined. Please define one under the output section.
root (aixtrn10) [ /opt/Tanium/TomWolf2/perfstatbeat/dist ]
# ls -alt
total 164856
drwxr-x--- 2 root system 256 Apr 10 09:10 data/
drwxr-xr-x 3 root system 256 Apr 10 09:10 ./
-rwxr-xr-x 1 root system 84395640 Apr 09 13:33 perfstatbeat*
drwxr-xr-x 11 root system 4096 Apr 09 12:55 ../
-rw-r--r-- 1 root system 1231 Apr 09 09:13 beat.yml
root (aixtrn10) [ /opt/Tanium/TomWolf2/perfstatbeat/dist ]
# cat ./beat.yml
###################### Winlogbeat Configuration Example ##########################
# This file is an example configuration file highlighting only the most common
# options. The winlogbeat.reference.yml file from the same directory contains all the
# supported options with more comments. You can use it as a reference.
#
# You can find the full configuration reference here:
# https://www.elastic.co/guide/en/beats/winlogbeat/index.html
#======================= Winlogbeat specific options ==========================
# event_logs specifies a list of event logs to monitor as well as any
# accompanying options. The YAML data type of event_logs is a list of
# dictionaries.
#
# The supported keys are name (required), tags, fields, fields_under_root,
# forwarded, ignore_older, level, event_id, provider, and include_xml. Please
# visit the documentation for the complete details of each option.
# https://go.es.io/WinlogbeatConfig
winlogbeat.event_logs:
- name: Application
ignore_older: 72h
- name: Security
- name: System
#==================== Elasticsearch template setting ==========================
setup.template.settings:
index.number_of_shards: 3
#index.codec: best_compression
#_source.enabled: false
root (aixtrn10) [ /opt/Tanium/TomWolf2/perfstatbeat/dist ]
# ls -alt ./data
total 8
drwxr-x--- 2 root system 256 Apr 10 09:10 ./
-rw------- 1 root system 48 Apr 10 09:10 meta.json
drwxr-xr-x 3 root system 256 Apr 10 09:10 ../
root (aixtrn10) [ /opt/Tanium/TomWolf2/perfstatbeat/dist ]
# cat ./data/meta.json
{"uuid":"e041363a-717f-4bd1-b046-7be3ec876006"}
#AIXOpenSource#AIX-Open-Source-Software