Skip to content

Commit

Permalink
Copy apache from main to 2.x (opensearch-project#877)
Browse files Browse the repository at this point in the history
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
(cherry picked from commit 0b73b42)
  • Loading branch information
Swiddis authored and A9 Swift Project User committed Sep 28, 2023
1 parent 1ad3099 commit 9fac032
Show file tree
Hide file tree
Showing 11 changed files with 968 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auto_sync_commit_metadata.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"last_github_commit": "3ddada3a0d75f3db8eadc72d6973e7d148a556da",
"last_gitfarm_commit": "2b7262f8bdebe5938751121986aeab44775010b3"
"last_github_commit": "0b73b42ab61fcdb4aa3181db8d9fc3cb9d6b6542",
"last_gitfarm_commit": "f4ef15497b054e4fdf817e7d4a5663d101eea169"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "apache",
"version": "1.0.0",
"displayName": "Apache Dashboard",
"description": "Apache web logs collector",
"license": "Apache-2.0",
"type": "logs_apache",
"author": "OpenSearch",
"sourceUrl": "https://github.com/opensearch-project/dashboards-observability/tree/main/server/adaptors/integrations/__data__/repository/apache/info",
"statics": {
"logo": {
"annotation": "Apache Logo",
"path": "logo.png"
},
"gallery": [
{
"annotation": "Apache Dashboard",
"path": "dashboard1.png"
}
]
},
"components": [
{
"name": "communication",
"version": "1.0.0"
},
{
"name": "http",
"version": "1.0.0"
},
{
"name": "logs_apache",
"version": "1.0.0"
}
],
"assets": {
"savedObjects": {
"name": "apache",
"version": "1.0.0"
}
},
"sampleData": {
"path": "sample.json"
}
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
[
{
"observedTimestamp": "2023-07-21T16:52:08.000Z",
"http": {
"response": {
"status_code": 406,
"bytes": 6141
},
"url": "/strategize",
"flavor": "1.1",
"request": {
"method": "GET"
},
"user_agent": {
"original": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36",
"name": "Chrome",
"version": "114.0.0",
"os": {
"name": "Mac OS X",
"full": "Mac OS X 10.15.7",
"version": "10.15.7",
"device": {
"name": "Mac"
}
}
}
},
"attributes": {
"data_stream": {
"dataset": "apache.access",
"namespace": "production",
"type": "logs"
}
},
"event": {
"result": "success",
"category": "web",
"name": "access",
"type": "access",
"domain": "apache.access",
"kind": "event"
},
"communication": {
"source": {
"address": "127.0.0.1",
"ip": "42.204.151.42",
"geo": {
"country": "China",
"country_iso_code": "CN"
}
}
},
"body": "15.248.1.132 - - [21/Jun/2023:21:35:24 +0000] \"GET / HTTP/1.1\" 403 45 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"",
"traceId": "d09d293a27c9a754f2bf0196b5a1c9bc",
"spanId": "18ba0e515e42dad0",
"@timestamp": "2023-07-21T16:52:08.000Z"
},
{
"observedTimestamp": "2023-07-21T16:52:08.000Z",
"http": {
"response": {
"status_code": 406,
"bytes": 6141
},
"url": "/strategize",
"flavor": "1.1",
"request": {
"method": "GET"
},
"user_agent": {
"original": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36",
"name": "Chrome",
"version": "114.0.0",
"os": {
"name": "Mac OS X",
"full": "Mac OS X 10.15.7",
"version": "10.15.7",
"device": {
"name": "Mac"
}
}
}
},
"attributes": {
"data_stream": {
"dataset": "apache.access",
"namespace": "production",
"type": "logs"
}
},
"event": {
"result": "success",
"category": "web",
"name": "access",
"type": "access",
"domain": "apache.access",
"kind": "event"
},
"communication": {
"source": {
"address": "127.0.0.1",
"ip": "42.204.151.42",
"geo": {
"country": "China",
"country_iso_code": "CN"
}
}
},

"body": "15.248.1.132 - - [21/Jun/2023:21:35:24 +0000] \"GET / HTTP/1.1\" 403 45 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"",
"traceId": "d09d293a27c9a754f2bf0196b5a1c9bc",
"spanId": "18ba0e515e42dad0",
"@timestamp": "2023-07-21T16:52:08.000Z"
},
{
"observedTimestamp": "2023-07-25:52:08.000Z",
"http": {
"response": {
"status_code": 400,
"bytes": 6141
},
"url": "/strategize",
"flavor": "1.1",
"request": {
"method": "GET"
},
"user_agent": {
"original": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36",
"name": "Chrome",
"version": "114.0.0",
"os": {
"name": "Mac OS X",
"full": "Mac OS X 10.15.7",
"version": "10.15.7",
"device": {
"name": "Mac"
}
}
}
},
"attributes": {
"data_stream": {
"dataset": "apache.access",
"namespace": "production",
"type": "logs"
}
},
"event": {
"result": "success",
"category": "web",
"name": "access",
"type": "access",
"domain": "apache.access",
"kind": "event"
},
"communication": {
"source": {
"address": "127.0.0.1",
"ip": "42.204.151.42",
"geo": {
"country": "United States",
"country_iso_code": "US"
}
}
},
"body": "15.248.1.132 - - [21/Jun/2023:21:35:24 +0000] \"GET / HTTP/1.1\" 403 45 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36\"",
"traceId": "d09d293a27c9a754f2bf0196b5a1c9bc",
"spanId": "18ba0e515e42dad0",
"@timestamp": "2023-07-21T16:52:08.000Z"
},
{
"attributes": {
"data_stream": {
"dataset": "apache.error",
"namespace": "production",
"type": "logs"
}
},
"observedTimestamp": "2023-07-21T16:52:08.000Z",
"@timestamp": "2023-07-21T16:52:08.000Z",
"severity": {
"text": "cgid:error"
},
"communication": {
"source": {
"address": "127.0.0.1",
"ip": "42.204.151.42",
"geo": {
"country": "France",
"country_iso_code": "FR"
}
}
},
"event": {
"result": "error",
"category": "web",
"name": "error",
"type": "error",
"domain": "apache.error",
"kind": "error"
},
"traceId": "d09d293a27c9a754f2bf0196b5a1c9bc",
"spanId": "18ba0e515e42dad0",
"body": "[Sat Aug 12 04:05:51 2006] [notice] Apache/1.3.11 (Unix) mod_perl/1.21 configured -- resuming normal operations"
}
]
Loading

0 comments on commit 9fac032

Please sign in to comment.