Guest User

mappings

a guest
Sep 1st, 2015
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.58 KB | None | 0 0
  1. {
  2. "logstash-2015.09.01" : {
  3. "mappings" : {
  4. "haproxy" : {
  5. "dynamic_templates" : [ {
  6. "string_fields" : {
  7. "mapping" : {
  8. "index" : "analyzed",
  9. "omit_norms" : true,
  10. "type" : "string",
  11. "fields" : {
  12. "raw" : {
  13. "index" : "not_analyzed",
  14. "ignore_above" : 256,
  15. "type" : "string"
  16. }
  17. }
  18. },
  19. "match" : "*",
  20. "match_mapping_type" : "string"
  21. }
  22. } ],
  23. "numeric_detection" : true,
  24. "_all" : {
  25. "enabled" : true
  26. },
  27. "properties" : {
  28. "@timestamp" : {
  29. "type" : "date",
  30. "format" : "dateOptionalTime"
  31. },
  32. "@version" : {
  33. "type" : "string",
  34. "index" : "not_analyzed"
  35. },
  36. "geoip" : {
  37. "dynamic" : "true",
  38. "properties" : {
  39. "location" : {
  40. "type" : "geo_point"
  41. }
  42. }
  43. },
  44. "haproxy_time" : {
  45. "type" : "string"
  46. },
  47. "httpinfo.size" : {
  48. "type" : "integer"
  49. },
  50. "httpinfo.status" : {
  51. "type" : "integer"
  52. },
  53. "timestamp" : {
  54. "type" : "date",
  55. "format" : "dateOptionalTime"
  56. }
  57. }
  58. },
  59. "_default_" : {
  60. "dynamic_templates" : [ {
  61. "string_fields" : {
  62. "mapping" : {
  63. "index" : "analyzed",
  64. "omit_norms" : true,
  65. "type" : "string",
  66. "fields" : {
  67. "raw" : {
  68. "index" : "not_analyzed",
  69. "ignore_above" : 256,
  70. "type" : "string"
  71. }
  72. }
  73. },
  74. "match" : "*",
  75. "match_mapping_type" : "string"
  76. }
  77. } ],
  78. "numeric_detection" : true,
  79. "_all" : {
  80. "enabled" : false
  81. },
  82. "properties" : {
  83. "@timestamp" : {
  84. "type" : "date",
  85. "format" : "dateOptionalTime"
  86. },
  87. "@version" : {
  88. "type" : "string",
  89. "index" : "not_analyzed"
  90. },
  91. "geoip" : {
  92. "dynamic" : "true",
  93. "properties" : {
  94. "location" : {
  95. "type" : "geo_point"
  96. }
  97. }
  98. },
  99. "timestamp" : {
  100. "type" : "date",
  101. "format" : "dateOptionalTime"
  102. }
  103. }
  104. },
  105. "logs" : {
  106. "dynamic_templates" : [ {
  107. "string_fields" : {
  108. "mapping" : {
  109. "index" : "analyzed",
  110. "omit_norms" : true,
  111. "type" : "string",
  112. "fields" : {
  113. "raw" : {
  114. "index" : "not_analyzed",
  115. "ignore_above" : 256,
  116. "type" : "string"
  117. }
  118. }
  119. },
  120. "match" : "*",
  121. "match_mapping_type" : "string"
  122. }
  123. } ],
  124. "numeric_detection" : true,
  125. "_all" : {
  126. "enabled" : false
  127. },
  128. "properties" : {
  129. "@fields" : {
  130. "properties" : {
  131. "logsource" : {
  132. "type" : "string",
  133. "norms" : {
  134. "enabled" : false
  135. },
  136. "fields" : {
  137. "raw" : {
  138. "type" : "string",
  139. "index" : "not_analyzed",
  140. "ignore_above" : 256
  141. }
  142. }
  143. },
  144. "pid" : {
  145. "type" : "long"
  146. },
  147. "program" : {
  148. "type" : "string",
  149. "norms" : {
  150. "enabled" : false
  151. },
  152. "fields" : {
  153. "raw" : {
  154. "type" : "string",
  155. "index" : "not_analyzed",
  156. "ignore_above" : 256
  157. }
  158. }
  159. },
  160. "timestamp" : {
  161. "type" : "string",
  162. "norms" : {
  163. "enabled" : false
  164. },
  165. "fields" : {
  166. "raw" : {
  167. "type" : "string",
  168. "index" : "not_analyzed",
  169. "ignore_above" : 256
  170. }
  171. }
  172. }
  173. }
  174. },
  175. "@message" : {
  176. "type" : "string",
  177. "norms" : {
  178. "enabled" : false
  179. },
  180. "fields" : {
  181. "raw" : {
  182. "type" : "string",
  183. "index" : "not_analyzed",
  184. "ignore_above" : 256
  185. }
  186. }
  187. },
  188. "@source" : {
  189. "type" : "string",
  190. "norms" : {
  191. "enabled" : false
  192. },
  193. "fields" : {
  194. "raw" : {
  195. "type" : "string",
  196. "index" : "not_analyzed",
  197. "ignore_above" : 256
  198. }
  199. }
  200. },
  201. "@source_host" : {
  202. "type" : "string",
  203. "norms" : {
  204. "enabled" : false
  205. },
  206. "fields" : {
  207. "raw" : {
  208. "type" : "string",
  209. "index" : "not_analyzed",
  210. "ignore_above" : 256
  211. }
  212. }
  213. },
  214. "@source_path" : {
  215. "type" : "string",
  216. "norms" : {
  217. "enabled" : false
  218. },
  219. "fields" : {
  220. "raw" : {
  221. "type" : "string",
  222. "index" : "not_analyzed",
  223. "ignore_above" : 256
  224. }
  225. }
  226. },
  227. "@tags" : {
  228. "type" : "string",
  229. "norms" : {
  230. "enabled" : false
  231. },
  232. "fields" : {
  233. "raw" : {
  234. "type" : "string",
  235. "index" : "not_analyzed",
  236. "ignore_above" : 256
  237. }
  238. }
  239. },
  240. "@timestamp" : {
  241. "type" : "date",
  242. "format" : "dateOptionalTime"
  243. },
  244. "@type" : {
  245. "type" : "string",
  246. "norms" : {
  247. "enabled" : false
  248. },
  249. "fields" : {
  250. "raw" : {
  251. "type" : "string",
  252. "index" : "not_analyzed",
  253. "ignore_above" : 256
  254. }
  255. }
  256. },
  257. "@version" : {
  258. "type" : "string",
  259. "index" : "not_analyzed"
  260. },
  261. "geoip" : {
  262. "dynamic" : "true",
  263. "properties" : {
  264. "location" : {
  265. "type" : "geo_point"
  266. }
  267. }
  268. },
  269. "tags" : {
  270. "type" : "string",
  271. "norms" : {
  272. "enabled" : false
  273. },
  274. "fields" : {
  275. "raw" : {
  276. "type" : "string",
  277. "index" : "not_analyzed",
  278. "ignore_above" : 256
  279. }
  280. }
  281. },
  282. "timestamp" : {
  283. "type" : "date",
  284. "format" : "dateOptionalTime"
  285. }
  286. }
  287. },
  288. "node-hapi" : {
  289. "dynamic_templates" : [ {
  290. "string_fields" : {
  291. "mapping" : {
  292. "index" : "analyzed",
  293. "omit_norms" : true,
  294. "type" : "string",
  295. "fields" : {
  296. "raw" : {
  297. "index" : "not_analyzed",
  298. "ignore_above" : 256,
  299. "type" : "string"
  300. }
  301. }
  302. },
  303. "match" : "*",
  304. "match_mapping_type" : "string"
  305. }
  306. } ],
  307. "numeric_detection" : true,
  308. "_all" : {
  309. "enabled" : false
  310. },
  311. "properties" : {
  312. "@timestamp" : {
  313. "type" : "date",
  314. "format" : "dateOptionalTime"
  315. },
  316. "@version" : {
  317. "type" : "string",
  318. "index" : "not_analyzed"
  319. },
  320. "data" : {
  321. "type" : "object",
  322. "dynamic" : "false"
  323. },
  324. "geoip" : {
  325. "dynamic" : "true",
  326. "properties" : {
  327. "location" : {
  328. "type" : "geo_point"
  329. }
  330. }
  331. },
  332. "log" : {
  333. "type" : "nested",
  334. "dynamic" : "false"
  335. },
  336. "tags" : {
  337. "type" : "string",
  338. "index_name" : "tag"
  339. },
  340. "timestamp" : {
  341. "type" : "date",
  342. "format" : "dateOptionalTime"
  343. }
  344. }
  345. },
  346. "syslog" : {
  347. "dynamic_templates" : [ {
  348. "string_fields" : {
  349. "mapping" : {
  350. "index" : "analyzed",
  351. "omit_norms" : true,
  352. "type" : "string",
  353. "fields" : {
  354. "raw" : {
  355. "index" : "not_analyzed",
  356. "ignore_above" : 256,
  357. "type" : "string"
  358. }
  359. }
  360. },
  361. "match" : "*",
  362. "match_mapping_type" : "string"
  363. }
  364. } ],
  365. "numeric_detection" : true,
  366. "_all" : {
  367. "enabled" : false
  368. },
  369. "properties" : {
  370. "@source_host" : {
  371. "type" : "string",
  372. "norms" : {
  373. "enabled" : false
  374. },
  375. "fields" : {
  376. "raw" : {
  377. "type" : "string",
  378. "index" : "not_analyzed",
  379. "ignore_above" : 256
  380. }
  381. }
  382. },
  383. "@timestamp" : {
  384. "type" : "date",
  385. "format" : "dateOptionalTime"
  386. },
  387. "@version" : {
  388. "type" : "string",
  389. "index" : "not_analyzed"
  390. },
  391. "geoip" : {
  392. "dynamic" : "true",
  393. "properties" : {
  394. "location" : {
  395. "type" : "geo_point"
  396. }
  397. }
  398. },
  399. "host" : {
  400. "type" : "string",
  401. "norms" : {
  402. "enabled" : false
  403. },
  404. "fields" : {
  405. "raw" : {
  406. "type" : "string",
  407. "index" : "not_analyzed",
  408. "ignore_above" : 256
  409. }
  410. }
  411. },
  412. "logsource" : {
  413. "type" : "string",
  414. "norms" : {
  415. "enabled" : false
  416. },
  417. "fields" : {
  418. "raw" : {
  419. "type" : "string",
  420. "index" : "not_analyzed",
  421. "ignore_above" : 256
  422. }
  423. }
  424. },
  425. "message" : {
  426. "type" : "string",
  427. "norms" : {
  428. "enabled" : false
  429. },
  430. "fields" : {
  431. "raw" : {
  432. "type" : "string",
  433. "index" : "not_analyzed",
  434. "ignore_above" : 256
  435. }
  436. }
  437. },
  438. "msg" : {
  439. "type" : "string",
  440. "norms" : {
  441. "enabled" : false
  442. },
  443. "fields" : {
  444. "raw" : {
  445. "type" : "string",
  446. "index" : "not_analyzed",
  447. "ignore_above" : 256
  448. }
  449. }
  450. },
  451. "path" : {
  452. "type" : "string",
  453. "norms" : {
  454. "enabled" : false
  455. },
  456. "fields" : {
  457. "raw" : {
  458. "type" : "string",
  459. "index" : "not_analyzed",
  460. "ignore_above" : 256
  461. }
  462. }
  463. },
  464. "pid" : {
  465. "type" : "long"
  466. },
  467. "program" : {
  468. "type" : "string",
  469. "norms" : {
  470. "enabled" : false
  471. },
  472. "fields" : {
  473. "raw" : {
  474. "type" : "string",
  475. "index" : "not_analyzed",
  476. "ignore_above" : 256
  477. }
  478. }
  479. },
  480. "tags" : {
  481. "type" : "string",
  482. "norms" : {
  483. "enabled" : false
  484. },
  485. "fields" : {
  486. "raw" : {
  487. "type" : "string",
  488. "index" : "not_analyzed",
  489. "ignore_above" : 256
  490. }
  491. }
  492. },
  493. "timestamp" : {
  494. "type" : "date",
  495. "format" : "dateOptionalTime"
  496. },
  497. "type" : {
  498. "type" : "string",
  499. "norms" : {
  500. "enabled" : false
  501. },
  502. "fields" : {
  503. "raw" : {
  504. "type" : "string",
  505. "index" : "not_analyzed",
  506. "ignore_above" : 256
  507. }
  508. }
  509. }
  510. }
  511. },
  512. "my_raw_log" : {
  513. "dynamic_templates" : [ {
  514. "string_fields" : {
  515. "mapping" : {
  516. "index" : "analyzed",
  517. "omit_norms" : true,
  518. "type" : "string",
  519. "fields" : {
  520. "raw" : {
  521. "index" : "not_analyzed",
  522. "ignore_above" : 256,
  523. "type" : "string"
  524. }
  525. }
  526. },
  527. "match" : "*",
  528. "match_mapping_type" : "string"
  529. }
  530. } ],
  531. "numeric_detection" : true,
  532. "_all" : {
  533. "enabled" : false
  534. },
  535. "properties" : {
  536. "@timestamp" : {
  537. "type" : "date",
  538. "format" : "dateOptionalTime"
  539. },
  540. "@version" : {
  541. "type" : "string",
  542. "index" : "not_analyzed"
  543. },
  544. "geoip" : {
  545. "dynamic" : "true",
  546. "properties" : {
  547. "location" : {
  548. "type" : "geo_point"
  549. }
  550. }
  551. },
  552. "message" : {
  553. "properties" : {
  554. "params" : {
  555. "type" : "object",
  556. "dynamic" : "false"
  557. }
  558. }
  559. },
  560. "params" : {
  561. "type" : "object",
  562. "dynamic" : "false"
  563. },
  564. "timestamp" : {
  565. "type" : "date",
  566. "format" : "dateOptionalTime"
  567. }
  568. }
  569. },
  570. "node-bunyan" : {
  571. "dynamic_templates" : [ {
  572. "string_fields" : {
  573. "mapping" : {
  574. "index" : "analyzed",
  575. "omit_norms" : true,
  576. "type" : "string",
  577. "fields" : {
  578. "raw" : {
  579. "index" : "not_analyzed",
  580. "ignore_above" : 256,
  581. "type" : "string"
  582. }
  583. }
  584. },
  585. "match" : "*",
  586. "match_mapping_type" : "string"
  587. }
  588. } ],
  589. "numeric_detection" : true,
  590. "_all" : {
  591. "enabled" : false
  592. },
  593. "properties" : {
  594. "@timestamp" : {
  595. "type" : "date",
  596. "format" : "dateOptionalTime"
  597. },
  598. "@version" : {
  599. "type" : "string",
  600. "index" : "not_analyzed"
  601. },
  602. "error" : {
  603. "type" : "string"
  604. },
  605. "geoip" : {
  606. "dynamic" : "true",
  607. "properties" : {
  608. "location" : {
  609. "type" : "geo_point"
  610. }
  611. }
  612. },
  613. "timestamp" : {
  614. "type" : "date",
  615. "format" : "dateOptionalTime"
  616. }
  617. }
  618. }
  619. }
  620. }
  621. }
Advertisement
Add Comment
Please, Sign In to add comment