This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description": "Pipeline for creating process_signature field", | |
"processors": [ | |
{ | |
"script": { | |
"lang": "painless", | |
"inline": "if (ctx.auditd?.log?.a0 != null) { ctx.process_signature = ctx.auditd.log.a0+'|'+ctx.auditd.log.a1+'|'+ctx.beat.name; }" | |
} | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST cef-*/_update_by_query | |
{ | |
"query": { | |
"term": { | |
"auditd.log.record_type": { | |
"value": "EXECVE" | |
} | |
} | |
}, | |
"script": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"primary_image": { | |
"id": 56871 | |
}, | |
"on_offer": false, | |
"discount_amount": 0, | |
"default_price": 20.99, | |
"rating": 4, | |
"description": """upper_material_clothing:95% polyester, 5% spandex;productmodel_length:24.5 " (Size 8);pattern:plain;model_height:Our model is 71.5 " tall and is wearing size 8;washing_instructions:do not tumble dry;washing_instructions:machine wash at 30°C;washing_instructions:Machine wash on gentle cycle;sleeve_length_option:sleeveless;correct_fit:regular;shirt_collar_type:Mandarin collar;clothing_length:standard""", | |
"discount_percentage": 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cyclops": { | |
"aliases": {}, | |
"mappings": { | |
"product": { | |
"properties": { | |
"attributes": { | |
"properties": { | |
"color": { | |
"type": "text", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Spotfire makes the following in order to identify column values for drill down | |
SELECT DISTINCT m1.applicant_ethnicity_name AS APPLICANTETHNICITYNAME FROM morgages_large m1 WHERE (m1.applicant_ethnicity_name IS NOT NULL) ORDER BY APPLICANTETHNICITYNAME | |
{ | |
"error": { | |
"root_cause": [ | |
{ | |
"type": "planning_exception", | |
"reason": "Fail to plan items {UnplannedExec[Distinct[]]@1:8}" |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"took" : 7, | |
"timed_out" : false, | |
"_shards" : { | |
"total" : 15, | |
"successful" : 15, | |
"skipped" : 0, | |
"failed" : 0 | |
}, | |
"hits" : { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"password": "secret/eden/sec19/es_users/kibana_user", | |
"roles": [ | |
"ama_app" | |
], | |
"full_name": "AMA App", | |
"email": "sa-admin@elastic.co" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import json | |
import yaml | |
import os | |
import sys | |
parser = argparse.ArgumentParser() | |
#es details | |
parser.add_argument('--ecs_migration_file', dest='ecs_migration_file', required=False, default='./ecs-migration.yml') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int[] HS() { | |
return new int[] { | |
(int) 0x6a09e667L, | |
(int) 0xbb67ae85L, | |
(int) 0x3c6ef372L, | |
(int) 0xa54ff53aL, | |
(int) 0x510e527fL, | |
(int) 0x9b05688cL, | |
(int) 0x1f83d9abL, | |
(int) 0x5be0cd19L |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
download_images.py | |
import argparse | |
import glob | |
import gzip | |
import imghdr | |
import urllib.request | |
import os | |
import ast | |
import multiprocessing |
OlderNewer