Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated fields #321

Open
wants to merge 48 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
4e85b66
Renamed record to body and labels to attributes
jmwilliams89 Sep 9, 2021
7a2b704
Switched severities to match otel
jmwilliams89 Sep 10, 2021
d2d4157
Updated plugin versions
jmwilliams89 Sep 10, 2021
6a35ac8
Merge branch 'master' into updated-fields
jmwilliams89 Sep 10, 2021
9e352fa
rebase
Sep 10, 2021
cf43a97
add fatal as a valid severity
Sep 10, 2021
fc787d7
Merge branch 'master' into updated-fields
jmwilliams89 Sep 13, 2021
8b61941
Updated severity mappings to catch implicit cases
jmwilliams89 Sep 13, 2021
3a05e1b
Implemented PR feedback
jmwilliams89 Sep 13, 2021
500a296
rebase
Sep 13, 2021
1b8a9e9
change usages of attributes.file_name to attributes.file.name
schmikei Sep 16, 2021
c577f3e
port over aws_cloudwatch log group names changes
schmikei Sep 16, 2021
3e046ca
Merge branch 'master' of github.com:observIQ/stanza-plugins into upda…
schmikei Sep 16, 2021
ca7e82a
fix plugins to use $attributes["file.name"
schmikei Sep 16, 2021
7c1a014
Updated fields rebase (#339)
schmikei Sep 24, 2021
cdb9666
Updated fields rebase 2 (#344)
schmikei Sep 28, 2021
3366387
Rebase (#348)
Oct 1, 2021
c8df84e
Updated fields rebase (#353)
Oct 5, 2021
e7f306c
port release 0.0.86 (#356)
Oct 5, 2021
e80a665
Fixed body and attributes for recent changes
jmwilliams89 Oct 6, 2021
59d87f7
Fixed a parsing bug with haproxy
jmwilliams89 Oct 6, 2021
ed1d43e
rebase (#359)
Oct 8, 2021
9f7a1d6
Update tcp_input plugins to use otel tls config
BinaryFissionGames Oct 8, 2021
f8ca815
Also fix TLS settings for tcp plugin
BinaryFissionGames Oct 8, 2021
e7c3a38
tls should be disabled by default
Oct 8, 2021
9588689
Merge pull request #360 from observIQ/update-tls-settings
BinaryFissionGames Oct 8, 2021
5375a59
otel ci WIP (#361)
Oct 11, 2021
33a51ae
use utf-8 encoding for default (#363)
Oct 11, 2021
a97ab65
query_parameter typo (#368)
Oct 11, 2021
be23c33
0.0.88 changelog
jsirianni Oct 12, 2021
d61dbb6
Merge branch 'updated-fields' of github.com:observIQ/stanza-plugins i…
jsirianni Oct 12, 2021
48d122b
fix cisco meraki circular dependency (#369)
Oct 14, 2021
8681865
Removed unnecessary fallback operator from vmware vsphere
jmwilliams89 Oct 14, 2021
8a4efc8
Merge pull request #370 from observIQ/vmware-fix
jmwilliams89 Oct 14, 2021
574914f
use enum for tls min version. fix friendly name (#372)
Oct 15, 2021
ed83804
set cef log_type to cef (#371)
Oct 15, 2021
1cb435a
Implemented fixes for cisco catalyst and meraki
jmwilliams89 Oct 20, 2021
4c83caf
Merge pull request #377 from observIQ/cisco-fixes
jmwilliams89 Oct 20, 2021
f39b5a9
Filter out agent container logs in k8s
BinaryFissionGames Oct 22, 2021
85015aa
Merge pull request #378 from observIQ/filter-oiq-container-logs
BinaryFissionGames Oct 22, 2021
ad92695
Add missing enable and min version to TLS support on the TCP plugin
Jan 20, 2022
8ef433b
Add TLS capability for rsyslog, syslogng, and syslog plugins
Jan 20, 2022
0ce2105
Forgot to bump versions, so this is to remedy that
Jan 21, 2022
75728f8
Merge pull request #390 from observIQ/uf-tls
Dylan-M Jan 21, 2022
220ef19
Corrections due to issues found in field that were missed in testing …
Dylan-M Feb 3, 2022
2e69402
remove quotes to fix tls min version conversion from string to float
Feb 8, 2022
ec2e32f
test k8s 1.23 (#387)
Feb 10, 2022
5e885ea
Update README.md
Feb 10, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 16 additions & 0 deletions .github/scripts/k8s_wait_for_node.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash

set -eE

node="$1"

fail () {
kubectl describe nodes
kubectl get node "${node}"
exit 1
}
trap fail ERR

echo "waiting for node: ${node}"
kubectl get node "${node}"
kubectl wait --for=condition=Ready --timeout=60s "node/${node}"
70 changes: 70 additions & 0 deletions .github/workflows/plugin_aerospike.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: aerospike
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
format:
- "default"
steps:
- name: Clone stanza-plugins
uses: actions/checkout@v2

- name: Clone Log Library
uses: actions/checkout@v2
with:
repository: 'observIQ/log-library'
path: log-library
token: ${{ secrets.LOG_LIBRARY_ACCESS_TOKEN }}
ref: otel

- name: Create Output Directory
run: mkdir output

- name: Create Offset Database Directory
run: mkdir -p storage

- name: Install Collector
run: |
mkdir -p collector
curl -s -o collector/collector https://storage.googleapis.com/observiq-cloud/observiq-collector/0.0.10/collector_linux_amd64
chmod +x collector/collector

- name: Run Agent
run: |
docker run -d \
--name agent \
-v $(pwd)/collector:/collector \
-v $(pwd)/log-library/cases/${GITHUB_WORKFLOW}/${{ matrix.format }}:/input \
-v $(pwd)/output:/output \
-v $(pwd)/plugins:/plugins \
-v $(pwd)/storage:/storage \
--entrypoint sh \
ubuntu:20.04 \
-c '/collector/collector --config /input/config/collector.yaml'

sleep 1 && docker logs agent

- name: Pause
run: sleep 10

- name: Stop Stanza
run: docker kill agent

- name: Dump Stanza Logs
run: docker logs agent

- name: Get Output
run: |
sudo cat output/out

- name: Get Expected Output
run: |
sudo cp log-library/cases/${GITHUB_WORKFLOW}/${{ matrix.format }}/expect/expect.json output/expect
sudo cat output/expect
70 changes: 70 additions & 0 deletions .github/workflows/plugin_apache_combined.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: apache_combined
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
format:
- "default"
steps:
- name: Clone stanza-plugins
uses: actions/checkout@v2

- name: Clone Log Library
uses: actions/checkout@v2
with:
repository: 'observIQ/log-library'
path: log-library
token: ${{ secrets.LOG_LIBRARY_ACCESS_TOKEN }}
ref: otel

- name: Create Output Directory
run: mkdir output

- name: Create Offset Database Directory
run: mkdir -p storage

- name: Install Collector
run: |
mkdir -p collector
curl -s -o collector/collector https://storage.googleapis.com/observiq-cloud/observiq-collector/0.0.10/collector_linux_amd64
chmod +x collector/collector

- name: Run Agent
run: |
docker run -d \
--name agent \
-v $(pwd)/collector:/collector \
-v $(pwd)/log-library/cases/${GITHUB_WORKFLOW}/${{ matrix.format }}:/input \
-v $(pwd)/output:/output \
-v $(pwd)/plugins:/plugins \
-v $(pwd)/storage:/storage \
--entrypoint sh \
ubuntu:20.04 \
-c '/collector/collector --config /input/config/collector.yaml'

sleep 1 && docker logs agent

- name: Pause
run: sleep 10

- name: Stop Stanza
run: docker kill agent

- name: Dump Stanza Logs
run: docker logs agent

- name: Get Output
run: |
sudo cat output/out

- name: Get Expected Output
run: |
sudo cp log-library/cases/${GITHUB_WORKFLOW}/${{ matrix.format }}/expect/expect.json output/expect
sudo cat output/expect
70 changes: 70 additions & 0 deletions .github/workflows/plugin_apache_common.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: apache_common
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
format:
- "default"
steps:
- name: Clone stanza-plugins
uses: actions/checkout@v2

- name: Clone Log Library
uses: actions/checkout@v2
with:
repository: 'observIQ/log-library'
path: log-library
token: ${{ secrets.LOG_LIBRARY_ACCESS_TOKEN }}
ref: otel

- name: Create Output Directory
run: mkdir output

- name: Create Offset Database Directory
run: mkdir -p storage

- name: Install Collector
run: |
mkdir -p collector
curl -s -o collector/collector https://storage.googleapis.com/observiq-cloud/observiq-collector/0.0.10/collector_linux_amd64
chmod +x collector/collector

- name: Run Agent
run: |
docker run -d \
--name agent \
-v $(pwd)/collector:/collector \
-v $(pwd)/log-library/cases/${GITHUB_WORKFLOW}/${{ matrix.format }}:/input \
-v $(pwd)/output:/output \
-v $(pwd)/plugins:/plugins \
-v $(pwd)/storage:/storage \
--entrypoint sh \
ubuntu:20.04 \
-c '/collector/collector --config /input/config/collector.yaml'

sleep 1 && docker logs agent

- name: Pause
run: sleep 10

- name: Stop Stanza
run: docker kill agent

- name: Dump Stanza Logs
run: docker logs agent

- name: Get Output
run: |
sudo cat output/out

- name: Get Expected Output
run: |
sudo cp log-library/cases/${GITHUB_WORKFLOW}/${{ matrix.format }}/expect/expect.json output/expect
sudo cat output/expect
71 changes: 71 additions & 0 deletions .github/workflows/plugin_apache_http.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: apache_http
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
format:
- "default"
- "observiq"
steps:
- name: Clone stanza-plugins
uses: actions/checkout@v2

- name: Clone Log Library
uses: actions/checkout@v2
with:
repository: 'observIQ/log-library'
path: log-library
token: ${{ secrets.LOG_LIBRARY_ACCESS_TOKEN }}
ref: otel

- name: Create Output Directory
run: mkdir output

- name: Create Offset Database Directory
run: mkdir -p storage

- name: Install Collector
run: |
mkdir -p collector
curl -s -o collector/collector https://storage.googleapis.com/observiq-cloud/observiq-collector/0.0.10/collector_linux_amd64
chmod +x collector/collector

- name: Run Agent
run: |
docker run -d \
--name agent \
-v $(pwd)/collector:/collector \
-v $(pwd)/log-library/cases/${GITHUB_WORKFLOW}/${{ matrix.format }}:/input \
-v $(pwd)/output:/output \
-v $(pwd)/plugins:/plugins \
-v $(pwd)/storage:/storage \
--entrypoint sh \
ubuntu:20.04 \
-c '/collector/collector --config /input/config/collector.yaml'

sleep 1 && docker logs agent

- name: Pause
run: sleep 10

- name: Stop Stanza
run: docker kill agent

- name: Dump Stanza Logs
run: docker logs agent

- name: Get Output
run: |
sudo cat output/out

- name: Get Expected Output
run: |
sudo cp log-library/cases/${GITHUB_WORKFLOW}/${{ matrix.format }}/expect/expect.json output/expect
sudo cat output/expect
70 changes: 70 additions & 0 deletions .github/workflows/plugin_cassandra.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: cassandra
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
format:
- "default"
steps:
- name: Clone stanza-plugins
uses: actions/checkout@v2

- name: Clone Log Library
uses: actions/checkout@v2
with:
repository: 'observIQ/log-library'
path: log-library
token: ${{ secrets.LOG_LIBRARY_ACCESS_TOKEN }}
ref: otel

- name: Create Output Directory
run: mkdir output

- name: Create Offset Database Directory
run: mkdir -p storage

- name: Install Collector
run: |
mkdir -p collector
curl -s -o collector/collector https://storage.googleapis.com/observiq-cloud/observiq-collector/0.0.10/collector_linux_amd64
chmod +x collector/collector

- name: Run Agent
run: |
docker run -d \
--name agent \
-v $(pwd)/collector:/collector \
-v $(pwd)/log-library/cases/${GITHUB_WORKFLOW}/${{ matrix.format }}:/input \
-v $(pwd)/output:/output \
-v $(pwd)/plugins:/plugins \
-v $(pwd)/storage:/storage \
--entrypoint sh \
ubuntu:20.04 \
-c '/collector/collector --config /input/config/collector.yaml'

sleep 1 && docker logs agent

- name: Pause
run: sleep 10

- name: Stop Stanza
run: docker kill agent

- name: Dump Stanza Logs
run: docker logs agent

- name: Get Output
run: |
sudo cat output/out

- name: Get Expected Output
run: |
sudo cp log-library/cases/${GITHUB_WORKFLOW}/${{ matrix.format }}/expect/expect.json output/expect
sudo cat output/expect
Loading