I want to work with splunk in linux environment. I am using splunk version 5.0.3 and i have installed splunk app for linux nix 4.6. which version of linux will support these? Please help.
As per splunk, they support Linux kernel versions, not distributions. So if you have a Linux kernel 2.6 and up, any distribution should be fine.
When it comes to the question of "which version" of Linux that is a very broad question. It could mean - depending on the context - "which distribution", or it could mean "which release of distribution XYZ", and it might mean one to the questioner, and the other to the respondent. Better to ask the precise question you actually need to answer. Are you asking "which distro" or "which releases" of a specific distro? If you really are asking the broader question, then the precise answer would be a huge spreadsheet.
If the machine is capable of running an installation Splunk it is almost certainly capable of running the Splunk app, because the app consists of some generic Splunk configuration incorporating some user configurable file paths (although user configurable) augmented by pretty much standard GNU/Linux system tools (such as df and iostat).
Nix App's scripts are basic linux commands. However there are some packages which you may need to download on the linux server. Any of the linux distribution will work..