Skip to content

Instantly share code, notes, and snippets.

View ankitdevnalkar's full-sized avatar
🗝️

Ankit Devnalkar ankitdevnalkar

🗝️
  • Liminal
  • Ahmedabad, India
  • 03:54 (UTC +05:30)
  • X @its0xankit
View GitHub Profile
This file has been truncated, but you can view the full file.
{
"cloud-audit-aws-2021.07" : {
"mappings" : {
"_meta" : {
"beat" : "filebeat",
"version" : "7.9.1"
},
"dynamic_templates" : [
{
"labels" : {
"signals-aws-cloudtrail" : {
"description" : "Pipeline for AWS CloudTrail Logs",
"processors" : [
{
"rename" : {
"field" : "message",
"target_field" : "event.original"
}
},
{
[2021-06-03T21:51:07,374][DEBUG][logstash.javapipeline ] Starting pipeline {:pipeline_id=>"main"}
[2021-06-03T21:51:07,383][DEBUG][logstash.outputs.elasticsearch][main] Normalizing http path {:path=>nil, :normalized=>nil}
[2021-06-03T21:51:07,403][WARN ][logstash.outputs.elasticsearch][main] ** WARNING ** Detected UNSAFE options in elasticsearch output configuration!
** WARNING ** You have enabled encryption but DISABLED certificate verification.
** WARNING ** To make sure your data is secure change :ssl_certificate_verification to true
[2021-06-03T21:51:07,413][INFO ][logstash.outputs.elasticsearch][main] Elasticsearch pool URLs updated {:changes=>{:removed=>[], :added=>[https://elastic:xxxxxx@es_host:9200/]}}
[2021-06-03T21:51:07,418][DEBUG][logstash.outputs.elasticsearch][main] Running health check to see if an Elasticsearch connection is working {:healthcheck_url=>https://elastic:xxxxxx@es_host:9200/, :path=>"/"}
[2021-06-03T21:51:07,468][WARN ][logstash.outputs.elasticsearch][main] Restored connection
{
"cloud-audit-azure-2021.04" : {
"mappings" : {
"properties" : {
"@timestamp" : {
"type" : "date"
},
"@version" : {
"type" : "text",
"fields" : {
PUT _ingest/pipeline/signals-azure-activitylogs-pipeline
{
"description" : "Pipeline for parsing azure activity logs.",
"processors" : [
{
"rename" : {
"field" : "azure",
"target_field" : "azure-eventhub",
"ignore_missing" : true
}
PUT _template/cloud-audit-azure
{
"index_patterns": "cloud-audit-azure*",
"version" : 50001,
"settings" : {
"index.refresh_interval" : "5s"
},
"mappings" : {
"properties" : {
"@timestamp" : {
@ankitdevnalkar
ankitdevnalkar / gist:6fbc7fcfe5c60a4d45f0be118f6ae04a
Created April 28, 2021 20:55
ingest pipeline for Azure activity log
PUT _ingest/pipeline/my-azure-activity-log
{
"my-azure-activitylogs-azure-shared-pipeline" : {
"description" : "Pipeline for parsing azure activity logs.",
"processors" : [
{
"set" : {
"field" : "cloud.provider",
"value" : "azure"
}
@ankitdevnalkar
ankitdevnalkar / extensions_temp_backup.txt
Created April 12, 2020 07:04 — forked from hackerscrolls/extensions_temp_backup.txt
Common temp and backup extensions for files and directories by twitter.com/hackerscrolls
.0
.1
.2
.3
.tar
.tgz
.zip
.tar.gz
.rar
.cache