Refine your search:

I'm extracting a field say JVM (in props.conf). Now I want to write a search where i want JVM in one column and source in another. Just two columns. How can i achieve that?

asked 24 Apr '12, 01:00

ma_anand1984's gravatar image

ma_anand1984
56528
accept rate: 40%


2 Answers:
* | dedup JVM source | table JVM source

this will create a table with the unique combinations of JVM and source.

* | dedup JVM | table JVM source

will find unique values of JVM, and table them along with the corresponding source value.

/kristian

link

answered 24 Apr '12, 01:26

kristian.kolb's gravatar image

kristian.kolb
10.0k615
accept rate: 33%

1

Thank you Kristian. this time im sure gonna tell your wife ;)

(24 Apr '12, 01:32) ma_anand1984

*| table JVM source

link

answered 24 Apr '12, 01:05

MHibbin's gravatar image

MHibbin
3.8k312
accept rate: 31%

Thank you. How can i get only unique values

(24 Apr '12, 01:11) ma_anand1984
1

... what kristian said :)

(24 Apr '12, 01:34) MHibbin

thank you :)

(24 Apr '12, 01:44) ma_anand1984
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1,643
×264
×156
×52

Asked: 24 Apr '12, 01:00

Seen: 639 times

Last updated: 24 Apr '12, 01:44

Copyright © 2005-2012 Splunk Inc. All rights reserved.